Contents
PR Summary
What problems was I solving
Clicks on sidebar audience names were passing through to the underlying page preview, and the sidebar was not visually layered above the preview content.
What user-facing changes did I ship
When users click on audience names or the 'Add audience' button in the sidebar, navigation now correctly remains within the page workspace (sidebar) context instead of opening the preview layer underneath.
How I implemented it
Added z-30 utility class to the PageWorkspaceSidebar container's className, placing it above the preview layer (which uses z-10) in the stacking context. This ensures all sidebar click events are captured before potentially passing through to elements underneath.
Description for the changelog
Fixed sidebar z-index to explicitly layer it above the page preview. Audience navigation and interaction now work without clicks passing through to underlying preview content. Visual layering improved to prevent accidental interactions between sidebar and preview elements.