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

Confirmation prompt on repo deletion #432

Merged

Conversation

jonathankingfc
Copy link
Contributor

@jonathankingfc jonathankingfc commented Jun 9, 2020

Description of Changes

Added confirmation form when deleting a repository. The user must type in namespace/repo in order to delete repository. See images below:

Changes:

styleA
wrongname

Issue: https://issues.redhat.com/browse/PROJQUAY-763

Reviewer Checklist

@kurtismullins
@josephschorr

  • It works!
  • Comments provide sufficient explanations for the next contributor
  • Tests cover changes and corner cases
  • Follows Quay syntax patterns and format

@app-sre-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@jonathankingfc jonathankingfc deleted the require_namespace_deletion branch March 23, 2021 05:01
@jonathankingfc jonathankingfc restored the require_namespace_deletion branch March 23, 2021 05:05
@crozzy crozzy self-requested a review June 29, 2021 14:23
crozzy
crozzy previously approved these changes Jun 29, 2021
Copy link
Contributor

@crozzy crozzy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition, LGTM (looks like there is a comment to resolve still from a previous review)

- When deleting a repository, a prompt will show requiring the user to enter <namespace>/<repository>
- Delete button will be disabled until text matches the namespace
Copy link
Contributor

@harishsurf harishsurf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jonathankingfc jonathankingfc merged commit 97fc1b5 into quay:master Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants