-
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
Rollback navigation areas #36604
Rollback navigation areas #36604
Conversation
0bd57df
to
565e773
Compare
Size Change: -509 B (0%) Total Size: 1.1 MB
ℹ️ View Unchanged
|
+1 to removing navigation areas. I have never really understood why they are needed. We already have menu locations. We could reuse those, instead of reinventing the wheel with this new watch of locating mechanism. What do we think of finding way to pin a menu block to a location? |
One option might be to move the block behind the gutenberg/packages/block-library/src/index.js Line 238 in abff0e0
If the plan is to remove Navigation Area altogether, I'd suggest the following path:
|
Once this is rebased we should be ready to rollback Navigation Areas. There now appears to be a consensus here that we should do that. |
Removing this from the board as #36727 is what we want for WP 5.9. (If I'm understanding things correctly.) |
With #36727 merged can this be closed? |
Would be good to get an update on this. I plan to remove the theme switching code as part of #36962, btw. I may also remove a few other things. |
Description
Related to #36524. This PR rolls back navigation areas.
Test steps
Confirm that all editors load properly, and the navigation block is being saved and rendered as expected.
Concerns
This block was shipped in Gutenberg 11.9, and now it's being reverted. It is hard to provide a fallback, too – it would essentially mean retaining the block. If Gutenberg is an "early preview" of the next WordPress, it should be okay to revert this PR. Still, I would like to get more opinions on that: @getdave @draganescu @noisysocks @talldan @mtias @youknowriad @jsnajdr @youknowriad @spacedmonkey @tellthemachines @azaozz @hellofromtonya.