Have a preset of back-end supported layouts to work with Gin and Claro under the dashboard for back-end and front-end

Created on 9 April 2023, over 1 year ago
Updated 30 May 2023, over 1 year ago

Problem/Motivation

Drupal core Layout discovery and Layout Builder section layouts has no support
for working Layout Builder with the Back-End themes.
Only the front-end themes
Custom twig templates and styles are only supported for front-end themes

Working Dashboards with Layout Builder for the back-end theme Vartheme Claro, Gin , or Claro has issues in style and HTML templates

Proposed resolution

Have a layout alter for all Gin, Claro and their sub admin themes
To switch the twig template for
Drupal core

    'layout_onecol',
    'layout_twocol',
    'layout_twocol_bricks',
    'layout_threecol_25_50_25',
    'layout_threecol_33_34_33',
    'layout_twocol_section',
    'layout_threecol_section',
    'layout_fourcol_section',

and Dashboards module

    'layout_1',
    'layout_2',
    'layout_3',

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
  • ✅ 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.0.0-alpha1 , varbase_dashboards-1.0.0-alpha1

Varbase update type

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

User interface changes

After the fix, Dashboards managers or when personalizing are able to use Section Layouts with better support
Better Style and spacing too

Varbase testing Draft default Dashboard with The Gin admin theme

Varbase testing Draft default Dashboard with Claro admin theme


Add new section with normal Drupal Core options

Edit config for sections with normal Drupal Core options

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3353105 : Have a preset of back-end supported layouts to work with Gin and Claro under the dashboard for back-end and front-end
📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

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

Comments & Activities

Production build 0.71.5 2024