Week 18: Calendar & Appointments — Feb 22 – 28, 2025

Week 18: Calendar & Appointments — Feb 22 – 28, 2025

TL;DR: A mini calendar with appointment booking, time slot selection, and automatic scheduling suggestions. Customers can self-schedule from available slots.

Highlights This Week

  • Built CalendarMini component for compact date selection
  • Implemented time slot availability calculation
  • Added customer-facing appointment booking flow

Appointment Booking

The booking flow exposes available time slots based on technician availability, job duration estimates, and territory constraints. Customers select a date, see available slots, and book. The job is automatically assigned to the matched technician.

How It Works

Available slots are computed by subtracting existing bookings, buffer time between jobs, and travel time from the technician’s working hours. The AI suggests the best slots (minimal travel, balanced workload) which appear highlighted in the picker.

What’s Next

The public booking page for embedding on company websites.