Skip to content

DEV: add sidebar block to discovery layout#38886

Open
Grubba27 wants to merge 2 commits intomainfrom
DEV/blocks-discovery-sidebar
Open

DEV: add sidebar block to discovery layout#38886
Grubba27 wants to merge 2 commits intomainfrom
DEV/blocks-discovery-sidebar

Conversation

@Grubba27
Copy link
Contributor

@Grubba27 Grubba27 commented Mar 25, 2026

This PR changes the structure of /discovery/layout.gjs when the feature flag (discovery_layout_with_sidebar_block) is enabled

We added both a discovery-layout and as discovery-layout__main wrapping elements and a sidebar-discovery block outlet

layout.gjs was also changed from a template-only component to a class-based one; We can keep it template-based, but we would need to inject siteSettings

Simple testing was added to ensure that, without the flag, things remain as they are today.

Reviewing with the split view can make it somewhat better to review this code

@ZogStriP ZogStriP self-assigned this Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants