Repository navigation
Description
What
Make creating a sub menu a top-level task in a Navigation Menu, as easy as adding a page or a link.
Today, sub menus are hard to find and hard to build. People have to know about "Add submenu link" in the list view's options menu, or know to insert a "Submenu" block. Neither looks like something you'd do to add a dropdown.
Once a sub menu exists, items go in one block at a time. Every sub menu item also has to be a link, so a dropdown can't simply have a heading like "Services" that opens it.
Why
A dropdown is one of the most common things people want in a menu. They think "I want a Services menu with these pages in it", not "I want a Navigation Submenu block with nested Navigation Link blocks".
Hiding the action behind an options menu or a block name means many people never find it. Those who do have to build it item by item.
How we'll know it's working
- In user tests, people can create a sub menu and add several items to it without help.
- People can build a dropdown with several items quickly, without the item-by-item work core needs today.
- People can create a dropdown heading that isn't a link.
- People can complete these tasks just as easily when editing a Navigation block inside a template or template part, using the List View tab in the block's inspector controls, as they can on the Navigation Menus screen in the Site Editor.
Ideas
- Navigation Menus: Replace "Add block" with a task-based inserter #86177 Replace "Add block" with a task-based inserter, which offers "Add a sub menu" alongside adding a page or a link
- Navigation Menus: Treat sub menus as first-class containers #86178 Treat sub menus as first-class containers
- Navigation Menus: Add a bulk add screen for menu items #86179 Add a bulk add screen for menu items, which also works inside a sub menu
- Dropping menu items on top of menu item should create a submenu #67821 Dropping a menu item on top of another creates a sub menu
- Navigation Menus: Allow sub menus that aren't links #86936 Allow sub menus that aren't links
Related
- Allow selecting from all available Pages when adding to Navigation block #66925 Allow selecting from all available Pages when adding to the Navigation block
User Stories
As a site owner, I want to see "Add sub menu" next to adding a page or a link, so I don't have to know where it's hidden.
As a site owner, I want a sub menu to act as a container I can add items to, so building a dropdown feels like filling a folder.
As a site owner, I want to add several pages to a sub menu in one go, so I don't have to add them one at a time.
As a site owner, I want a sub menu heading that isn't a link, so I can group items under a label like "Services".
Activity
[-]Navigation Menus: Make it easy to create and fill sub menus[/-][+]Navigation Menus: Make it quick and easy to group menu items into dropdowns[/+]