-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sites dashboard - remove default filter and dummy column hack #94253
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~46 bytes removed 📉 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's working as advertised!
Related to # #93815
Proposed Changes
(more 🟥 than 🟩 , 🥳 )
BEFORE: When the page is loaded the 'all sites' filter is active, even after reloaded after resetting the filters.
AFTER: The page loads with no filters applied if there are no filter is set (such as through url query params).
The above shows a standard filter - when the page is loaded, the filter bar is empty. The user must select to add the filter from the status column header or from the filter icon next to the search input. Once cleared, the filter bar disappears.
We also have the option to use a primary filter, but this seems less fitting (below). In this case, when the page is loaded the filter bar is present with the 'status' item regardless of there being no filter set. Clearing filters does not remove this and it is always present:
(currently not used for this PR)
Why are these changes being made?
Testing Instructions
Pre-merge Checklist