Skip to content

Add specific error states to dashboard

Miguel Rincon requested to merge 34121-add-error-states-to-getters into master

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
image image image
bad query loading unknown error
image image image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

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 🤖

Merge request reports