Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Clinic Joining Form, Clinic Leaving #15

Open
2 tasks
jaydenpersonnat opened this issue Oct 25, 2023 · 0 comments
Open
2 tasks

Clinic Joining Form, Clinic Leaving #15

jaydenpersonnat opened this issue Oct 25, 2023 · 0 comments
Assignees

Comments

@jaydenpersonnat
Copy link
Collaborator

For week of 10/16

Resources
DB schema
Supabase
Figma

Description
Implement a basic form that allows a patient to join a clinic using that clinic's unique code. Additionally, we'll want to allow users to "leave" a clinic, and you'll implement the functionality for doing this as well. No need to worry about styling for now, just focus on functionality. You should be able to create clinics on Supabase for testing!

  • Create a small form that allow patients to join a clinic
    • Patients should be presented with an input field that allows them to input a code corresponding to the clinic they'd like to join.
    • Upon entering (and validation that the code corresponds to a clinic), patients should be presented with a confirmation that they want to join the clinic that corresponds to the code they've entered, with a message that includes the clinic's name. e.g. "Confirm that you'd like to join Kinnect PT".
    • Patients should be notified with an appropriat message if the code they entered does not match any clinic, e.g. "Could not find a clinic with this code".
    • Display a message if users leave the input field blank as well, e.g. "Please enter a clinic code".
    • UI for clinic joining exists on Figma, so feel free to follow it if you can, though prioritize functionality above all.
  • Implement functionality that allows users to leave clinics
    • You'll most likely want to list clinics that a user is in, and create a function that can be triggered (e.g. with a button press) to remove them from that clinic in the database.
    • Don't worry about styling for now.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants