cal.pub0.org/packages/types
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
..
@wojtekmaj__react-daterange-picker.d.ts Feat/v2 daterangepicker (#4002) 2022-09-01 10:09:08 +00:00
App.d.ts Fix app categories (#6016) 2022-12-20 15:15:06 -07:00
AppGetServerSideProps.d.ts Send Email to Owner on Form Submission (#5261) 2022-11-03 20:10:03 +05:30
AppHandler.d.ts Add support to open a redirect URL in new tab (#5480) 2022-11-13 15:51:31 +00:00
BufferedBusyTime.d.ts Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
Calendar.d.ts fix: show email in outlook (#5897) 2022-12-20 21:50:20 +00:00
Credential.d.ts Fix app categories (#6016) 2022-12-20 15:15:06 -07:00
Event.d.ts As Google Meet is always installed, this fixes the doubling (#3093) 2022-06-17 18:34:41 +00:00
EventManager.d.ts Chore/salesforce prep work (#5648) 2022-11-22 13:44:08 -07:00
SVGComponent.d.ts Extracts EmptyScreen 2022-04-20 12:00:49 -06:00
VideoApiAdapter.d.ts Feature/invalid credentials (#5120) 2022-10-31 22:06:03 +00:00
environment.d.ts removed license consent (#5931) 2022-12-09 11:05:42 +00:00
ical.d.ts fix handling for recurring events (#2455) 2022-04-14 23:29:16 +01:00
inferSSRProps.d.ts Reusable inferSSRProps 2022-05-17 16:01:58 -06:00
next-auth.d.ts Fixes disable branding for teams and users (#5913) 2022-12-07 15:04:04 +00:00
next.d.ts Type fixes for API 2022-11-25 07:24:44 -07:00
package.json Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
schedule.d.ts Fix/Round Robin (#6121) 2022-12-21 19:32:42 +00:00
tsconfig.json App Store (#1869) 2022-03-23 15:00:30 -07:00
utils.d.ts Same-day schedules created invalid workingHours (#3742) 2022-08-08 14:17:33 -06:00