cal.pub0.org/apps/web
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
..
components Fix/Round Robin (#6121) 2022-12-21 19:32:42 +00:00
docs
lib Deprecates user plan (#5942) 2022-12-08 16:20:24 -07:00
pages Improved borders on teams profile pages. (#6141) 2022-12-21 15:06:00 +01:00
playwright Save meeting url to metadata of bookings and add it to webhook payload (#5773) 2022-12-15 21:43:07 +00:00
public New Crowdin translations by Github Action (#6140) 2022-12-21 09:45:47 -07:00
scripts
server/lib Preparations so public API can use tRPC procedures 2022-11-18 16:36:32 -07:00
styles Feature/date overrides (#5991) 2022-12-14 17:30:55 +00:00
test Fix/Round Robin (#6121) 2022-12-21 19:32:42 +00:00
.eslintignore
.gitignore Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
.nvmrc
calendso.yaml Deprecated API endpoints cleanup (#5478) 2022-11-11 19:54:44 +00:00
middleware.ts fix: use matcher in middleware (#5304) 2022-11-03 14:51:43 +00:00
next-i18next.config.js
next.config.js Rename /success to /manage and fix link in calendar event (#5719) 2022-11-29 20:27:29 +00:00
package.json [Hotfix] Fixing direct link encoding (#6131) 2022-12-20 16:00:33 -07:00
postcss.config.js
project.toml
sentry.client.config.js Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
sentry.properties Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
sentry.server.config.js Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
tailwind.config.js
tsconfig.json