Update analytics dashboards list & dashboard editor alerts
requested to merge 417225-follow-up-from-dismiss-analytics-panel-alerts-when-user-navigates-away into master
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
- Follow these instructions to setup Product Analytics in GDK. Ensure
product_analytics_snowplow_support
feature flag is enabled. - View the dashboards listing page at Project -> Analyze -> Application Analytics.
- Onboard Product Analytics by clicking on
set up
and following the onboarding process. - Enable custom dashboards on the project at Project > Settings > General > Analytics.
- Go back to the dashboards listing page at Project -> Analyze -> Application Analytics.
- To test listing alerts, block requests to the GraphQL API, then navigate to another Vue router component like visualization designer or new dashboard.
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #417225 (closed)
Edited by Jiaan Louw