Problem/Motivation
When using the Dashboard module with Layout Builder, the theme negotiator does not account for dashboard-specific routes. As a result, the wrong theme (typically the front-end theme) is loaded when accessing Dashboard layout pages. This causes inconsistencies in styling, layout issues, or even administrative UI problems.
Steps to reproduce
- Enable the Dashboard module.
- Access the dashboard layout builder page.
- Notice that the incorrect theme is used instead of the admin theme, breaking visual consistency and sometimes functionality.
Proposed resolution
Update the VarbaseLayoutBuilderThemeNegotiator logic to include dashboard layout routes as valid candidates for theme negotiation.
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ✅ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ➖ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ✅ Code review from 1 Varbase core team member
- ✅ Full testing and approval
- ✅ Credit contributors
- ✅ Review with the product owner
- ✅ Update Release Notes and Update Helper on new feature change/addition
- ✅ Release varbase-10.1.0-alpha2
, varbase_layout_builder-10.2.0-alpha3
Varbase update type
- ✅ No Update
- ➖ Optional Update
- ➖ Forced Update
- ➖ Forced Update if Unchanged
User interface changes
- N/A
API changes
- N/A
Data model changes
- N/A
Release notes snippet
Issue fork varbase_layout_builder-3528092
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
n.ghunaim commentedComment #4
n.ghunaim commentedComment #5
rajab natshahComment #7
rajab natshahComment #8
rajab natshahComment #9
rajab natshah✅ Released varbase_layout_builder-10.2.0-alpha3
Comment #11
rajab natshah✅ Released varbase-10.1.0-alpha2