Files
calendar/apps/web
c8744768c4 Refactored buildSlots (#6389)
* Refactored buildSlots

* Added typing for computedAvailableSlots

* Adds very simple boundary logic to make sure slots start at the right times

* Logic was cutting off too early

* Woops, should be eventLength, not frequency

* Expect 12:15 slots as availability is till 12:30 for booking

* Deliberately skip test for testing purposes

* slotInterval overrides intervals, but not duration

* Fix calendar mocking

* Another 45m length

* Unskip :(

* Fix test

Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
2023-01-11 17:33:34 +00:00
..
2022-08-30 12:25:24 -06:00
2023-01-11 15:00:46 +00:00
2022-02-18 16:53:45 +00:00
2023-01-11 17:33:34 +00:00
2022-02-10 14:22:45 -07:00
2022-11-11 09:47:11 +00:00
2023-01-06 12:13:56 +00:00
2023-01-11 17:33:34 +00:00
2022-02-10 14:22:45 -07:00
2022-02-10 14:22:45 -07:00
2022-07-29 16:26:31 -06:00