Skip to content

Frontend: Show Failed Jobs link only when there are failed jobs to show

Summary

I'd like to suggest having it only when there are failed jobs: After an MR is stable, most of the jobs will pass and we will repeat "Show failed jobs (0)" over and over in the list.

Screenshot_2023-07-18_at_10.15.49

Proposal

Don't show link when 0 failed jobs.

Additional details

Some relevant technical details, if applicable, such as:

  • Does this need a feature flag?
  • Does there need to be an associated instrumentation issue created related to this work?
  • Is there an example response showing the data structure that should be returned (new endpoints only)?
  • What permissions should be used?
  • Is this EE or CE?
    • EE
    • CE
  • Additional comments:

Links/References