Skip to content

Enable issue summary on Releases page

Nathan Friend requested to merge nfriend-enable-issues-summary into master

What does this MR do?

This MR completes the last few pieces of #31289 (closed):

  • Updates the frontend code based on the new shape of the milestone API data
    • Previously, the milestones API returned an issue_stats property with open and closed counts. The updated API returns total and closed counts.
  • Enables the "Open: X" and "Closed: X" text to be rendered as links that point to the issue search page if URLs are available
    • Currently, only the "open" link is provided by the backend, so only the "Open: X" text will render as a link. The "closed" link will be implemented in a future backend MR (#205295 (closed)).
  • Enables the release_issue_summary feature flag, effectively enabling this feature.

Screenshots

image

In this image, the "Open: 3" link points to http://example.gitlab.com/user/project/-/issues?release_tag=v16.5&scope=all&state=opened

Documentation

The documentation for this feature will be added in !19637 (merged). !19637 (merged) has already been approved, so the maintainer who merges this MR can simply merge !19637 (merged) at the same time.

Related to #31289 (closed)

Edited by Nathan Friend

Merge request reports