Skip to content

Decouple dashboards frontend from product analytics

What does this MR do and why?

Updates the frontend to fetch all customizable dashboards form GraphQL without any conditions for Decouple customizable dashboards GraphQL from p... (#424440 - closed).

This MR also updates the names of all the customizable dashboard & visualization GraphQL queries to reflect the decoupled state.

Why? The backend has been updated to filter out hardcoded Product Analytics unless onboarded dashboard and thus the frontend filtering is obsolete.

Screenshots

Product analytics not set up

Before After
image image

Product analytics onboarding complete (no visual change)

Before After
image image

How to setup locally and validate

  1. Follow these instructions to setup Product Analytics in GDK.
  2. View the dashboards list at Project > Analytics > Analytics dashboards and validate only Value Stream Dashboard is shown.
  3. Set up Product Analytics and follow the steps to complete onboarding.
  4. View the dashboards list at Project > Analytics > Analytics dashboards again and validate that it lists:
    • Audience
    • Behaviour
    • Value Stream Dashboard
    • And any other custom dashboard created

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

Edited by Jiaan Louw

Merge request reports