Skip to content

Move the context switcher to a disclosure dropdown

What does this MR do and why?

This drops the GlCollapse-based context switcher in favor of a GlDisclosureDropdown solution. This aligns with most recent design decisions to make the context switcher stand out more.

Screenshots or screen recordings

Before After
Screenshot_2023-04-20_at_7.20.30_PM Screenshot_2023-04-20_at_7.08.07_PM

How to set up and validate locally

  1. Enable the new nav:
    1. Enable the feature flag:

      echo "Feature.enable(:super_sidebar_nav)" | rails c
    2. Enable the user setting from the user dropdown:

      Screenshot_2022-12-13_at_1.32.43_PM

MR acceptance checklist

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

Edited by Paul Gascou-Vaillancourt

Merge request reports