Repository navigation
Components: Remove GlobalNotices, useGlobalNotices and globalNoticesStore - #55007
Conversation
…balNoticesStore My Jetpack now dispatches to the @wordpress/notices store directly, so nothing in the monorepo imports the deprecated exports any more.
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! |
Code Coverage SummaryThis PR did not change code coverage! That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷 |
CGastrell
left a comment
There was a problem hiding this comment.
LGTM! And tested well on the last places it was reachable ![]()
Proposed changes
My Jetpack now dispatches to the
@wordpress/noticesstore directly, so nothing in the monorepo imports the notices from components package any more. The component can be removed.The Jetpack notices was already turned into a wrapper over core notices store earlier, and only thing it was setting was
{ type: 'snackbar' }.Follow-up to #52193 and #52015 which did most of the migrations to core notices before this.
Related product discussion/links
Does this pull request change what data or activity we track or use?
Testing instructions