kpt-backstage-plugins icon indicating copy to clipboard operation
kpt-backstage-plugins copied to clipboard

Add abandon draft option

Open ChristopherFry opened this issue 2 years ago • 0 comments

Feature Suggestion

Allow users to abandon draft package revisions. Today, draft package revisions can only be edited or proposed (see screenshot).

Image

Possible Implementation

Add a 'Abandon' button next to the Edit button when a draft package revision is being viewed. When this button is clicked, the draft revision is deleted from Porch and the UI automatically redirects the user to the latest published revision of the package. If the package doesn't have any new published revisions, the UI redirects the user back to the packages list.

Context

Today there's no easy way for a user to abandon a draft revision in the UI if one was accidentally created or a draft revision is no longer needed.

ChristopherFry avatar Jan 26 '23 17:01 ChristopherFry