Allow hiding configured blocks in layout builder

Created on 4 August 2020, almost 4 years ago
Updated 22 April 2023, about 1 year ago

Motivation

Similar to panel's "Disable this pane" feature it would be nice if layout builder would allow hiding a block without removing the block & its configuration. That way a site-builder could easily temporarily hide a bloc

Proposed resolution

Add a quickedit menu entry "Hide block / Show block" and some CSS highlighting the current state.

Data model changes

Related issues

✨ Add visibility control conditions to blocks within Layout Builder Needs work

Remaining tasks

Points in #15 should be looked at.
Test coverage

Screenshots


✨ Feature request
Status

Needs work

Version

10.1 ✨

Component
Layout builder  →

Last updated about 2 hours ago

Created by

🇦🇹Austria fago Vienna

Live updates comments and jobs are added and updated live.
  • Needs usability review

    Used to alert the usability topic maintainer(s) that an issue significantly affects (or has the potential to affect) the usability of Drupal, and their signoff is needed. When adding this tag, make it easy to review the issue. Make sure the issue summary describes the problem and the proposed solution. Screenshots usually help a lot! To get sign-off on issues with the "Needs usability review" tag, post about them in the #ux channel on Drupal Slack, and/or attend a UX meeting to demo the patch and get direct feedback from designers/UX folks/product management on next steps. If an issue represents a significant new feature, UI change, or change to the general "user experience" of Drupal, use Needs product manager review instead. See the scope of responsibilities for product managers.

  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024