Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add abandon draft option #241

Open
ChristopherFry opened this issue Jan 26, 2023 · 0 comments
Open

Add abandon draft option #241

ChristopherFry opened this issue Jan 26, 2023 · 0 comments
Labels
area/ui enhancement New feature or request good first issue Good for newcomers

Comments

@ChristopherFry
Copy link
Collaborator

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 ChristopherFry added enhancement New feature or request good first issue Good for newcomers area/ui labels Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui enhancement New feature or request good first issue Good for newcomers
Projects
Status: Ready
Development

No branches or pull requests

1 participant