Ensure Correct Theme Is Loaded When Using the Dashboard Module

Created on 3 June 2025, 5 days ago

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

  1. Enable the Dashboard module.
  2. Access the dashboard layout builder page.
  3. 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 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

  • N/A
Feature request
Status

Active

Version

10.2

Component

Code

Created by

🇯🇴Jordan n.ghunaim Amman - Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024