Skip to content

Empty state for onboarding product analytics

What does this MR do and why?

This MR adds the empty state to the onboarding flow for Product Analytics. The set-up button on this page will be linked to the setting up process in Onboarding - waiting for stack set up view (#381319 - closed).

Screenshots or screen recordings

Scenario Screenshot
Light theme image
Dark theme image
Smaller screens image

How to set up and validate locally

Make sure you are on at least GitLab Premium.

  1. Enable the feature flag's: echo "Feature.enable(:cube_api_proxy) && Feature.enable(:product_analytics_internal_preview)" | rails c.
  2. Set up the devkit and start it running using docker-compose up.
  3. Visit admin settings and make sure that the settings have been set: /admin/application_settings/general#js-product-analytics-settings.
  4. Visit a dashboard on a project that hasn't been set up yet: /[GROUP]/[PROJECT]/-/product_analytics/dashboards/.
  5. Validate the empty state is shown as expected.

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 #381317 (closed)

Edited by Robert Hunt

Merge request reports