Skip to content

feat(browser-starish): resource module ui changes - #58768

Merged
DominikB2014 merged 6 commits into
masterfrom
DominikB2014/resource-module-ui
Oct 25, 2023
Merged

DominikB2014 merged 6 commits into
masterfrom
DominikB2014/resource-module-ui

Conversation

@DominikB2014

@DominikB2014 DominikB2014 commented Oct 25, 2023 •

Copy link
Copy Markdown
Contributor

Bunch of changes to work towards addressing UI differences in #58723
Didn't want to do it all in one PR to make the review more managable

  1. add selector for JS/CSS and Images
image - This still needs to be hooked up to a image view.
  • This PR makes the change so that the JS/css filters on resource.script and resource.css
  1. Add resource size to the resource summary page
image - For some reason these are all 0's tho, need to look into that.
  1. Remove the uncompressed column as this was not possible to obtain using a timeseries.

  2. Add a render blocking resource toggle switch

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 25, 2023
@DominikB2014
DominikB2014 marked this pull request as ready for review October 25, 2023 18:03
@DominikB2014
DominikB2014 requested review from a team and AbhiPrasad October 25, 2023 18:03
@AbhiPrasad

Copy link
Copy Markdown
Contributor

On a wider screen the tab jumps to the opposite side of the page.

image

@DominikB2014

Copy link
Copy Markdown
Contributor Author

On a wider screen the tab jumps to the opposite side of the page.

image

Yikes, thanks for bringing that up @AbhiPrasad ! I'll look into it

@DominikB2014

Copy link
Copy Markdown
Contributor Author

@AbhiPrasad should be good now, thanks for bringing it up!

@AbhiPrasad

Copy link
Copy Markdown
Contributor

Should we still render the render blocking column? If we remove it we can get rid of the duplicate columns

@DominikB2014

Copy link
Copy Markdown
Contributor Author

Should we still render the render blocking column? If we remove it we can get rid of the duplicate columns

Yeah that's a good point now that we have a filter for it as well. I can make that change

@DominikB2014

Copy link
Copy Markdown
Contributor Author

@AbhiPrasad Removed the column!
image

isActive={filters[RESOURCE_RENDER_BLOCKING_STATUS] === 'blocking'}
toggle={handleBlockingToggle}
/>
Render Blocking

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to be translated.

I'm still 50/50 on the toggle UX, but lets ship this now and get design/product help later.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah agreed!

@DominikB2014
DominikB2014 merged commit b4d92b1 into master Oct 25, 2023
@DominikB2014
DominikB2014 deleted the DominikB2014/resource-module-ui branch October 25, 2023 20:10
@AbhiPrasad AbhiPrasad added this to the Resource Module Internal milestone Oct 27, 2023
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 12, 2023

This branch was successfully deployed

1 active deployment
Preview — e6052f5e Deployed Oct 25, 2023 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants