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

Input Validation: Shift time #142

Open
8 of 11 tasks
elizabethfoster02 opened this issue Apr 1, 2024 · 0 comments
Open
8 of 11 tasks

Input Validation: Shift time #142

elizabethfoster02 opened this issue Apr 1, 2024 · 0 comments
Assignees

Comments

@elizabethfoster02
Copy link

elizabethfoster02 commented Apr 1, 2024

Purpose
We are at a point where we get to foolproof the user experience! Currently, the user has no restrictions to adding a shift (like, you can accidentally put the end time before the start time). Come up with other examples of invalid input. Validate the user input to something that makes sense.

If a user attempts to enter a time that doesn't make sense, bring up an alert (below)

TODO

  • Claim this ticket by adding your name and moving to "In Progress"
  • Get updated with the codebase
    • git checkout dev
    • git pull
    • THEN create a new branch as per usual
    • npm install (this updates your dependencies)
    • npm run dev
  • Implement description above
  • Create a PR for this ticket
  • Move this ticket into "Ready for Review"

Testing

  • Desktop

Resources
Alert

@pmelga01 pmelga01 self-assigned this Apr 4, 2024
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

2 participants