Skip to content

Update analytics dashboards panels to use the GitLab UI component

What does this MR do and why?

This MR updates the analytics dashboards panels to use the GitLab UI component rather than the component in the GitLab repo.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Scenario Before (GitLab component) After (GitLab UI component)
Custom dashboard gdk.test_3000_gitlab-org_gdk-tracking_-analytics_dashboards_all_the_things_date_range_option_last_7_days__2 gdk.test_3000_gitlab-org_gdk-tracking_-_analytics_dashboards_all_the_things_date_range_option_last_7_days
Editing custom dashboard gdk.test_3000_gitlab-org_gdk-tracking_-analytics_dashboards_all_the_things_date_range_option_last_7_days__3 gdk.test_3000_gitlab-org_gdk-tracking_-analytics_dashboards_all_the_things_date_range_option_last_7_days__1
Built in dashboard gdk.test_3000_gitlab-org_gdk-tracking_-analytics_dashboards_value_streams_dashboard__1 gdk.test_3000_gitlab-org_gdk-tracking_-_analytics_dashboards_value_streams_dashboard
Small panel image image

How to set up and validate locally

  1. You need a GitLab Ultimate license.
  2. Follow the guide to enable product analytics on your GDK.
  3. Navigate to Project > Analytics > Analytics dashboards.
  4. Select a dashboard and check that panels are rendered properly.
  5. Navigate back to the dashboards list and select a dashboard not “Created by GitLab”, or create a new one using New dashboard.
  6. Verify that panels render correctly on your custom dashboard, even when editing.
  7. Navigate back to the dashboards list and select Data explorer.
  8. Verify that panels render correctly in the previewer.

Merge request reports

Loading