cal.pub0.org/packages
sean-brydon 5293db29d9
Feat Booking Limits (#4759)
* Add db relevant stuff

* Basic UI there still buggy

* This UI is hard - some progress

* Fix awful state mangament

* Fix re-ordering

* Working UI logic!

* Partical working minMax function

* Fix min max

* bookingLImits api + tests

* Moved checkBookingLimits to backend only code

* Fix httperror import

* Return busy times

* Remove avaliablity calc

* Working for everything but year

* Remove redundant + fix async forloop

* Add compatible type

* Future proof with evenTypeId filter

* Fix commonjson

* Sorting + validation + tests + passing

* Add empty test

* Move validation check  to backend

* Add bookinglimits in trpc

* Add test for undefined

* Apply suggestions from code review

Co-authored-by: Jeroen Reumkens <hello@jeroenreumkens.nl>

* Update apps/web/components/v2/eventtype/EventLimitsTab.tsx

Co-authored-by: Jeroen Reumkens <hello@jeroenreumkens.nl>

* Rename value for eligiability

* Rename keyof type

* status code

* Fix toggle not toggling off

* Update apps/web/pages/v2/event-types/[type]/index.tsx

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

* Update apps/web/pages/v2/event-types/[type]/index.tsx

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

* Change back to undefined as it is working for sean. See if it fails on testapp

* Fixing test builder

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Jeroen Reumkens <hello@jeroenreumkens.nl>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Leo Giovanetti <hello@leog.me>
2022-10-12 05:29:04 +00:00
..
app-store Switch to using tRPC as router.push weirdly doesnt refetch when using middleware and that too after build (#4954) 2022-10-11 15:52:18 +00:00
app-store-cli Improve default app README.mdex (#4893) 2022-10-07 07:29:09 +00:00
config #4306: Added darkmode support for select by styling via tailwind (#4824) 2022-10-10 18:50:43 +00:00
core Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
dayjs Update all Yarn dependencies (2022-07-29) (#3599) 2022-08-17 11:38:21 -06:00
emails render scheduled email instad of rescheduled email (#4722) 2022-09-27 20:48:35 +01:00
embeds feat: v2 embed (#4477) 2022-09-15 05:34:11 +00:00
eslint-plugin Update all Yarn dependencies (2022-08-17) (#3887) 2022-08-29 17:55:27 -06:00
features Unlicensed should return false, not error 2022-10-12 02:40:52 +01:00
lib Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
prisma Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
trpc Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
tsconfig Update all Yarn dependencies (2022-08-17) (#3887) 2022-08-29 17:55:27 -06:00
types Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
ui return null if impersonating (#4939) 2022-10-10 17:39:15 -06:00