Allow a Release's associated Milestones to be added through the "Create Release" page
Problem to solve
Adding a Release's associated Milestones is only possible through the Releases API.
Proposal
User story
As a Release Manager, I want to associate milestones to my release item using the application's UI, so that I can manage the data related to the release progress.
Acceptance criteria
- On the Release form, user sees a new form option for Milestones.
- The component behave similarly to the
Milestones
component on theNew issue
form. See https://gitlab.com/gitlab-org/gitlab/issues/new
- The component behave similarly to the
- A search component should be available.
- User should be able to select 1 (one) or multiple milestones.
- When selecting multiple milestones, the placeholder in the component will display the name of the first selected milestone plus
+N more
(+ 1 more, + 2 more...)
- When selecting multiple milestones, the placeholder in the component will display the name of the first selected milestone plus
- User should be able to add and remove items from their selection.
- User should be able to set
No milestone
by selecting an option in the dropdown menu. - If no milestones exist in the project, user should be able to select the option create a new one from the Dropdown menu.
- Clicking the
Create new
option will take the user to the New milestone page https://gitlab.com/gitlab-org/gitlab/-/milestones/new
- Clicking the
- User should be able to have an option to manage milestones. Clicking
Manage milestones
will take users to the Milestones page https://gitlab.com/gitlab-org/gitlab/-/milestones - The field is not mandatory.
- When creating the Release item and adding a new milestone, the data associated should reflect the release progress counter (issues), as well as be displayed in the Milestones page. Example:
Further details
Releases can be associated with 0, 1, or multiple Milestones.
This feature should also be available when editing a Release through the UI.
This proposal will require an update to the milestones
dropdown component to support multiple selection, and new actions, but only applicable to the Releases form.
Documentation
Yes, this will require updates to the documentation with new screenshots and instructions.