Skip to content

Move collapse/expand sidebar button out of `breadcrumbs` template

What does this MR do and why?

It moves the collapse/expand sidebar toggle out of breadcrumbs partial. The toggle shouldn't be part of breadcrumbs. This refactor will make future changes to breadcrumbs or the toggle independent from each other.

How to set up and validate locally

Prepare

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

Screenshot_2022-12-13_at_1.32.43_PM

  1. The super sidebar should now appear on every page.
  2. Try collapsing and expanding the sidebar

2023-04-07_14.11.32

  1. It should work and be positioned as before (better to compare this branch with prod)
  2. Check mobile view
  3. Pay attention at the epics roadmap breadcrumbs

Related to #391959 (closed)

Edited by Olena Horal-Koretska

Merge request reports

Loading