Skip to content

Base Pipeline Artifact Missing errors are not easily discoverable or correctable

Problem

We currently display a short error message on hover when there is no CodeQuality artifact to use as a base for the MR widget diff:

image

I think there are two usability issues with this messaging:

  1. It doesn't present clearly enough that people notice it: https://gitlab.com/gitlab-org/gitlab-experiment/-/issues/15#note_465434518
  2. It doesn't present a corrective action that can be easily taken to get a diff.

Proposal

  1. Display messaging directly in the widget, instead of in a popover:

image

  1. Include corrective actions in the messaging.
  • "There are no CodeQuality artfifacts in your target branch. Do your branch pipelines run CodeQuality on <target-branch-name>?"
  • "<target-branch-name> HEAD has a report, rebase your feature branch to see a diff"