Add visibility control conditions to SECTIONs within Layout Builder

Created on 24 October 2019, about 5 years ago
Updated 16 September 2024, 3 months ago

Problem/Motivation

Work to add visibility to controls to blocks for LB is progressing nicely.
It might be nice to build off that work and add them to sections as well.

The only question would be how it would work with the forthcoming block visibility controls.

With both blocks and sections in play, it might get confusing for end-users, so it might be nice want to include some additional notification/indication/warning if blocks contained within a section have any visibility controls applied?

Proposed resolution

Introduce a section visibility mechanism that includes individual condition configuration on a per section basis.

Remaining tasks

Upload, review and ready a section visibility patch.

User interface changes

Add a "configure visibility" link to to attached actions of a section within the LB user interface.

API changes

TBD, but perhaps changes, just the addition of an optional "visibility" key in the section configuration.

Data model changes

TBD

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
Layout builderΒ  β†’

Last updated 4 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States matt_paz

Live updates comments and jobs are added and updated live.
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.71.5 2024