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
Implementation plan
- When there is no
jitsu_key
provided by the project this page should be shown - 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.
- The learn more link should link to the product analytics documentation defined in https://docs.gitlab.com/ee/user/product_analytics
- Add specs
Edited by Robert Hunt