tramlinehq / tramline

Release coordination and deployment platform, just for your mobile apps
https://tramline.app
Apache License 2.0
237 stars 11 forks source link

Copy approvals from previous release #684

Open kitallis opened 2 days ago

kitallis commented 2 days ago

Context

We recently added a feature #662 to assign approvals to a release. These approvals block the submissions/rollouts for a release until they are completed / overriden.

Screenshot 2024-11-22 at 2 56 51 PM

We would like to enhance this feature to have Tramline copy approvals from the previous release so that users don't have to remember to assign and type them out again every release.

Requirements

This involves two things:

First, add a configuration (enable/disable toggle) in the train/release settings page, under the approvals section:

Screenshot 2024-11-22 at 2 58 58 PM

Second, we should also allow copying approvals from within the release through a (currently disabled) button on the Approvals page This button should only show up and work when there are no approvals in the release, to avoid double-copying approvals.

Screenshot 2024-11-22 at 3 07 04 PM

Acceptance Criteria

Additional notes

Currently, the + Add button is disabled for certain states of the release – stuff after the submission has started. This check should exist for the copy button as well.

gitstart-connector[bot] commented 2 days ago

Issue synced into GitStart. Please review, edit and hand it off to GitStart by following this link.

gitstart-connector[bot] commented 2 days ago

This issue has been handed off to GitStart: https://clients.gitstart.com/tramline/11653/tickets/TRAB-684