Skip to content

Dismiss analytics panel alerts when user navigates away

What does this MR do and why?

This MR updates the analytics panel alerts to dismiss when the user navigates away from the page to resolve Analytics dashboard alerts remain after the use... (#417030 - closed).

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screen_Recording_2023-07-06_at_12.21.54 Screen_Recording_2023-07-06_at_12.17.46

How to set up and validate locally

  1. Make sure you are on GitLab Ultimate
  2. Follow these instructions to set up Product Analytics in your GDK.
    • NB enable the product_analytics_snowplow_support feature flag.
  3. Remove the measures in ee/lib/gitlab/analytics/product_analytics/visualizations/page_views_over_time.yaml to create a bad visualization config. This will result in a panel error when you load the dashboard.
  4. View the Bahviour dashboard and observe the panel error.
  5. Navigate to the dashboards list and verify that the alert is no longer rendered.

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

Edited by Jiaan Louw

Merge request reports