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

Move "Expanded" option for Menu Items to Block settings #5428

Open
quicksketch opened this issue Jan 2, 2022 · 1 comment
Open

Move "Expanded" option for Menu Items to Block settings #5428

quicksketch opened this issue Jan 2, 2022 · 1 comment

Comments

@quicksketch
Copy link
Member

quicksketch commented Jan 2, 2022

Description of the need

Follow-up to #2782 and #5397.

Menu items have forever had the vague "Expanded" option, which affects the display of menu links when displayed in a hierarchical tree. Note that the "Expanded" option does not affect the drop-down menu display and can also be overridden using the "Show all menu links" option.

Proposed solution

Instead of having "Expanded" options at the menu link level, which only applies in very specific situations, move the settings for expanding menu links to the block level, and only show this setting when using the "Hierarchical Tree" display option:

image

The obvious downside of this approach would be that if you place the same menu block in multiple places on the site, you would need to reconfigure the list of expanded links multiple times, unless you used a contrib module like mini_layouts to reuse the same block configuration across multiple layouts.

@ghost
Copy link

ghost commented Feb 12, 2022

@quicksketch Is the idea that choosing "Expanded links" would then show you all links and let you select which ones should be expanded? How would the UI for this look (considering some menus can be quite large...)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant