-
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
Site Management Panel: Update primary styling on buttons #94192
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 (~18 bytes added 📈 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~10 bytes added 📈 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. 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. |
Thanks, @allilevine! From this conversation p1725482783281379-slack-C03NLNTPZ2T I've updated the background color of the page numbers and the toggles and updated the "Switch to production site" button. |
Some feedback: The add site button should probably have a secondary button style: I think it's right to have the WP Admin button the primary button on the Overview page: But in subsequent tabs, I could see us making it the secondary button and allowing the primary button to be used elsewhere. Here are a few examples: 1)Hosting features tab for simple sites:
This almost looks like a text field instead of a button: Can we change the button copy on this to be just "Restore". That should make this feel more like a button. Then I might just make the Open PHPMyAdmin button the primary button. |
f6c2cf8
to
c69629e
Compare
7a2c1d9
to
167f6c4
Compare
Thanks, @davemart-in! I've updated the PR with your feedback. It's ready for another look. |
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.
Thanks for working through all of this! These changes are a good more in the right direction.
Related to https://github.com/Automattic/dotcom-forge/issues/8783
Proposed Changes
Why are these changes being made?
Testing Instructions
Pre-merge Checklist