Replace alert with empty state component in Value Stream Analytics
requested to merge gitlab-community/gitlab:402979-dcf-vsa-replace-alert-with-empty-state-component into master
What does this MR do and why?
Replace the gl-alert
component
with the brand component no-data-available-state
in order to meet the empty state pattern.
Also, the stage component is not rendered if there are no events.
Screenshots or screen recordings
Scenario when fecthing stage events |
Before | After |
---|---|---|
No error message from API |
||
Error message from API with status OK (200) |
||
Error message from API with status other than OK (200) |
How to set up and validate locally
You will need a GitLab Ultimate license
- Create a group
- Seed cycle analytics data
- Visit the Value streams dashboard
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 #402979 (closed)
Edited by Dannyel Cardoso da Fonseca