Skip to content

Update analytics dashboards list & dashboard editor alerts

What does this MR do and why?

This MR updates the analytics dashboards list & dashboard editor alerts to dismiss when their respective components are destroyed.

It also updates the dashboard editor to dismiss save error alerts when a save was successful.

I also fixed a small bug where the wrong property was being injected.

Note: Analytics dashboards is an experimental feature behind a default off feature flag.

Screenshots or screen recordings

Kapture_2023-07-12_at_15.51.39

How to set up and validate locally

  1. Follow these instructions to setup Product Analytics in GDK. Ensure product_analytics_snowplow_support feature flag is enabled.
  2. View the dashboards listing page at Project -> Analyze -> Application Analytics.
  3. Onboard Product Analytics by clicking on set up and following the onboarding process.
  4. Enable custom dashboards on the project at Project > Settings > General > Analytics.
  5. Go back to the dashboards listing page at Project -> Analyze -> Application Analytics.
  6. To test listing alerts, block requests to the GraphQL API, then navigate to another Vue router component like visualization designer or new dashboard.
  7. To test dashboard designer alerts, block the commits API, click save, then unblock it and click save again.

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

Edited by Jiaan Louw

Merge request reports