You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: