calcom / cal.com

Scheduling infrastructure for absolutely everyone.
https://cal.com
Other
32.47k stars 8.03k forks source link

[CAL-3099] Issue with "Limit total booking duration" and offering seats. #13509

Open fluctuat opened 9 months ago

fluctuat commented 9 months ago

Issue Summary

Remaining available seats do not display when "Limit total booking duration" condition is met. Taking a seat in existing meeting does not increase durations so booking should remain avalaible in existing booking with remaing seats.

Issue description

The goal is to organize on demand fitness class. for 4 attendees A first person creates the initial booking and other people can then join in. I would like to offer maximum two classes of 15 minutes per day. The schedule of the class varies depending on my availablilities and when the first person has made the booking for each of the 2 slots.

In order to ensure that I dont do more than 2 classes per day. I decide to limit 'total booking duration' to 30 minutes.

We would like the following behavior.

Unfortunately step 4 is not possible because the displayed availabilities do not take into account remaining seats. Once the "Limit Total booking duration" of the day is met, then it will not be possible to join existing slots with remaining seats. The booking interface will not display any avalaible slot 1.

This is currently possible:

Scenario 1:

Scenario 2:

CAL-3099

Nis-Han commented 9 months ago

@fluctuat It would help a lot if you could add a simple video demonstrating the problem.

fluctuat commented 9 months ago

Here it is. If you want to go straight to the point, you can start the video from 2:30.

Basically they are slots which have remaining seats and they should stay available - even though the 'Limit total booking duration" is met.

https://github.com/calcom/cal.com/assets/148369422/956aa37c-56c0-4f85-af33-46b8c301f4f6

CarinaWolli commented 9 months ago

Same issue exists with 'Limit booking frequency' and seats

fluctuat commented 9 months ago

Same issue exists with 'Limit booking frequency' and seats

Agree but somehow I think it depends on the definition of frequency. I would suggest that the text in the UI gets updated accordingly, maybe with a tooltip for seated events.