cal.pub0.org/packages/ui
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
..
apps Refactor skeleton loader files to v2 folders (#4447) 2022-09-14 10:35:40 +00:00
booker V2 colors - Public Booking (#4022) 2022-08-30 10:56:30 +02:00
components Minimum booking notice will allow hours and days (#5217) 2022-11-14 09:12:28 +00:00
form Guests will be able to add their own location for in person meetings (#5282) 2022-11-05 20:10:10 +00:00
skeleton Removes dynamic dimensions for V2 Skeletons in favor of classnames (#4263) 2022-09-09 08:22:39 +00:00
styles Cleaning up storybook files (#5290) 2022-11-04 15:40:46 +00:00
v2 Add support to open a redirect URL in new tab (#5480) 2022-11-13 15:51:31 +00:00
Alert.tsx Feature/multiple schedules post turbo (#2150) 2022-03-17 09:48:23 -07:00
BooleanToggleGroup.tsx Routing Forms (#2785) 2022-07-14 12:40:53 +00:00
Button.tsx fix add endIconClassName in button (#3893) 2022-08-24 08:37:46 +00:00
ConfirmationDialogContent.tsx V2 Workflows (#4047) 2022-08-31 13:42:37 -06:00
CustomBranding.tsx Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
Dialog.tsx Test Preview for routing forms (#5436) 2022-11-10 12:58:07 +00:00
Dropdown.tsx fix: use outline none (#5486) 2022-11-11 12:21:56 -07:00
EmptyScreen.tsx minor improvements to routing forms (#3380) 2022-07-15 11:46:05 +00:00
ErrorBoundary.tsx Introduce EventTypeAppCard in app-store and make it super easy to add it through CLI - Also adds Fathom app (#4727) 2022-10-14 10:24:43 -06:00
Icon.tsx Signup Flow improvements (#4012) 2022-09-07 18:38:37 -06:00
Kbar.tsx fix: add new url (#5295) 2022-10-31 18:53:59 +00:00
List.tsx Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
Loader.tsx Adds deprecation notice for Loader 2022-09-02 13:39:45 -06:00
Logo.tsx added lottie-react, added <Logo animated> for success page (#4083) 2022-09-01 13:37:21 +01:00
LogoAnimated.json /booking v2 fixes (#4117) 2022-09-02 21:30:06 +02:00
LogoAnimatedWhite.json Public Booking Pages (#4063) 2022-09-02 21:16:36 +00:00
Shell.tsx V2.0 - Routing Forms and Shell 2.0 everywhere (#3902) 2022-09-02 19:00:41 +00:00
Switch.tsx eslint react/jsx-curly-brace-presence 2022-07-12 11:52:13 -06:00
TimezoneChangeDialog.tsx feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
Tooltip.tsx kbar follow up (#3361) 2022-07-14 11:32:28 +00:00
__WHATSUP_WITH_ALL_THESE_VERSIONS.md Cleaning up storybook files (#5290) 2022-11-04 15:40:46 +00:00
index.tsx Update V2 components + Move to react-icons (#3670) 2022-08-03 16:01:29 +00:00
package.json Sync package.json 2022-11-04 12:15:12 -07:00
tsconfig.json V2 Main (#3549) 2022-08-24 14:18:42 -06:00