Update Release pages Vuex stores to handle Group milestones assocaited with a release
Problem to solve
As a breakdown of #121476 (comment 384809928), one thing we'll want to do is update the Releases Vuex stores to handle getting, creating, updating, and deleting group milestone associations (not the group milestones themselves) with a release. These updates should allow for the group milestones to be displayed (and linked) on the Releases page, along with allowing for group milestone associations to be fetched, created, updated, and deleted on the Release edit page.
To assist with this, a backend MR will be needed to modify the releases API to allow for submissions that GET
, POST
, UPDATE
, and DELETE
group milestone associations with a release. This will create a new group_milestones
attribute in the releases API.
Intended users
Proposal
Update and test the Releases Vuex stores to handle Group milestone associations with a release using a to-be-added group_milestone
attribute (separate backend MR.)
Further details
Benefits the completion of #121476 (closed) by making an iterative step towards being able to create the proposed UI.
Permissions and Security
-
Add expected impact to members with no access (0) -
Add expected impact to Guest (10) members -
Add expected impact to Reporter (20) members -
Add expected impact to Developer (30) members -
Add expected impact to Maintainer (40) members -
Add expected impact to Owner (50) members -->
Availability & Testing
Unit tests and updates will likely need to be added in:
- https://gitlab.com/gitlab-org/gitlab/blob/master/spec/frontend/releases/stores/modules/detail/actions_spec.js
- https://gitlab.com/gitlab-org/gitlab/blob/master/spec/frontend/releases/stores/modules/detail/getters_spec.js
- https://gitlab.com/gitlab-org/gitlab/blob/master/spec/frontend/releases/stores/modules/detail/mutations_spec.js
- https://gitlab.com/gitlab-org/gitlab/blob/master/spec/frontend/releases/mock_data.js
What does success look like, and how can we measure that?
After making this Vuex modifications, it should be possible to make group milestone selection work in the milestone dropdown combobox UI proposed in #121476 (closed)