SergeyMosin / Appointments

Nextcloud Appointments App
GNU Affero General Public License v3.0
159 stars 46 forks source link

[Feature request] Conflict check searches for alternatives in several calendars #531

Open hackvokat opened 1 month ago

hackvokat commented 1 month ago

Hello, We have been successfully using this great plugin for a while now.

We are two people and offer online bookings. So far we have an extra appointment page for each person, which checks the personal calendar for conflicts.

However, we would like to display only one booking page and show the total number of free appointments there. In other words, we need a conflict check that checks whether the appointments defined in the appointment templates are free in one of the two calendars and then (according to a priority to be defined) books into one of the calendars if something is free there.

We want to simplify the booking process somewhat.

We would also fund the feature if we can help support its development.

Thank you very much!

SergeyMosin commented 1 month ago

Interesting idea. Sort of shared availability (template or source calendar), only block a time-slot if it is blocked by all people involved.

according to a priority to be defined) books into one of the calendars if something is free there

This could get complicated when a time-slot is available for multiple people. For example, if there are three people they might want to define priority ( and availability ) differently based on a weekday.

Monday: Person A, Person B, Person C
Tuesday: Person B. Person C, Person A
Wednesday: Person C, Person A
Thursday: Person B
Friday: Person C