Active
Project:
Drupal core
Version:
main
Component:
navigation.module
Priority:
Major
Category:
Plan
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Feb 2024 at 15:42 UTC
Updated:
26 Feb 2026 at 05:12 UTC
Jump to comment: Most recent
Comments
Comment #2
ckrinaThank you @ldonelan! I've updated the links to use the pattern for issue numbers so the state gets pulled automatically.
Comment #3
ckrinaComment #4
ckrinaComment #5
ckrinaMore issues added to define the plan better.
Comment #6
ckrinaComment #7
ckrinaComment #8
KeyboardCowboyComment #9
ckrinaComment #10
ckrinaComment #11
ckrinaComment #12
m4oliveiBumped #3412123: Revert to default in navigation layout settings from the UI down to "Could Have" as a lower priority non-MVP item, after discussion on the weekly Admin UI call. @ckrina to follow up with @laurii about this feature as well to get some clarity around it. More details in the ticket.
Comment #13
m4oliveiComment #14
KeyboardCowboyComment #15
ckrinaAdding #3432173: Decide strategy to customize or provide 1st level menu items' icons as a Stable Must Have.
Comment #16
ckrinaComment #17
KeyboardCowboy@ckrina, I reorganized tickets based on our discussion. Let me know if this looks OK or if you'd like a different format.
Comment #18
ckrinaUpdating with completed, specially to get a sense of missing tasks for the beta release.
Comment #19
catchFrom looking at https://git.drupalcode.org/project/navigation/-/commit/17970de1ed6b4129d... it looks like there is not yet a caching strategy for the menu links in the navigation module.
The existing toolbar has a very developed caching system already, this was implemented in #1814932: Caching strategy for D8 toolbar, #1137920-303: Fix toolbar on small screen sizes and redesign toolbar for desktop and #1805054: Cache localized, access filtered, URL resolved, and rendered menu trees and has not significantly changed since.
It was necessary to add this because rendering a full tree of admin menu links is very expensive both in terms of server-side processing (hundreds of milliseconds every request) and page weight (potentially hundreds of extra kb every request).
I think we need an issue to port this logic across from the existing toolbar.
Comment #20
ckrinaThanks @catch! I've created the issue to keep track of it #3438976: Implement a caching strategy for the menu links and added it as stable blocker.
Comment #21
ckrinaMoving #3426606: [META] Implement the final design system to done, and removing #3391723: [PLAN] Accessibility review for new Navigation bar from beta blocker as the reviews have started. Any issue found will be added as Stable blocker if necessary.
Also adding #3428036: Remove postcss-px-to-rem from Navigation as it'd be a really nice cleanup to have.
Comment #22
ckrinaAdded a few more issues.
Comment #23
ckrinaRemoving the Beta section since everything needed for beta has been done and we're about to launch beta 3.
I moved #3391723: [PLAN] Accessibility review for new Navigation bar to the Should have, and if any Accessibility bug found becomes an Stable blocker it'll be included into the "Must have" section.
Comment #24
ckrinaUpdated with new stable blockers and removed fixed issues.
Comment #25
ckrinaAdding #3441576: Add a new "Navigation user links" menu in favor of hardcoded links in NavigationUserBlock as stable blocker.
Comment #26
penyaskitoAdded #3443607: For RTL languages, Navigation menu should show on the right. IMHO is a "must" for stable, but we would want to check with RTL languages' native speakers.
Comment #27
ckrinaAdding a new stable blocker: #3443830: Navigation layout Drag is not working in some browers.
Comment #28
lauriiiAdding #3443843: Mark Navigation as beta experimental as a reference for beta stability sign-offs.
Comment #29
ckrinaComment #30
aaronmchale#3432173: Decide strategy to customize or provide 1st level menu items' icons appears twice under the must have list, not sure if that was an oversight or if one of those was meant to be a link to a different issue?
Comment #31
ckrinaCleaning up the Stable blockers.
Comment #32
ckrinaMoving #3396174: The toolbar should be usable without JS to the Should have section.
Comment #33
KeyboardCowboyComment #34
KeyboardCowboyComment #35
ckrinaComment #36
plopescAdded #3447837: Special Menu items are rendered as empty links in navigation
Comment #37
ckrinaAdding #3458216: [META] Migrate Navigation to SDC and removing completed tasks.
Comment #38
ckrinaComment #39
ckrinaComment #40
anruetheredit: Sorry, misread the changes. All good.
Comment #41
ckrinaUpdating with the issues for core modules that need integrations.
Comment #42
ckrinaComment #43
ckrinaComment #44
ckrinaRemoving fixed issues.
Comment #45
plopescComment #46
m4oliveiComment #47
m4oliveiComment #48
plopescComment #49
ckrinaRemoving the icons from stable blocker. We want to have it but it shouldn't block Navigation from stable.
Comment #50
ckrinaMoving another one into the should have. This is not a critical action for the navigation itself, only if you want to customize it. It should get done, but not block this becoming stable.
Comment #51
ckrinaRemoving a fixed already issue.
Comment #52
anruetherThere are two more issues that have originally been reported on in the feedback issue, that have not been prioritized yet:
Comment #53
catch#3478224: Provide Config Action to add new blocks to navigation from recipes looks to me like it wouldn't need to be stable blocking - it's not user-facing and it won't require any API deprecations or storage changes, just a small API addition. I realise it might be Drupal CMS blocking but that's different thing to module stability.
Comment #54
m4oliveiAdding a couple of issues marked stable blocker that were not in the issue summary here under "Must Have".
Comment #55
ckrinaUpdating Top Bar Navigation blockers.
Comment #56
m4oliveiAdded #3480321: Second level menu items can't be reached if they have children under "Should have"
Comment #57
ckrinaRemoving fixed issues! :D
#3478224: Provide Config Action to add new blocks to navigation from recipes
Comment #58
gábor hojtsyUpdated top bar explanation based on discussion with @ckrina
Comment #59
plopescComment #60
m4oliveiAdded #3485435: Make Layout Builder Create Inline blocks logic optional as Must have.
Comment #61
m4oliveiRemoved #3485435: Make Layout Builder Create Inline blocks logic optional per conversation in Slack from Must have, dropped to Should have.
Comment #62
catchWith #3493406: Add render caching for the navigation render array RTBC, I am starting to think we could skip doing #3438976: Implement a caching strategy for the menu links, especially if we can figure out #3493911: Add a CachedPlaceholderStrategy to optimize render cache hits and reduce layout shift from big pipe. We probably want to check exactly how much HTML we're sending to the browser, but otherwise those two issues should speed things up considerably.
Comment #63
catchDiscussed the above a bit more with @plopsec and swapped out #3438976: Implement a caching strategy for the menu links for #3493911: Add a CachedPlaceholderStrategy to optimize render cache hits and reduce layout shift from big pipe in the issue summary.
Comment #64
ckrinaAdding #3415572: Adjust how Help link and Content links are removed from the Administration menu for the Navigation bar as a should have.
Comment #65
plopescComment #66
ckrinaAdding #3499783: Evaluate if the Top Bar entity title needs to show extra info as a should to have.
Comment #67
ckrinaCleaning up Stable blockers to simplify the review of missing work for stable release.
Comment #68
lauriiiAdding #3486720: Styling of front theme affects styling of navigation buttons to the top of the should have list since it has a major DX impact.
Comment #69
ckrinaRemoving fixed issues.
Comment #70
ckrinaAdd un-tracked issues marked as Navigation blockers. Let's discuss if they are really blocking the release.
Comment #71
catchRemoving #3493911: Add a CachedPlaceholderStrategy to optimize render cache hits and reduce layout shift from big pipe because that's all done except for the big pipe-agnostic js follow-up which is in progress!
Really happy with how that all turned out - we can drop the old complex toolbar menu tree caching client side code, solving all the problems that tried to solve without introducing new ones like flicker, and also it's opened up significant new performance improvements for core at the same time.
Comment #72
lauriiiAdding #3505124: The icon for the more actions button is not visible to the must haves since it's a major bug that makes it really hard to find actions besides "Edit".
Comment #73
ckrinaRemoving #3465295: Integrate Top Bar Navigation with Contextual editing from stable blcokers.
Comment #74
plopescBumping #3415572: Adjust how Help link and Content links are removed from the Administration menu for the Navigation bar to Stable Blocker.
Comment #75
m4oliveiAdding the following recent stable blockers:
Downgrading priority of #3442317: Fix issues with Navigation "safe triangle" positioning to 'Could Have'.
Added the following under Top Bar:
Replaced #3486720: Styling of front theme affects styling of navigation buttons with #3511280: Front-end theme styles can bleed into Navigation
Added the following to 'Should have':
Comment #76
catchJust bumping this because the issue summary issue status filter could use a refresh to see what's committed vs. not.
Comment #77
catchMoving #3511612: Local task name expectation in getFeaturedPageActions is fragile for determining Top Bar featured actions to should have. That leaves one current stable blocker, which needs reviews.
Comment #78
ckrinaRemoving closed stable blockers (and issues from other sections) to make it easy to parse what's missing.
Comment #79
ckrinaRemoving closed stable blockers (and issues from other sections) to make it easy to parse what's missing.
Comment #80
plopescAdded references to #3516887: Allow to customize Navigation icons and #3509310: The AdminToolbar(Navigation) items are not clickable when we're on the navigation layout page.
Comment #81
gábor hojtsyIs there a plan to resolve this somehow? I don't see a reference above to settings tray.
Comment #82
poker10 commentedI think Gin already supressed the message in: #3493143: Temporarily suppress toolbar & navigation warning . It was a workaround, because as per comment #7 from #3489361: Status warning: Toolbar and Navigation modules are both installed, it was not possible to uninstall toolbar module yet (not sure if that is still true these days).
Comment #83
lauriiiI don't think the dependency between Settings Tray and Toolbar is fundamental so we could most likely get rid of that if we want to. At the same time, Settings Tray is at ~4-5% usage per #3158669: [policy, no patch] By default deprecate non-experimental modules that are used by less 5% of sites before the next major version. We should probably consider moving Settings Tray to contrib with Toolbar. People using it alongside Toolbar could continue using their current setup from contrib.
Comment #84
gábor hojtsyIf people don't use settings tray then it is indeed better to move it out of core than to invest time into making Navigation and Settings Tray compatible somehow. Crossposting this info on #3484850: [meta] Tasks to deprecate Toolbar module.
Comment #85
ressaI prefer the administration menu to be at the top of the screen, and it looks like a vertical menu on the left side of the screen is the only option in the new Navigation ... The same position as in WordPress, which I am a not a fan of, since you have to hover, as well as click, and then click some more, to access a common task, such as node display configuration.
Ideally, it should be like Admin Toolbar, where you hover your way over menu items, all the way to the destination. See #3439012: Usability review and feedback from testing for more feedback.
Is there an issue for switching the position of the Navigation menu from the side, to the top?
Also, Admin Toolbar users are uncertain what this means for that project, see #3449462: Future of Admin Toolbar if Toolbar is removed from Drupal core. Maybe Admin Toolbar could be restructured, and built on top of Navigation, instead of the Toolbar module? :)
Comment #86
gábor hojtsyContributed modules can still provide toolbars at any other location with any other kind of interaction :)
Comment #87
catchComment #88
ressaIt is a degradation in my opinion, and loss of a fundamental feature in Drupal core, to not offer an administration menu, which supports horizontal orientation.
The current Toolbar is flexible, and offers both a horizontally oriented menu at the top, while allowing the user to switch to a vertical orientation, in the left side, by clicking the arrow icons.
The new Navigation only has a menu in the left side, like in WordPress.
I think the new Navigation likewise should offer both a horizontally oriented menu at the top, as well as a vertical orientation. Where has this decision to shoehorn the user into using a left side menu been discussed, and on what basis was it decided?
Is there an issue?
PS. Yes, I know that contrib modules can extend Drupal core modules :)
Comment #89
poker10 commentedI am curious why this issue is not considered as a stable blocker: #3480321: Second level menu items can't be reached if they have children? A lot of contribs add new menu items to the Administration menu - for example Scheduler - and due to this Navigation module's limitation, it is not then possible to access some admin pages (see #3495134: Disable Scheduler's views for taxonomy terms and media items because they are extraneous and break Navigation).
Also I am not sure if that is a known issue (did not have time to search it yet, as I run into this just today), but on a clean Drupal 11.x, if you enable Navigation and then Workspaces UI, the site will crash with an error:
//edit - found it #3511374: Core Navigation + Workspace + Workspace UI modules crashes Drupal Installation . I think this should also be a stable blocker.
Comment #90
penyaskito@ressa #3364258: [meta] Improve administration navigation. 2+ years of work with actual UX research, several DrupalCamp/DrupalCon sessions, including being highlighted in several Driesnotes. Didn't come out of the blue precisely.
Comment #91
catchI've added the two issues brought up by @poker10 as stable blockers.
I'm personally not sure about #3480321: Second level menu items can't be reached if they have children- can't you navigate via the admin page like admin/config itself, but haven't tried to reproduce directly yet, but we can always remove it from the blocker list again if it's determined not to be one.
Comment #92
ckrinaSome cleaning up: removing #3391723: [PLAN] Accessibility review for new Navigation bar since the issues found there are the ones that need to be listed. Also moving #3396174: The toolbar should be usable without JS into a nice to have since it not that realistic to run Drupal without JS anymore.
And I tended to agree that #3480321: Second level menu items can't be reached if they have children wasn't a stable blocker but a lot of users are claiming it to be an important missing requirement and is almost there.
Comment #93
ckrinaRemoving #3511374: Core Navigation + Workspace + Workspace UI modules crashes Drupal Installation from the Stable blockers per @catch comment in the issue. Added it as a nice to have.
Comment #94
poker10 commentedSorry, I overlooked the specific error in the #3511374, but originally I meant this new issue: #3523705: InvalidComponentException when workspaces ui is installed as a stable blocker in #89.
Comment #95
poker10 commentedComment #96
catchComment #97
catchAdding #3518662: Use a lazy builder/placeholder for the top bar to should haves.
Comment #98
kentr commentedAdded #3540337: Improve visibility of More actions menu button as a child issue. It's different from #3505124: The icon for the more actions button is not visible.
I was uncertain whether I should change the IS here.
Comment #99
catchJust committed #3452724: Navigation side bar and top bar should have appropriate aria labels to 11.x and 11.3.x which means the last known stable blocker is fixed.
I'm a bit unsure about #3511612: Local task name expectation in getFeaturedPageActions is fragile for determining Top Bar featured actions so will ping UX/product managers about that one.
While we're doing final triage though, I think we need issues for the following:
1. Mark navigation as stable (remove the experimental flag, update d.o docs)
2. Use navigation in the standard and umami profiles.
3. Deprecate toolbar module (and the various sub-issues that will be required to do that).
Comment #100
catchComment #101
ckrinaAdded #3505182: An entity without a label causes an uncaught exception for the navigation:title component and removed the last stable blocker.
Comment #102
catchAdding #3541688: Focus does not move to submenu when opened by enter or space key to should haves.
Comment #103
quietone commentedAdding the issue for the Documentation Core Gate requirement to the must have because that is where it really belongs, even though it was overlooked. Obviously not have up to date documentation is not ideal for the community but it also caused changes to standard practice when creating the release note for a new extension. Normally, the release note would direct to the online documentation, which makes for a concise note. However, since this was not possible xjm spent time creating a unique note which, of course, needed to be reviewed. It is unfortunate when we all miss requirements.
Comment #104
kentr commentedI think #3565213: Adjust contextual CSS for navigation module reset CSS is technically a contextual module issue, but IMO should be fixed before Navigation is added to Standard.
Also, maybe the title of this issue should now be "[PLAN] New Navigation and Top Bar to replace Toolbar Roadmap: Path to Standard". 🙂
Comment #106
gábor hojtsyBumping the priority tag to current next version :)
Comment #107
quietone commentedThere is now basic documentation. Improvements to it are welcome.
Comment #108
quietone commentedAll issues tagged as "Navigation stable blocker" are fixed