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

FE - 1: Left Early Button / Functionality #51

Open
Ron-Madan opened this issue Nov 10, 2024 · 0 comments
Open

FE - 1: Left Early Button / Functionality #51

Ron-Madan opened this issue Nov 10, 2024 · 0 comments

Comments

@Ron-Madan
Copy link
Contributor

Ron-Madan commented Nov 10, 2024

On the active view page, where we have the leave queue button, add another button for the user to click "Left Early?" if the queue advanced but the player was not there. Ensure you have a confirmation popup.

  • Create a similar method in the utils/api.js file to call the associated endpoint.
  • ONLY show this button if the user is in the queue: Rely on the local storage value of "inQueue".
  • Add a description in the popup to describe what this means: Ex "Did someone leave early? If so, enter their court #:"

If no one else has done this yet, create a generic version of the confirmation popup we had for user info and put this in the ActiveView directory as it will be needed for the other buttons (End Session, Left Early, No Show, Add Unknowns).

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