Improve implementation of the Theme Negotiator for Layout Builder Routes with Regular Expression Purge Match

Created on 29 November 2023, about 1 year ago
Updated 12 December 2023, about 1 year ago

Problem/Motivation

  • After upgrading to Drupal 10
  • Having number of backlashes over custom extra Layout Builder modules ( like the Layout Builder Styles module, which uses a dynamic layout builder
    routeing system
  • Issues with Layout Builder Blocks for bootstrap, been used with Claro/Gin on updated websites
  • Issues with the Layout Builder with Dashboards
  • Back-end and Front-end use of the Layout Builder on back-end default admin themes, been switched to front-end theme

Proposed resolution

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-9.0.17 , varbase-9.1.0 , varbase_layout_builder-10.0.44 , varbase-10.0.0-rc1 , varbase_layout_builder-10.1.0-beta11

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

Having a working Varbase Layout Builder in all:

  • Varbase 9.0.x - Drupal 9 - Varbase Layout Builder 10.0.x
  • Varbase 9.1.x - Drupal 10 - Varbase Layout Builder 10.0.x
  • Varbase 10.1.x - Drupal 10 - Varbase Layout Builder 10.1.x

After this fix any custom Layout Builder routes will work in the right way in Front-End and Back-end

Warning: The Varbase Total Control Dashboard module has been deprecated in Varbase ~10 . Recommended to switch to the new and modern Varbase Dashboards . Which leverage the powerful Layout Builder to efficiently manage the default dashboard. Facilitates seamless customization of personalized editorial dashboards.

After updating Varbase 9.0.x to Varbase 9.1.x -- "Drupal 10"

Added the support for the Dashboards with Layout Builder to allow switching for Varbase 9.1.0 upgraded sites to Drupal 10 from old Varbase Total Control Dashboard to Varbase Dashboards

Only by doing the following commands to require and enable varbase_dashboards and uninstall varbase_total_control , total_control
Varbase 9.1.x sites are able to switch to use the Layout Builder for the Dashboard

composer require drupal/varbase_dashboards:~1 ;
./bin/drush en varbase_dashboards ;
./bin/drush pm:uninstall varbase_total_control ;
./bin/drush pm:uninstall total_control ;

Navigate to "/admin/dashboard"
Then the default Varbase Dashboard will show up

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3404910 by mohammad faqeh : Improved implementation of the Theme Negotiator for Layout Builder Routes with Regular Expression Purge Match
🐛 Bug report
Status

Fixed

Version

10.0

Component

Code

Created by

🇯🇴Jordan mohammad faqeh

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