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

Created on 29 February 2024, 4 months ago
Updated 29 April 2024, about 2 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

Active

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

Comments & Activities

Production build 0.69.0 2024