nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
953 stars 235 forks source link

Appointments: enable users to select multiple slots or time range #5986

Open TheBolliwood opened 2 months ago

TheBolliwood commented 2 months ago

Is your feature request related to a problem? Please describe.

As an event location, we'd want to use appointments to schedule external events in our rooms. These events range from 1h to a whole day. Currently the external groups can only select one slot and would have to repeat the progress for more time.

Describe the solution you'd like

We'd like a solution where one can either:

Describe alternatives you've considered

The collision check doesn't work with other solutions

Additional context

No response

TheBolliwood commented 2 months ago

It seems like this would only require changes in the UI, here and here. I was able to make a request from the UI with a longer time range than configured and the booking was correctly saved. Just the calendar entry after confirmation uses the configured booking length.

miaulalala commented 2 months ago

I like the idea of a time range but the appointments app was never intended to be for flexible slots. This would be an entirely new feature.

Selecting multiple slots is also a bit problematic IMHO because then a malicious/mischievous actor could easily book each available slot for each day, causing shenanigans by taking up all the slots.

You could offer two appointment configurations - one for a long slot, one for a shorter one maybe?

TheBolliwood commented 2 months ago

Thanks for your reply!

It indeed is a new feature, but it would help us quite a lot with booking our room. I see your concerns, but currently a malicious actor is also able to book each slot for each day (by just repeating the booking). Here is the real problem IMHO that the booking is accepted after confirming the email, for this case it would be better if the organizer would have to accept the booking first (as another option to accepting it immediately - which would be another new feature, but is not the scope here).

Offering one long and one short slot seems quite hacky, because the meetings could be 30min, 1h, 2h, 3h, the whole day...