Skip to content

Add Release Links to Milestone List Page

Nathan Friend requested to merge nfriend-add-release-to-milestone-list-page into master

What does this MR do?

Adds links to associated releases on the milestone list page as described in #29020 (closed):

image

This page will show up to 3 releases for each milestone item. If a milestone is associated with more than 3 releases, the list is truncated with X more releases (or 1 more release if there's only 1 more item). See screenshots below for an example.

Screenshots

Below is a screenshot of the three scenarios this MR handles:

13.7: A milestone with no releases associated
13.8: A milestone with one release associated
13.9: A milestone with two releases associated
13.10: A milestone with lots of releases associated

image

image

The links point to the project's Releases page with the release's tag name as the anchor (i.e. http://examle.gitlab.com/user/project/-/releases#v2.0). The exception is the X more releases link, which points to the same page but without an anchor.

Edited by Jason Goodman

Merge request reports