Skip to content

FE - 1: End Session Button / Functionality #47

@Ron-Madan

Description

@Ron-Madan

On the active view page, where we have the leave queue button, add another button for the user to click "End Session" if the user wishes to leave the court. 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 NOT in the queue: Rely on the local storage value of "inQueue".
  • Add a description in the popup to describe what this means: Ex "Do you wish to end your session early?"

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions