cal.pub0.org/apps
Hariom Balhara 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
..
api@604d937661 Submodule sync 2022-12-20 13:42:01 -07:00
console@66e2663070 Submodule sync 2022-12-20 13:42:01 -07:00
docs Sync package.json 2022-11-04 12:15:12 -07:00
storybook Migrates V2 Select to new ui/components (#5400) 2022-12-18 23:16:20 +00:00
swagger Sync package.json 2022-11-04 12:15:12 -07:00
web Fix/Round Robin (#6121) 2022-12-21 19:32:42 +00:00
website@0f2767e731 Submodule sync 2022-12-20 13:42:01 -07:00