Skip to content

Update analytics dashboard list to match MVC design

Jiaan Louw requested to merge 381322-product-analytics-dashboards-list into master

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
image image

How to set up and validate locally

  1. 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
  2. Enable the feature flag: echo "Feature.enable(:product_analytics_internal_preview)" | rails c.
  3. 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:

  1. 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.

Related to #381322 (closed)

Edited by Jiaan Louw

Merge request reports