-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Skip migration logs in the Patterns screen #53626
Skip migration logs in the Patterns screen #53626
Conversation
Size Change: +13 B (0%) Total Size: 1.5 MB
ℹ️ View Unchanged
|
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.
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 cleaning this up @kevin940726
✅ Changes look good
✅ All locations where blocks are parsed for the patterns page in the site editor are covered
✅ Migration logs are skipped matching inserter
✅ Tested with multiple older themes
LGTM 👍
What?
A small fix to skip migration logs in the Patterns screen.
Why?
It's annoying to developers when we're parsing all the available patterns and showing migration logs for each of them.
How?
Use the unstable
__unstableSkipMigrationLogs
argument in theparse
function. It's also used in where we load patterns in the inserter.gutenberg/packages/block-editor/src/store/selectors.js
Line 2326 in 26cf1f8
Testing Instructions
Testing Instructions for Keyboard
Same as above.
Screenshots or screencast
N/A