Skip to content

Refactor release issue stats into its own component

Nathan Friend requested to merge nfriend-restructure-release-issuable-stats into master

What does this MR do?

Refactors the "issue stats" portion of the "release progress view" into its own component:

image

Also, as an additional cleanup, all Bootstrap utility classes in the two *.vue files updated by this MR have been converted to corresponding @gitlab/ui utility classes.

Why?

In #205349 (closed), we are adding a second similar section for merge requests, and this refactor allows these two sections to share an implementation.

Screenshots

This change makes almost no user-facing changes. Can you spot the difference? 😄

Before After
Screen_Shot_2020-10-24_at_1.25.44_PM Screen_Shot_2020-10-24_at_1.28.18_PM

Previously, the "Open" text was incorrectly included as part of the link. Now, only the number ("1", in this example) is linked. This aligns with the UX mockups in #205349 (closed).

The big picture

  • Step 1 (this MR): Refactor issue stats into its own component
  • Step 2 (!46080 (merged)): Update frontend to support merge request stats

Related to #205349 (closed)

Edited by Nathan Friend

Merge request reports