Selecting, "Service Desk" also highlights, "Issues" in the navigation
Summary
From the epic discussion:
Selecting Monitor > Service Desk
in the new navigation bar will highlight both Monitor > Service Desk
and Plan > Issues
. Only the former should be highlighted.
Maybe this is because Service Desk lives under /issues/service_desk
?
https://gitlab.com/gitlab-org/gitlab/-/issues/service_desk
Steps to reproduce
- Set up the new navigation
- Set up Service desk
- (optional) Pin
Monitor > Service Desk
andPlan > Issues
- Visit
Service Desk
What is the current bug behavior?
Both Issues
and Service Desk
are highlighted as the active item in the navigation.
If the sections are collapsed, Plan
is highlighted, Monitor
is not.
What is the expected correct behavior?
Only the selected page should be highlighted as active.
If the sections are collapsed, only Monitor
should be highlighted, not Plan
.
Relevant logs and/or screenshots
Expanded sections
Collapsed sections
Possible fixes
This may be related to the issue we fixed in Ensure item_id of navigation menu_items is uniq... (!118745 - merged)
Edited by Sam Beckham