Update analytics dashboard list to match MVC design
What does this MR do and why?
This MR updates the Product Analytics dashboard list to match the design as described in #381322 (closed).
This change is hidden behind a default off feature flag.
Screenshots or screen recordings
header | After |
---|---|
How to set up and validate locally
- You need to setup the product analytics devkit if you haven't already done so. https://gitlab.com/gitlab-org/analytics-section/product-analytics/devkit
- Enable the feature flag:
echo "Feature.enable(:product_analytics_internal_preview)" | rails c
. - Visit the dashboard page of any project and validate that it renders:
http://localhost:3000/gitlab-org/gitlab-shell/-/product_analytics/dashboards/
This will show an empty dashboard if you have no events in clickhouse. To generate events:
- You can use a browser extension like tapermonkey + this userscript to generate events.
- Using the userscript above you need to change the host to your devkit's Jitsu URL and use your Jitsu's client key.
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 #381322 (closed)
Edited by Jiaan Louw