kpt-backstage-plugins
kpt-backstage-plugins copied to clipboard
Add abandon draft option
Feature Suggestion
Allow users to abandon draft package revisions. Today, draft package revisions can only be edited or proposed (see screenshot).
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.