Add dashboards item to the projects analytics submenu
Problem to solve
For Product Analytics, we need to introduce several new screens for the user to interact with. This includes approximately five screens for dashboards, query building & configuration, and cluster configuration settings, and funnel analysis, at a minimum. These screens need to be reachable via the left sidebar while also complying with our design and product guidelines.
Proposal
- Add a new
Dashboardsitem. - This is where all the Product Analytics dashboards (e.g.
AudienceandBehaviorwill live. - Over time, the existing dashboards (e.g.
Value Stream,CI/CD, etc) on theAnalyticstab will move here as individual dashboards that can be viewed. - Once
Value Streamis moved over, we can direct theAnalyticsmain item to link toDashboardsrather thanValue Stream.
Implementation plan
backend -
- Add new feature flag named
combined_analytics_dashboards. - Add new item declaration to add the item to projects
configure_menu_itemsand connect it toproject_product_analytics_dashboards_path(@project). - Create new method to add the new item if
combined_analytics_dashboardsisenabledand the feature is available for the project. - Update the specs to validate the menu item is shown accordingly.
Edited by Robert Hunt