Analytics visualization designer: fail gracefully when error
What does this MR do and why?
Look for errors on the CubeJS responses, and display a user friendly error message when data fails to load.
Screenshots or screen recordings
before | after |
---|---|
![]() |
![]() |
How to set up and validate locally
-
Install the product analytics devkit and connect to your GDK by following the instructions here: https://gitlab.com/gitlab-org/analytics-section/product-analytics/devkit
-
Visit the visualisation designer: http://gdk.test:3000/gitlab-org/gitlab-shell/-/analytics/dashboards/visualization-designer
-
Disable your network within devtools in order to simulate an error, or block the endpoint, or modify the backend to throw
-
Click metric: Page Views -> All Pages
-
Request fails, error is now shown
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 #398407 (closed)