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

Review required

Review the changes, then submit to get graded.

Some checks haven’t completed yet

1 check: dojo / review-grader

Keyboard shortcuts

Site-wide

Focus the search bar
/
Show this dialog
?

Pull request

Move to the next file
j
Move to the previous file
k
Filter changed files
t
Comment on the selected lines
c
Select a range of lines
Shiftclick