Remove `Application analytics` sidebar menu item
What does this MR do and why?
Project analytics dashboards is called Analytics dashboards
in the side menu, but group analytics dashboards is called Application analytics
. We want to update the group side menu to match, but Analytics dashboards
is currently being used by the Value stream dashboard (VSD).
Since group_analytics_dashboards
embeds the VSD within the group analytics dashboard list, we can change the sidebar link based on it's state. When group_analytics_dashboards
is enabled, link to the dashboard list. When group_analytics_dashboards
is disabled, link directly to the VSD.
Screenshots or screen recordings
group_analytics_dashboards | |
---|---|
disabled | feature-disabled |
enabled | feature-enabled |
How to set up and validate locally
- Visit the page for any group
- From the sidebar:
Analyze -> Analytics dashboards
- The value stream dashboard should render
Feature.enable(:group_analytics_dashboards)
- Click the same sidebar link again:
Analyze -> Analytics dashboards
- The analytics dashboards list should show with a link to the VSD
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 #433420 (closed)
Edited by Alex Pennells