-
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
Limit Global Styles: Update the Pre-Save Notice #70525
Conversation
This PR modifies the release build for editing-toolkit To test your changes on WordPress.com, run To deploy your changes after merging, see the documentation: PCYsg-mMA-p2 |
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
c73ffc5
to
a5ad3ee
Compare
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.
This isn't working for me 🤔 The 'Are you ready to save' prompt displays but it does not display the warning about needing to upgrade for global styles. I do have the sticker enabled.
The console says
Uncaught TypeError: path is undefined
trackGlobalStylesMenuSelected wpcom-block-editor-global-styles-menu-selected.js:18
__WEBPACK_DEFAULT_EXPORT__ delegate-event-tracking.js:116
__WEBPACK_DEFAULT_EXPORT__ delegate-event-tracking.js:111
delegateCaptureListener tracking.js:865
Console message comes when switching to e.g. colours in the GS menu, so it's probably unrelated. I get the same behaviour on blog 212978125 and 212976996 when testing via my sandbox. Weirdly if I checkout out the branch locally and do a |
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.
Tried again after nuking my dev ETK and it works. I think earlier I had some dev ETK content on my sandbox and that was being used rather than the sandbox install (which goes to prod). sorry.
This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/7650133 Thank you @rcrdortiz for including a screenshot in the description! This is really helpful for our translators. |
Translation for this Pull Request has now been finished. |
Proposed Changes
Fixes: https://github.com/Automattic/dotcom-forge/issues/1221
Testing Instructions
install-plugin.sh editing-toolkit update/gs-pre-save-panel-notice
wpcom-limit-global-styles
blog sticker to the new site:add_blog_sticker( 'wpcom-limit-global-styles', 'test', <YOUR_USERNAME>, <YOUR_BLOG_ID>)
.Pre-merge Checklist
Related to #