Skip to content

Remove redirects in product analytics onboarding for GitLab provider

What does this MR do and why?

Update product analytics onboarding flow, GitLab-managed provider card.

When onboarding product analytics with a GitLab-managed provider, there is now no manual redirect to the project settings page required for clearing out existing project-level settings. These will be automatically cleared out directly from within the component.

Note: the next iteration will remove the redirects form the self-managed provider section, for now they remain in place.

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

Before After
image image
image (Loading while clearing settings)
image (Error while clearing settings)
image (After settings cleared, onboarding continues directly)

How to set up and validate locally

  1. Follow these instructions to setup Product Analytics in GDK.
  2. Ensure your GDK is running as .com
  3. Ensure your test project has an analytics data source configured at Project -> Settings -> Analytics -> Data Sources -> Product Analytics
  4. Start the onboarding process at Project -> Analytics Dashboards -> Set Up [product analytics]
  5. Agree to GCP storage zone, click "Use GitLab-managed provider"
  6. Verify new modal, and project settings are cleared, and onboarding continues directly

Related to #451315 (closed)

Edited by Elwyn Benson

Merge request reports