The new sidebar makes UI unusable when using Layout Builder Admin Theme

Created on 29 February 2024, 9 months ago
Updated 28 June 2024, 5 months ago

Problem/Motivation

I just updated to 1.0.0-rc6 today and see that the fix per this issue #3394027 🐛 "Layout builder setting" overlay UX issues when used with gin horizontal toolbar Fixed is causing a problem when gin_lb and layout_builder_admin_theme are both enabled. The sidebar is fixed, cannot be collapsed, and intrudes into the content area.

I use these two modules together on every site I run and would prefer the arrangement prior to rc6 with the action buttons above the content area.

Can the patch in issue #3394027 be further targeted so that the new enhancements are inactive when layout_builder_admin_theme is enabled?

Thanks.

Steps to reproduce

  1. Install Gin theme, Gin Layout Builder, Layout Builder Admin Theme, and set Gin as the default Administration theme
  2. On /admin/appearance/settings/gin, set Navigation (Drupal Toolbar) to "Horizontal, Modern Toolbar", enable "Show Secondary Toolbar in Frontend" and Save
  3. Enable Layout Builder for some entity display
  4. Create a page of that entity type and edit the page in Layout Builder mode
  5. Notice the sidebar is fixed and there are no options to hide, collapse, or reposition horizontally above

Proposed resolution

When Gin Layout Builder and Layout Builder Admin Theme are both enabled:

  1. My preferred resolution would be to leave the action buttons in a horizontal arrangement above the content area.
  2. An alternate resolution would be to fix the missing sidebar toggle when Layout Builder Admin Theme is enabled.
  3. A third possibility is to give the user the option of positioning the action buttons either horizontally above or in a collapsible sidebar. Could this be accomplished as an option in Gin Settings /admin/appearance/settings/gin?

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
  • Regression

    It restores functionality that was present in earlier versions.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024