SFU-Blueprint / Pedals

Apache License 2.0
2 stars 0 forks source link

/checkin and /register Feedback for submitting form with missing parameters #65

Closed dangminhduc1101 closed 1 month ago

dangminhduc1101 commented 1 month ago

Problem

There is no indication or feedback if a user attempts to check in or register with missing parameters, such as username, shift type, full name, or date of birth. This may confuse and could impact accessibility for some users.

Instructions

  1. Pull the latest updates from the develop branch.
  2. Start the server by running npm run dev (if needed, navigate to the src/ folder and run npm ci), then go to localhost:3000/check-in.
  3. In checkin/page.tsx and register/page.tsx, use the Feedback.tsx component to alert users when they attempt to check in or register with missing parameters.
  4. Submit a pull request and tag @dangminhduc1101 for review.
dangminhduc1101 commented 1 month ago

Resolved with 4c80cce