Skip to content

Onboarding - initial empty state for when PA is not set up

Proposal

When a user first visits product analytics, they should be shown an empty view which describes what product analytics is and how they can set it up for themselves.

Design

Empty

Link to SVG

Implementation plan

  1. When there is no jitsu_key provided by the project this page should be shown
  2. The setup button should call the GraphQL mutation and change the view to the loading screen
    • In the event the backend API throws an error, we should render the error as a page-wide flash and direct it back to this view.
  3. The learn more link should link to the product analytics documentation defined in https://docs.gitlab.com/ee/user/product_analytics
  4. Add specs
Edited by Robert Hunt