Add specific error states to dashboard
What does this MR do?
This MR extends the metrics errors so they can handle states and wires them to specific groups in the dashboard.
More info about supported error states here: #34121 (closed)
Mechanism
A new Vuex getter calculates the state of a given group. If all "states" inside a group are the same, the group can display a single state.
Follow-up steps
- Specific empty states are missing buttons and links to more provide information, this will be done in a follow up MR.
- Removal of the global dashboard empty state is possible now, so the empty state of the dashboard can be computed.
Screenshots
timeout | no data | connection failed |
---|---|---|
bad query | loading | unknown error |
---|---|---|
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
-
Label as security and @ mention @gitlab-com/gl-security/appsec
-
The MR includes necessary changes to maintain consistency between UI, API, email, or other methods -
Security reports checked/validated by a reviewer from the AppSec team
Relates to #34121 (closed)
Edited by 🤖 GitLab Bot 🤖