-
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
Nav sidebar: update MainDashboardButton slot usages #47702
Conversation
Caution: This PR affects files in the Editing Toolkit Plugin on WordPress.com D53240-code has been created so you can easily test it on your sandbox. See this FieldGuide page about developing the Editing Toolkit Plugin for more info: PCYsg-ly5-p2 |
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Webpack Runtime (~94 bytes added 📈 [gzipped])
Webpack runtime for loading modules. It is included in the HTML page as an inline script. Is downloaded and parsed every time the app is loaded. App Entrypoints (~13610 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~4567 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. Async-loaded Components (~7163 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. |
The test failures here are expected since the package changes have not been published yet. |
3a23eed
to
e7237af
Compare
I've just incorporated my feedback into this PR. It made more sense than leaving super specific feedback, but feel free to go ahead and change any of my changes. In particular I've removed the unit test and replaced it with the e2e spec. Now that Once GB 9.5 is deployed to edge stickered sites we should be able to add the |
bfce3a3
to
fe0452b
Compare
Looks like GB 9.6 is deployed to edge sites now so this can be looked at again. Do you have idea about rollout plans for this @vindl? Do we need to merge this close to simultaneously with the rollout of GB 9.6? |
I assumed that we'd have to rollout simultaneously with GB 9.6, but I tested it on edge sites and it still works as expected, which would indicate that it's not necessary? |
Closing in favor of #48729. |
Changes proposed in this Pull Request
Updates
MainDashboardButton
slot usages since it was moved frominterface
toedit-post
package. See WordPress/gutenberg#27213Note: This shouldn't be merged to Dotcom until the corresponding Gutenberg plugin version (9.5) is deployed to production.
Testing instructions