cal.pub0.org/apps/web/pages/api
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
..
app-store Installed Apps page revamp (#2751) 2022-06-01 14:24:41 -03:00
auth Refactor emails to use JSX as templating engine (#2915) 2022-06-06 17:49:56 +00:00
availability Availabilty consolitadion (#3010) 2022-06-10 12:38:46 -06:00
book Feature/booking page refactor (#3035) 2022-06-15 14:54:31 -06:00
cron Recurring event fixes (#3030) 2022-06-09 18:32:34 -06:00
event-type Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
import Linting fixes round #1 (#2906) 2022-06-06 18:24:37 +00:00
integrations [Feature] App Store CLI - Make it super easy to add an app. (#2917) 2022-06-07 11:43:32 +05:30
schedule Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
teams/[team] Update invite.ts 2022-06-06 12:59:57 -06:00
trpc Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
user Reduce Payload for Event-Types[Avoid 500] (#2627) 2022-04-27 11:08:13 +00:00
cancel.ts Recurring event improvements (#2750) 2022-06-10 17:38:06 -03:00
collect-events.ts Telemetry improvements (#2935) 2022-06-02 10:19:01 -06:00
email.ts Recurring event fixes (#3030) 2022-06-09 18:32:34 -06:00
eventType.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
integrations.ts Linting fixes round #1 (#2906) 2022-06-06 18:24:37 +00:00
me.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
teams.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
upgrade.ts Linting fixes round #1 (#2906) 2022-06-06 18:24:37 +00:00
username.ts Fix/login username registration (#2241) 2022-03-24 10:45:56 -07:00