Skip to content

Super sidebar GlDisclosureDropdown update expanded styles selectors

What does this MR do and why?

Update super sidebar aria-expanded selectors to that toggle button elements get @include active-toggle; styles when GlDisclosureDropdown is open.

Screenshots or screen recordings

Before After
192.168.0.216_3000_dashboard_todos 192.168.0.216_3000_dashboard_todos__3_
192.168.0.216_3000_dashboard_todos__1_ 192.168.0.216_3000_dashboard_todos__4_
192.168.0.216_3000_dashboard_todos__2_ 192.168.0.216_3000_dashboard_todos__5_

How to set up and validate locally

  • Enable the feature flag in rails console with rails c
Feature.enable(:super_sidebar_nav)
  • Enable the "New navigation" setting toggle from the user dropdown

CleanShot_2023-01-24_at_17.50.44_2x

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #395514 (closed)

Merge request reports