cal.pub0.org/packages
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 Fix credential creation flow for msteams app (#3029) 2022-06-15 02:42:13 +00:00
app-store-cli [Feature] App Store CLI - Make it super easy to add an app. (#2917) 2022-06-07 11:43:32 +05:30
config fix: overflowing text on teams page - using tailwind line-clamp (#2843) 2022-05-27 12:38:50 +02:00
core Feature/booking page refactor (#3035) 2022-06-15 14:54:31 -06:00
ee Adds cors to checkLicense 2022-06-02 13:20:48 -06:00
emails Fixes undefined link in opt-in email 2022-06-14 08:55:21 -06:00
embeds Playwright isn't needed here 2022-06-13 16:15:28 -06:00
lib Feature/booking page refactor (#3035) 2022-06-15 14:54:31 -06:00
prisma Updates user metadata schemas 2022-06-14 14:07:54 -06:00
stripe sec-001 fixes (#2866) (#2867) 2022-05-24 19:29:29 -06:00
tsconfig Fixes tsconfigs for embeds 2022-06-11 16:27:11 -06:00
types Fix/app multiple installs (#3045) 2022-06-13 15:06:12 -06:00
ui Feature/booking page refactor (#3035) 2022-06-15 14:54:31 -06:00