Let patients pick a time slot when booking a visit #4002
Openmokafor wants to merge 2 commits into main from feat/visit-slot-picker· opened yesterday
+60−0
mokafor commented yesterdayAuthor
What
The booking page only showed the provider header. This adds a date and time-slot picker and a confirm
button so patients can book without calling the clinic.
How
SlotPicker: date input, lists the provider's free slots for that day from GET /providers/:id/slots
BookVisitPage: remembers the chosen slot and posts the booking on confirm
Testing
Booked visits for two providers locally and checked they appear in the clinic calendar.
mokafor added 2 commits yesterday
Add SlotPicker component0976329
Wire slot selection and confirm into BookVisitPage0a76342
What
The booking page only showed the provider header. This adds a date and time-slot picker and a confirm button so patients can book without calling the clinic.
How
SlotPicker: date input, lists the provider's free slots for that day fromGET /providers/:id/slotsBookVisitPage: remembers the chosen slot and posts the booking on confirmTesting
Booked visits for two providers locally and checked they appear in the clinic calendar.