cal.pub0.org/apps/web/lib
Alex van Andel e9f3248fc0
Feature/booking page refactor (#3035)
* Extracted UI related logic on the DatePicker, stripped out all logic

* wip

* fixed small regression due to merge

* Fix alignment of the chevrons

* Added isToday dot, added onMonthChange so we can fetch this month slots

* Added includedDates to inverse excludedDates

* removed trpcState

* Improvements to the state

* All params are now dynamic

* This builds the flat map so not all paths block on every new build

* Added requiresConfirmation

* Correctly take into account getFilteredTimes to make the calendar function

* Rewritten team availability, seems to work

* Circumvent i18n flicker by showing the loader instead

* 'You can remove this code. Its not being used now' - Hariom

* Nailed a persistent little bug, new Date() caused the current day to flicker on and off

* TS fixes

* Fix some eventType details in AvailableTimes

* '5 / 6 Seats Available' instead of '6 / Seats Available'

* More type fixes

* Removed unrelated merge artifact

* Use WEBAPP_URL instead of hardcoded

* Next round of TS fixes

* I believe this was mistyped

* Temporarily disabled rescheduling 'this is when you originally scheduled', so removed dep

* Sorting some dead code

* This page has a lot of red, not all related to this PR

* A PR to your PR (#3067)

* Cleanup

* Cleanup

* Uses zod to parse params

* Type fixes

* Fixes ISR

* E2E fixes

* Disabled dynamic bookings until post v1.7

* More test fixes

* Fixed border position (transparent border) to prevent dot from jumping - and possibly fix spacing

* Disabled style nitpicks

* Delete useSlots.ts

Removed early design artifact

* Unlock DatePicker locale

* Adds mini spinner to DatePicker

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2022-06-15 14:54:31 -06:00
..
auth Type fixes 2022-05-17 15:32:54 -06:00
config App Store (#1869) 2022-03-23 15:00:30 -07:00
core Booking page improvements (#2260) 2022-03-24 02:27:35 +00:00
hooks Feature/booking page refactor (#3035) 2022-06-15 14:54:31 -06:00
mutations/bookings Availabilty consolitadion (#3010) 2022-06-10 12:38:46 -06:00
queries Availabilty consolitadion (#3010) 2022-06-10 12:38:46 -06:00
types Feature/booking page refactor (#3035) 2022-06-15 14:54:31 -06:00
webhooks remove redundant conditional expressions (#2756) 2022-05-16 11:26:32 -06:00
ErrorBoundary.tsx License server (#2379) 2022-05-26 11:07:14 -06:00
QueryCell.tsx Bug/i118n flicker (#2609) 2022-04-25 18:26:13 -06:00
app-providers.tsx Telemetry improvements (#2935) 2022-06-02 10:19:01 -06:00
asStringOrNull.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
attendeeToPersonConversionType.ts Fixes/app store keys in db (#2651) 2022-05-02 14:39:35 -06:00
auth.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
availability.ts Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
classNames.ts Add ui package for reusable components (#1916) 2022-02-21 09:41:25 -07:00
clock.ts Hotfix: blank page for booking embed in Incognito Chrome (#2700) 2022-05-09 18:12:47 +00:00
cropImage.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
doWorkAsync.ts Type fixes 2022-05-17 15:32:54 -06:00
ensureArray.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
event.ts Add more variables to event names and a dynamic field (#2898) 2022-06-06 08:48:13 -04:00
getBooking.tsx save additional inputs as json + view details of booking (#2796) 2022-05-18 15:05:49 -06:00
getPlaceholderAvatar.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
getting-started.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
isBrandingHidden.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
isOutOfBounds.tsx save additional inputs as json + view details of booking (#2796) 2022-05-18 15:05:49 -06:00
isSuccessRedirectAvailable.tsx Prisma fixes 2022-05-17 19:54:50 -06:00
jackson.ts Eslint fixes (#1898) 2022-02-18 16:53:45 +00:00
linkValueToString.ts Change location of booking (#2658) 2022-05-27 23:27:41 +00:00
location.ts Fixes/locations (#2383) 2022-04-05 18:03:22 +00:00
locationOptions.tsx Change location of booking (#2658) 2022-05-27 23:27:41 +00:00
member.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
parseDate.ts Recurring event fixes (#3030) 2022-06-09 18:32:34 -06:00
parseZone.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
prisma.ts Admin/team billing downgrader (#2040) 2022-03-03 19:29:19 +00:00
profile.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
random.ts App Store (#1869) 2022-03-23 15:00:30 -07:00
saml.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
slots.ts Feature/booking page refactor (#3035) 2022-06-15 14:54:31 -06:00
slugify.ts Build fixes (#1929) 2022-02-21 18:45:35 +00:00
telemetry.ts Update telemetry.ts 2022-06-06 15:33:38 -06:00
timeFormat.ts App Store (#1869) 2022-03-23 15:00:30 -07:00
trpc.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
webhook.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00