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

Lottery "Draw Ticket" buttons should be disabled when clicked #1189

Open
moveson opened this issue Dec 3, 2023 · 0 comments
Open

Lottery "Draw Ticket" buttons should be disabled when clicked #1189

moveson opened this issue Dec 3, 2023 · 0 comments

Comments

@moveson
Copy link
Collaborator

moveson commented Dec 3, 2023

In the Hardrock 2024 lottery, we ended up with one extra drawn entrant who does not appear in either the Accepted List or the Waitlist. The accepted list had 20 slots and the waitlist had 50 slots. It appears that right at the end of the lottery, the "Draw Ticket" button was clicked twice in rapid succession before it could be disabled by a Turbo Stream refresh.

We should disable the "Draw Ticket" button with JS when it is clicked. When refreshed by the backend, the button will either remain disabled or become enabled, depending on backend logic.

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