cal.pub0.org/apps/web/lib
Carina Wollendorfer 7b01bae829
Change location of booking (#2658)
* add functionality to change location in booking and send out mail

* add i18n

* change location with dropdown like in event-types

* small fixes and code clean up

* clean code

* improve format of current Location string

* clean code

* clear selection when dialog closed

* added mutation and changed props (first working verison)

* clean code

* clean code

* clean code

* clean code

* fix typo

* change maxHeight of select

* use useWatch for selectedLocation

* pass default values with props

* set current location directly in useState

* clear selected values when updating location

* fix trpc query for credentialst

* change icons for editing booking

* improve naming of variables

* remove unnecessary orderBy

* use locationOptionsToString method

* fix current location naming for Cal Video

* add phone input

* save phone number as location of booking

* remove input field for phone number for event-types

* fix redirection issue

* show previous selected location in event-type

* remove attendee number from selection for booking

* make first letter of location lowercase

* remove input field for attendee phone number

* clear Errors when changing location type

* set location details to optional

* clean code

* fixing issue that dropdown doesn't close when dialog opens

* clean code

* make overflow visibile in dialog

* fix existing bug with address not showing in event-type settings

* fix issue with losing focus after validation

* close rejection dialog

* small spelling fixes

* fix issue with LocationChangeEmail

* fix failing E2E test

* fix failing E2E test

* fix E2E test

* bug fix for saving user phone, and other minor changes

* merge main

* improve text

* fix UI of booking list

* Delete admin

* remove selection after update and submit

* add translation for error message

* add default values for checkbox

* add "your phone number" to locations on booking page

* remove duplicate attributes from viewer.bookings

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

* check if user is authorized to make changes to booking

* remove location string

* clan code for displayLocaitonPublicly checkbox

* fetch locationOptions on server side

* remove trpc query for credentials

* fix phone number input

* fix labels of host and attendee phone number for booking page

* Migrates edit location to tRPC

* Link elemnt should only be used in `a` tags

* Adds missin router

* Migrates locationOptions to tRPC query

* Type fixes

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Alan <alannnc@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-27 23:27:41 +00: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
emails Change location of booking (#2658) 2022-05-27 23:27:41 +00:00
hooks Fix @calcom/embed-react installation with TS project (#2870) 2022-05-27 09:37:02 -06:00
mutations Recurring Events (#2562) 2022-05-05 18:16:25 -03:00
queries getBusyTimes consolidation 2022-05-11 19:49:21 -06:00
types Add seats to event types (#2485) 2022-05-24 15:19:12 +02: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 License server (#2379) 2022-05-26 11:07:14 -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 Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
getBooking.tsx save additional inputs as json + view details of booking (#2796) 2022-05-18 15:05:49 -06:00
getBusyTimes.ts getBusyTimes consolidation 2022-05-11 19:49:21 -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 Type fixes 2022-05-17 15:32:54 -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 Add seats to event types (#2485) 2022-05-24 15:19:12 +02:00
slugify.ts Build fixes (#1929) 2022-02-21 18:45:35 +00:00
telemetry.ts Type fixes 2022-05-17 15:32:54 -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