Show active CRM route in navbar
What does this MR do and why?
@zillemarco identified that the navigation bar (left hand sidebar) does not indicate when you are on the group -> customer relations -> contacts / organizatinos screens #361946 (comment 952305758)
This MR fixes that.
Screenshots or screen recordings
How to set up and validate locally
https://docs.gitlab.com/ee/user/crm/
- Enable CRM in a root group e.g. http://gdk.test:3000/groups/flightjs/-/edit
- Visit the group -> customer relations -> contacts page e.g. http://gdk.test:3000/groups/flightjs/-/crm/contacts
- Ensure the relevant navigation menu item is active
- Visit the group -> customer relations -> orgnaizations page e.g. http://gdk.test:3000/groups/flightjs/-/crm/organizations
- Ensure the relevant navigation menu item is active
Bonus points for checking it works with the /new and /edit routes too
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.