cal.pub0.org/apps/web
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
..
@types
components Minimum booking notice will allow hours and days (#5217) 2022-11-14 09:12:28 +00:00
docs Fix SAML login (#4037) 2022-08-30 12:25:24 -06:00
lib Recurring emails fixed (#5499) 2022-11-12 16:46:27 +00:00
pages Minimum booking notice will allow hours and days (#5217) 2022-11-14 09:12:28 +00:00
playwright Team billing (#5453) 2022-11-10 13:23:56 -07:00
public add tests (#5487) 2022-11-14 08:50:09 +00:00
scripts
server/lib feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
styles Cleaning up storybook files (#5290) 2022-11-04 15:40:46 +00:00
test Buffer limits fix (#5248) 2022-11-02 09:40:30 +00:00
.eslintignore
.gitignore Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
.nvmrc
calendso.yaml Deprecated API endpoints cleanup (#5478) 2022-11-11 19:54:44 +00:00
middleware.ts fix: use matcher in middleware (#5304) 2022-11-03 14:51:43 +00:00
next-i18next.config.js Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
next.config.js Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
package.json Update engines to >=16.x in apps/web and monorepo (#5493) 2022-11-11 21:35:38 +00:00
postcss.config.js
project.toml
sentry.client.config.js Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
sentry.properties Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
sentry.server.config.js Bugfix/revert e5ba8616 (#5479) 2022-11-11 09:47:11 +00:00
tailwind.config.js Fixes tailwind for EE code 2022-07-29 16:26:31 -06:00
tsconfig.json Routing Forms Improvements - Rename routing_forms to routing-forms (#4546) 2022-09-22 22:53:43 +05:30