cal.pub0.org/packages
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
..
app-store Fix app categories (#6016) 2022-12-20 15:15:06 -07:00
app-store-cli Admin apps UI (#5494) 2022-12-07 14:47:02 -07:00
config added norwegian to i18n (#5866) 2022-12-05 13:58:00 +00:00
core Fix/Round Robin (#6121) 2022-12-21 19:32:42 +00:00
dayjs Calendar Weekly Scheduler (#5653) 2022-12-14 13:36:10 +00:00
emails [Hotfix] Fixing direct link encoding (#6131) 2022-12-20 16:00:33 -07:00
embeds Test/Embed/Reschedule (#6056) 2022-12-18 19:24:44 +00:00
eslint-plugin Update all Yarn dependencies (2022-08-17) (#3887) 2022-08-29 17:55:27 -06:00
features Fix/Round Robin (#6121) 2022-12-21 19:32:42 +00:00
lib Fix/Round Robin (#6121) 2022-12-21 19:32:42 +00:00
prisma Fix app categories (#6016) 2022-12-20 15:15:06 -07:00
trpc Fix/Round Robin (#6121) 2022-12-21 19:32:42 +00:00
tsconfig We're not ready for this yet 2022-11-22 20:02:40 -07:00
types Fix/Round Robin (#6121) 2022-12-21 19:32:42 +00:00
ui Improved borders on teams profile pages. (#6141) 2022-12-21 15:06:00 +01:00