cal.pub0.org/apps/web/components
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 feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
auth Fix the "Sign in with SAML" button on the login page (#5089) 2022-10-19 09:50:25 -06:00
availability 🧹 Cleaned up older v1 components for availability, settings and auth. (#5288) 2022-11-01 13:29:01 +00:00
booking fix: booking rejection message (#5497) 2022-11-12 21:21:01 +00:00
dialog feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
error Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
eventtype Minimum booking notice will allow hours and days (#5217) 2022-11-14 09:12:28 +00:00
getting-started feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
integrations Deprecated API endpoints cleanup (#5478) 2022-11-11 19:54:44 +00:00
pages/eventtypes feather icons and inter (#3366) 2022-07-26 20:24:00 -06:00
security feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
seo Cleanup + migrate away from process.browser (#5408) 2022-11-08 08:36:59 +01:00
settings feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
team feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
ui feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
AddToHomescreen.tsx Update V2 components + Move to react-icons (#3670) 2022-08-03 16:01:29 +00:00
AdditionalCalendarSelector.tsx feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
App.tsx feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
AppsShell.tsx Fixing App tabs routing (#3711) 2022-08-05 05:21:43 +00:00
BookingsShell.tsx Remove shallow routing (#3401) 2022-07-17 15:42:13 +05:30
ClientSuspense.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
DestinationCalendarSelector.tsx feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
Embed.tsx fix: floating pop up button embed modal size (#5415) 2022-11-10 13:09:19 +00:00
Gates.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
I18nLanguageHandler.tsx feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
ImageUploader.tsx V2 settings teams (Profil, Members, Appearance View) (#4350) 2022-09-12 17:04:33 -05:00
Loader.tsx Adds deprecation notice for Loader 2022-09-02 13:39:45 -06:00
NavTabs.tsx feather icons and inter (#3366) 2022-07-26 20:24:00 -06:00
SettingsShell.tsx Update V2 components + Move to react-icons (#3670) 2022-08-03 16:01:29 +00:00
Slider.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00