cal.pub0.org/apps/web/pages/api
Hariom Balhara 517cfde5b8
Feature/ Manage Booking Questions (#6560)
* WIP

* Create Booking Questions builder

* Renaming things

* wip

* wip

* Implement Add Guests and other fixes

* Fixes after testing

* Fix wrong status code 404

* Fixes

* Lint fixes

* Self review comments addressed

* More self review comments addressed

* Feedback from zomars

* BugFixes after testing

* More fixes discovered during review

* Update packages/lib/hooks/useHasPaidPlan.ts

Co-authored-by: Omar López <zomars@me.com>

* More fixes discovered during review

* Update packages/ui/components/form/inputs/Input.tsx

Co-authored-by: Omar López <zomars@me.com>

* More fixes discovered during review

* Update packages/features/bookings/lib/getBookingFields.ts

Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>

* More PR review fixes

* Hide label using labelSrOnly

* Fix Carinas feedback and implement 2 workflows thingy

* Misc fixes

* Fixes from Loom comments and PR

* Fix a lint errr

* Fix cancellation reason

* Fix regression in edit due to name conflict check

* Update packages/features/form-builder/FormBuilder.tsx

Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>

* Fix options not set when default value is used

* Restoring reqBody to avoid uneeded conflicts with main

* Type fix

* Update apps/web/components/booking/pages/BookingPage.tsx

Co-authored-by: Omar López <zomars@me.com>

* Update packages/features/form-builder/FormBuilder.tsx

Co-authored-by: Omar López <zomars@me.com>

* Update apps/web/components/booking/pages/BookingPage.tsx

Co-authored-by: Omar López <zomars@me.com>

* Apply suggestions from code review

Co-authored-by: Omar López <zomars@me.com>

* Show fields but mark them disabled

* Apply suggestions from code review

Co-authored-by: Omar López <zomars@me.com>

* More comments

* Fix booking success page crash when a booking doesnt have newly added required fields response

* Dark theme asterisk not visible

* Make location required in zodSchema as was there in production

* Linting

* Remove _metadata.ts files for apps that have config.json

* Revert "Remove _metadata.ts files for apps that have config.json"

This reverts commit d79bdd336c.

* Fix lint error

* Fix missing condition for samlSPConfig

* Delete unexpectedly added file

* yarn.lock change not required

* fix types

* Make checkboxes rounded

* Fix defaultLabel being stored as label due to SSR rendering

* Shaved 16kb from booking page

* Explicit types for profile

* Show payment value only if price is greater than 0

* Fix type error

* Add back inferred types as they are failing

* Fix duplicate label on number

---------

Co-authored-by: zomars <zomars@me.com>
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
Co-authored-by: Efraín Rochín <roae.85@gmail.com>
2023-03-02 11:15:28 -07:00
..
_README Deprecated API endpoints cleanup (#5478) 2022-11-11 19:54:44 +00:00
auth CAL-1053: Invalidate password to avoid once Google auth is used to merge accounts (#7152) 2023-02-17 18:59:34 +00:00
availability Typefix 2023-02-27 20:12:02 -07:00
book Feature/ Manage Booking Questions (#6560) 2023-03-02 11:15:28 -07:00
cron WIP: SIU: Maximum call stack size exceeded fix? (#6740) 2023-01-26 17:51:03 -05:00
integrations Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
revalidate-calendar-cache Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
social/og upgrade nextjs to 13.2 version and replace @next/font for in built ne… (#7440) 2023-02-28 16:38:46 -07:00
sync/helpscout Deprecates user plan (#5942) 2022-12-08 16:20:24 -07:00
teams/[team] Deprecated API endpoints cleanup (#5478) 2022-11-11 19:54:44 +00:00
trpc Prevent timeouts when cache fails (#7095) 2023-02-14 10:07:58 -07:00
user Fixes for avatar payloads (#5921) 2022-12-08 09:50:03 +00:00
cancel.ts Type fixes for API 2022-11-25 07:24:44 -07:00
collect-events.ts Backported 973e0a3..6ad0e23 (#3943) 2022-08-26 12:07:44 -06:00
countrycode.ts upgrade nextjs to 13.2 version and replace @next/font for in built ne… (#7440) 2023-02-28 16:38:46 -07:00
download-cal-video-recording.ts Change API error handling - download works on local (#7256) 2023-02-21 17:03:10 +00:00
email.ts Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
link.ts Link fixes 2022-12-22 10:52:50 -07:00
me.ts Re added debug endpoint 2023-02-14 14:11:09 -07:00
nope.ts Middleware rewrite shenanigans 2022-08-16 13:59:38 -06:00
username.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
version.ts feat: adds new version endpoint in internal api (#3155) 2022-06-25 05:37:29 +00:00