Super sidebar expanded on load for user preference pages
What does this MR do and why?
Keep the sidebar expanded by default on certain pages (while the viewport is ≥ 1200px), regardless if a user has previously collapsed the sidebar. The user can still choose to collapse the sidebar while on these pages, though the preference will not be maintained. This exposes important information on these pages that a user may not know exists otherwise.
Screenshots or screen recordings
How to set up and validate locally
- Enable super sidebar (if not currently on)
- In
rails c
enable feature flagFeature.enable(:super_sidebar_nav)
- Toggle on "new navigation" in user menu
- In
- Collape sidebar
- View profile preference pages under
/-/profile
- Sidebar should be expanded by defualt, ignoring local cookie
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #391285 (closed)
Edited by Scott de Jonge