-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
This issue captures ongoing work for Navigation project.
Here are some suggested guiding principles for work on this project.
This isn't a tracking Issue for a specific WordPress release. Rather it is somewhere to track the high level issues that need to be addressed for Navigation within the Editor as a whole.
This Issue is based on an assessment of user feedback and community defined goals for the wider Navigation system.
Bugs should be reported with the [Type] Bug
label and added directly to the Navigation Project Board.
High Priority
The following Issues are considered essential to the next iteration of block-based navigation menus.
Managing and editing menus
- Navigation Block: develop a content-only representation #65699
- NavigationLink: make the URL dynamic for links to Posts #18345
- Make it easier to create new Pages directly from Navigation block #66923
- Allow selecting from all available Pages when adding to Navigation block #66925
- Allow selecting draft Pages using the Link UI #29395
- Utilise dataviews to improve Navigation Menu management in the Editor #65828
- Provide more choice when manually creating a new Navigation Menu #56245
- Improve ability to find and insert link to Homepage within Link UI within Nav block #50171
- Better communicate which Menu is being used by the Navigation block #68177
- Dropping menu items on top of menu item should create a submenu #67821
- Consider Bulk Add Mode for Navigation #50831
- Improve relevance and ordering of search results in Link UI and Navigation block #38121
- Navigation Focus Mode: Ability to access/edit Navigation Post items in isolation #37950
Styling & Customisation
- Ability to style current menu item #42299
- Improve Navigation block color controls #44712
- Improve theme.json support for Navigation block #39052
- Allow Submenus in Navigation Overlay to respect "Toggle on Click" #44346
- Navigation Submenus should have better vertical display options #70832
- core/navigation-submenu: Cannot override styles via theme.json #70320
- Home link block doesn't use
current-menu-item
class when on front page #34770
Responsive (inc. Mobile Overlay)
- Ability to customise Navigation block "mobile" overlay #39142
- Customise and control the Navigation block at different screen sizes ("responsive") #49156
- Allow Submenus in Navigation Overlay to respect "Toggle on Click" #44346
Foundational work
- Nav block use slug to reference Navigation Menu #45512
- Find "most suitable" Navigation Menu fallback based on Nav block insertion location context #56247
- Improve fallback behaviour
- Improve Navigation block tests #44920
- Improve Navigation block loading speed #49155
- Refactor Navigation block
render
function to be open for extension #52470
Normal Priority
The following issues are "nice to haves" but are unable to be considered for the next iteration of the block.
- Navigation block overlay does not close when using anchor # custom links #71322
- Navigation: Make 'Manage menus' button link to site-editor.php?postType=wp_navigation #62257
- Add ability to style and/or use a custom icon for responsive menu #37930
- Add Post Type Archive variation to
core/navigation-link
block #31452 - Navigation on Browse Mode: Add pages #50580
- Communicate sync'd nature of Navigation blocks #49158
- Nav block accessibility improvements #38786
- Only allow a Classic Menu to be imported once (avoid duplication) #43856
- Add 'categories block' to a menu item in the 'navigation block'. Automattic/wp-calypso#65012
- Automatically insert a Page List block on insertion of Submenu block #42598
- Tidy and refactor Navigation block codebase #44921
- Auto-inserting Blocks #39439 - ability to programmatically insert blocks at run time
- Introduce "Browser" and surface main navigation UI #36667
- Navigation Block: Toolbar overlaps with submenu links when opening sidebar or using smaller viewport #40382
- Navigation block: Delay creating entities until changes are saved #40050
- Home link block doesn't use
current-menu-item
class when on front page #34770 - Enable Login/out block in the Navigation block #38512
- Navigation: Loading the fallback creates multiple wp_navigation CPTs #46194
- Allow selecting the default
core/navigation-link
variant in thecore/navigation
block #50982
Backlog
The following are issues we are aware of which may be addressed in the future.
- Need a way to produce menus with custom markup structure #56090
- [Block] Navigation: Long Menu Titles do not break-word in order to wrap within Columns block #52298
- Ability to save Nav blocks locally without creating a wp_navigation post. #38278
- Change the navigation menu add block button tooltip #39602
- Home Link: Allow setting as icon-only #31688
- Nav block/editor - can't save a post-format #31348
- Navigation block: Hide more than N items #27131
- Only show one + at a time on link adding #34962
- Navigation Block: Make it clearer how to delete a Link Block without a link #30116
- Navigation block: Add support for separators between menu items. #23293
- Make the 'Insert Before' / 'Insert After' options work for block lists that don't allow the default block type #23603
- Improve experience of using social icons in the navigation block #35261
- Navigation block: Hide more than N items #27131
- Spacer markup could be more flexible #33018
- Navigation block: Make it easier to add a spacer block #41010
- Navigation block: Make nested menus fully customizable (Megamenus) #23745
- Navigation block: allow extending the list of allowed inner blocks #31387
- List block: allow transformation of text links lists into navigation blocks #31733
- Avoid automated behaviours in the Navigation block when in preview mode #45887