cal.pub0.org/packages
Om Ray d83883e7e4
Minimum booking notice will allow hours and days (#5217)
* minimum booking notice allows hours and days

* Fixed error with Prisma not updating properly and input changing value to minutes autmatically

* fix type error

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

Co-authored-by: Peer Richelsen <peer@cal.com>

* moved minimumBookingNotice to clientside, removed migration from prisma, changed DurationField to regular InputField

* Update packages/lib/convertMinimumBookingNoticeToMinutes.ts

Co-authored-by: alannnc <alannnc@gmail.com>

* added MINUTES_IN_HOUR, MINUTES_IN_DAY, and HOURS_IN_DAY as exportable consts

* Fix some comparison, mobile styles and const usages

* minimumBookingNotice values will never be floats

* fixed issue with minbookingnotice not updating properly in prisma

* Removed console.logs, converted minimumBookingNoticeType to ref, removed unreliable accessing of array

* remove yarn lockfile

* Revert "remove yarn lockfile"

This reverts commit fefc24c802.

* Revert "Revert "remove yarn lockfile""

This reverts commit c8cc4d3c0e.

* Replaced currentDurationType export with state passed down from parent

* Improvements for duration notice type logic

* Undo adding submodule updates

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

Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>

* Update packages/lib/findDurationType.ts

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

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

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

* Update packages/lib/convertToNewDurationType.ts

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

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

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

* Update apps/web/test/lib/getSchedule.test.ts

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

* remove passing in as object

* Update apps/web/test/lib/getSchedule.test.ts

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

* Update packages/lib/convertToNewDurationType.ts

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

* Delete convertMinimumBookingNoticeToMinutes.ts

* Syntax fix

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Peer Richelsen <peer@cal.com>
Co-authored-by: alannnc <alannnc@gmail.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Jeroen Reumkens <hello@jeroenreumkens.nl>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Omar López <zomars@me.com>
2022-11-14 09:12:28 +00:00
..
app-store add tests (#5487) 2022-11-14 08:50:09 +00:00
app-store-cli Add AppStore General Settings support (#4998) 2022-10-15 10:05:14 +00:00
config Sync package.json 2022-11-04 12:15:12 -07:00
core fix/google-calendar-removes-attendees-when-seats-5336 (#5366) 2022-11-05 18:58:35 +00:00
dayjs Update all Yarn dependencies (2022-07-29) (#3599) 2022-08-17 11:38:21 -06:00
emails Send Email to Owner on Form Submission (#5261) 2022-11-03 20:10:03 +05:30
embeds feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
eslint-plugin Update all Yarn dependencies (2022-08-17) (#3887) 2022-08-29 17:55:27 -06:00
features fix: disable button and handle submit when loading (#5496) 2022-11-12 13:31:11 +00:00
lib Minimum booking notice will allow hours and days (#5217) 2022-11-14 09:12:28 +00:00
prisma Add alphanumeric sender ID to SMS workflow actions (#5471) 2022-11-11 15:01:17 +00:00
trpc fix: booking rejection message (#5497) 2022-11-12 21:21:01 +00:00
tsconfig Update all Yarn dependencies (2022-08-17) (#3887) 2022-08-29 17:55:27 -06:00
types Add support to open a redirect URL in new tab (#5480) 2022-11-13 15:51:31 +00:00
ui Minimum booking notice will allow hours and days (#5217) 2022-11-14 09:12:28 +00:00