-
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
Block Editor: Add names for the 'editor.BlockListBlock' filter HoCs #50513
Conversation
Size Change: +44 B (0%) Total Size: 1.38 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.
Flaky tests detected in c5839fa. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4937225181
|
1c83737
to
c5839fa
Compare
What?
PR adds missing display names for the
editor.BlockListBlock
filter HoCs.Why?
While debugging #50292, I noticed that not all applied filter HoCs have display names. The display names make it easier to see which filters are applied to the blocks in the editor.
P.S. I hope, eventually, we'll get rid of these filters in favor of a semantic API(s).
How?
The
createHigherOrderComponent
accepts HoC display names as the second argument.Testing Instructions
editor.BlockListBlock
filters.Screenshots or screencast