Make AnalyticsDashboardsHelper compatible with groups
What does this MR do and why?
AnalyticsDashboardsHelper.analytics_dashboards_list_app_data
now supports groups, in addition to projects. To that end, I've renamed projectId
/projectFullPath
to namespaceId
/namespaceFullPath
throughout the frontend.
tracking_key
and features
are currently not supported when building the data for a group, and will return blank responses for both.
How to set up and validate locally
There is no group UI that makes use of this helper yet.
To test the project analytics dashboards:
Feature.enable(:product_analytics_dashboards)
Feature.enable(:combined_analytics_dashboards)
- Visit the project analytics dashboard page:
http://gdk.test:3000/{GROUP}/{PROJECT}/-/analytics/dashboards/
- Using the Vue console, verify that the correct values are being injected into the app
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 #390542 (closed)
Edited by Alex Pennells