Feature/availability page revamp (#1032)

* Refactored Schedule component

* Merge branch 'main' into feature/availability-page-revamp

* wip

* Turned value into number, many other TS tweaks

* NodeJS 16x works 100% on my local, but out of scope for this already massive PR

* Fixed TS errors in viewer.tsx and schedule/index.ts

* Reverted next.config.js

* Fixed minor remnant from moving types to @lib/types

* schema comment

* some changes to form handling

* add comments

* Turned ConfigType into number; which seems to be the value preferred by tRPC

* Fixed localized time display during onboarding

* Update components/ui/form/Schedule.tsx

Co-authored-by: Alex Johansson <[email protected]>

* Added showToast to indicate save success

* Converted number to Date, and also always establish time based on current date

* prevent height flickering of availability

by removing mb-2 of input field

* availabilty: re-added mb-2 but added min-height

* Quite a few bugs discovered, but this seems functional

Co-authored-by: KATT <[email protected]>
Co-authored-by: Bailey Pumfleet <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
authored and GitHub committed 2021-11-10 11:16:32 +00:00
1 parent 559ccb8ca7
commit 8664d217c9
23 files changed
+2550 -2028

No files matched your search

+1 -2
View File
@@ -85,7 +85,7 @@
"react-phone-number-input": "^3.1.25",
"react-query": "^3.30.0",
"react-router-dom": "^5.2.0",
"react-select": "^4.3.1",
"react-select": "^5.1.0",
"react-timezone-select": "^1.1.13",
"react-use-intercom": "1.4.0",
"short-uuid": "^4.2.0",
@@ -110,7 +110,6 @@
"@types/qrcode": "^1.4.1",
"@types/react": "^17.0.18",
"@types/react-phone-number-input": "^3.0.13",
"@types/react-select": "^4.0.17",
"@types/stripe": "^8.0.417",
"@types/uuid": "8.3.1",
"@typescript-eslint/eslint-plugin": "^4.33.0",