Files
calendar/packages/lib
0e0a78c47e Fix/Round Robin (#6121)
* Identify owner for a timeslot and check busyness against his schedule only

* Fix TS errors

* Fix flatmap

* Fix xisting unit tests

* Prevent duplicate slots by merging, userId -> userIds (multi)

* Small fix to potential undefined

* Moved duplicate prevention to buildSlots function

* Apply date override on a per user basis

* Prevent -1 being added to computedLocalAvailability

* Removed console.log

* Apply override properly on COLLECTIVE

* Default timeZone to UTC when undefined

* isSame doesn't work when the day shifts, isBetween instead

* Iterate over all slot.userIds schedules to identify the first user schedule that matches

* add round-robin test

Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-12-21 19:32:42 +00:00
..
2022-12-07 14:47:02 -07:00
2022-12-19 22:34:46 +00:00
2022-12-20 13:10:54 +00:00
2022-12-08 16:20:24 -07:00
2022-12-21 19:32:42 +00:00
2022-11-11 09:47:11 +00:00
2022-03-23 15:00:30 -07:00
2022-07-22 18:39:50 -06:00
2022-12-08 16:20:24 -07:00
2022-08-24 10:57:23 -06:00
2022-03-09 15:56:05 -07:00
2022-10-12 05:29:04 +00:00
2022-10-12 05:29:04 +00:00
2022-10-14 19:38:05 +00:00
2022-05-26 11:07:14 -06:00
2022-03-23 15:00:30 -07:00
2022-03-23 15:00:30 -07:00
2022-09-05 10:23:39 +00:00
2022-03-23 15:00:30 -07:00
2022-08-30 13:58:35 -06:00
2022-07-28 13:58:26 -06:00
2022-12-21 19:32:42 +00:00
2022-02-21 18:45:35 +00:00
2022-12-09 11:05:42 +00:00