Dear all,
I’m developing an app that, among other features, manages appointments. Specifically, I’m using Glide’s Calendar component to collect appointment data, but I’m struggling with how to handle overlapping bookings.
For example, if a tutor is booked from 10:00 AM to 11:30 AM on December 22nd, I want to prevent others from booking overlapping time slots. This includes not only identical time slots but also partially overlapping ones (e.g., 10:30 AM to 12:00 PM).
Could you help me understand the logic required to manage this control in Glide? I’m open to solutions where either:
- Overlapping appointments are prevented at the time of booking.
- The app allows the booking but displays a message like, “You have booked a time slot that overlaps with an existing appointment. Please adjust it.”
Thank you in advance for your guidance!