Skip to content
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

Navigation Block: develop a content-only representation #65699

Open
mtias opened this issue Sep 27, 2024 · 2 comments
Open

Navigation Block: develop a content-only representation #65699

mtias opened this issue Sep 27, 2024 · 2 comments
Labels
[Block] Navigation Affects the Navigation Block [Block] Pattern Affects the Patterns Block [Feature] Navigation Menus Any issue relating to Navigation Menus

Comments

@mtias
Copy link
Member

mtias commented Sep 27, 2024

There should be a way to make edits to your menu while on content-only mode. The canvas edits should be restricted but the inspector menu should be reachable.

We should explore exposing the "menu list view" in the inspector of template parts or patterns that contain a menu when the user is on content-only mode.

There should be a clear way to reach that panel from the toolbar of the nav block and the template/pattern. Could be an "edit menu" that just toggles the inspector with the tab for the menu open.

@mtias mtias added [Block] Navigation Affects the Navigation Block [Block] Pattern Affects the Patterns Block [Feature] Navigation Menus Any issue relating to Navigation Menus labels Sep 27, 2024
@youknowriad
Copy link
Contributor

How do you see this kind of feature being "declared" for block types. In other words, until now, block types were not aware about whether they are in "content only" mode or not. We only detected blocks that have a "content" role attribute and allowed some specific behavior there. How do you see that evolving, should block types receive some kind of isSection flag and enable/disable behavior.

@mtias
Copy link
Member Author

mtias commented Sep 27, 2024

I don't think we should abstract this too soon. The navigation block already has a special tab in the inspector, so perhaps it's part of formalizing that view down the road. Conceptually, I don't think blocks should be made aware of "modes".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block [Block] Pattern Affects the Patterns Block [Feature] Navigation Menus Any issue relating to Navigation Menus
Projects
None yet
Development

No branches or pull requests

2 participants