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 dialog before approving, finishing or publishing a contest #56

Open
dmint789 opened this issue Oct 13, 2024 · 0 comments
Open

Comments

@dmint789
Copy link
Collaborator

dmint789 commented Oct 13, 2024

Right now it's possible to approve, finish or publish a contest by accident, because it only takes one click. There should be a confirmation dialog for each of these.

It should say the following for approving: "Are you sure you want to approve [contest.name]? This will make the contest publicly visible on the contests page.", the following for finishing: "Are you sure you want to finish [contest.name]? This will let the admins know that the contest is ready to be published, and you will no longer be able to edit it or enter results.", and the following for publishing: "Are you sure you want to publish [contest.name]? This will make the results enter the rankings and will approve all new competitors."

Search for confirm( in the entire codebase (Ctrl+Shift+F in VS Code) to see other examples of confirmation dialogs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant