Active
Project:
Drupal core
Version:
main
Component:
navigation.module
Priority:
Normal
Category:
Plan
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2024 at 07:12 UTC
Updated:
7 Mar 2025 at 17:14 UTC
Jump to comment: Most recent
SDC is part of core now, so we can migrate the existing code to take advantage of SDC.
Plan and move all the components into their own SDCs.
The plan for Phase 2 still needs to be defined to refactor and improve the code in the best way possible.
There shouldn't be UI changes.
Comments
Comment #2
ckrinaNote: I haven’t added as components the following items:
I know @finnsky had ideas to plan Phase 2, so leaving this here so he can work on it.
Comment #3
quietone commentedComment #4
jon nunan commentedBy "components" are we talking Web Component custom elements, or just breaking the functionality up by SDC component?
I'd be a fan of exploring the first option as it would also allow some style encapsulation. I've started playing around with writing my front end themes with more a CUBE CSS (https://cube.fyi/) approach, but I find that often leads to conflicts with admin elements, so having admin elements outside the frontend css with Shadow DOM could be a nice win.
Comment #5
finnsky commentedThank you for your interest.
Specifically in this task we mean SDC Drupal components.
But of course we should keep in mind web components as a promising technology. Especially in the Navigation module because it should look the same in the context of any Drupal theme. (and any basic styles)
If you are interested in web components in the core, then I know two tasks where they can appear (sorry for the off-topic)
https://www.drupal.org/project/drupal/issues/3405822
https://www.drupal.org/project/drupal/issues/3100083
Comment #6
plopescComment #7
m4oliveiThis was added to #3421969: [PLAN] New Navigation and Top Bar to replace Toolbar Roadmap: Path to Stable as 'Should have'. Updating here to reflect that it is now a Navigation stable blocker.