cal.pub0.org/apps/web/test/lib
Alex van Andel 2f2b72dd54
Feature/date overrides (#5991)
* Initial incomplete (but mostly functional) push of date override functions

* Fixed date shifting on load

* Bring back minDate (automatically disable all dates before current date)

* Fix type error

* Supply working hours to render available dates

* Converted to SSR

* moving defaultValues to the backend

* Improv. as filter can be achieved within the reduce

Co-authored-by: Omar López <zomars@me.com>

* Double inversion -> single, as it is an early return

* uniq() exit - not needed anymore

* Typefixes

* It's overriding dates :D

* Fixed duplication DateOverrides in list

* Implemented changing the month

* Make dateOverrides an optional param

* Fixed test (which requires dateOverrides due to auto-typing)

* Prevent a full update on set as default from list view

* Added some extra keys to keep ts happy

* Only allow a single date override per date

* Disallow editing excludedDates to the same date

* Bring back duplicate key ?.?

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-14 17:30:55 +00:00
..
checkBookingLimits.test.ts Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
getAggregateWorkingHours.test.ts Feature/date overrides (#5991) 2022-12-14 17:30:55 +00:00
getAvailabilityFromSchedule.test.ts Consolidates dayjs in a single package 2022-06-28 14:48:24 -06:00
getSchedule.test.ts One jest to rule them all (#3957) 2022-08-29 22:33:53 +00:00
getWorkingHours.test.ts Fixes collective availability for teams with overlapping day timezones (#3898) 2022-08-22 23:53:51 +00:00
parseZone.test.ts Consolidates dayjs in a single package 2022-06-28 14:48:24 -06:00
slots.test.ts Buffer limits fix (#5248) 2022-11-02 09:40:30 +00:00
team-event-types.test.ts Fixes collective availability for teams with overlapping day timezones (#3898) 2022-08-22 23:53:51 +00:00