Add Analytics tab in group and project settings
What does this MR do and why?
This MR re-structures the general settings menu for groups and projects where we group analytics-related settings under the analytics tab.
Reasoning: we plan to add more analytics-related settings so grouping these under one tab would make the UI less overwhelming.
This will affect:
- Product analytics
- Insights
- Value stream dashboard (not implemented yet)
Screenshot (closed state):
UX discussion: #402243 (comment 1331283627)
Screenshot (opened state):
Since each section has its own form, I formatted the boxed the same way as the "Advanced" settings tab.
How to set up and validate locally
Example below:
- Make sure you're on ultimate plan.
- Enable product analytics dashboard (disabled by default)
Feature.enable(:product_analytics_dashboards)
- Visit any group or project > Setting > General
- You should see the
Analytics
tab. - Opening the tab should list 2 items on the group level: Insights, Product analytics
- Opening the tab should list 1 item on the project level: Product analytics
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 #402243 (closed)
Edited by Adam Hegyi