cal.pub0.org/apps/web/components
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
..
apps Type fixes 2022-05-17 15:32:54 -06:00
auth Enable Autocomplete (#2645) 2022-04-29 17:28:34 +00:00
availability Type fixes 2022-05-17 15:32:54 -06:00
booking Change location of booking (#2658) 2022-05-27 23:27:41 +00:00
dialog Change location of booking (#2658) 2022-05-27 23:27:41 +00:00
error Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
eventtype Adding labels (#2783) 2022-05-23 09:11:04 +01:00
integrations Typo 2022-05-16 12:20:40 -06:00
pages/eventtypes Styling tweaks to inputs and Select (+ TimezoneSelect) (#2453) 2022-04-14 15:58:23 +01:00
security Disable Impersonation Option (#2880) 2022-05-25 15:21:18 +00:00
seo Enables strict mode in nextjs apps (#2354) 2022-04-04 20:26:14 +00:00
team fix: overflowing text on teams page - using tailwind line-clamp (#2843) 2022-05-27 12:38:50 +02:00
ui Change location of booking (#2658) 2022-05-27 23:27:41 +00:00
webhook Form fixes 2022-05-06 15:44:51 -06:00
AddToHomescreen.tsx Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028) 2022-03-05 15:37:46 +00:00
App.tsx Fixing ESLint warnings (#2723) 2022-05-14 13:49:39 +00:00
AppsShell.tsx License server (#2379) 2022-05-26 11:07:14 -06:00
BookingsShell.tsx License server (#2379) 2022-05-26 11:07:14 -06:00
ClientSuspense.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
CustomBranding.tsx Fix @calcom/embed-react installation with TS project (#2870) 2022-05-27 09:37:02 -06:00
DestinationCalendarSelector.tsx Styling tweaks to inputs and Select (+ TimezoneSelect) (#2453) 2022-04-14 15:58:23 +01:00
Embed.tsx Type fixes 2022-05-17 15:32:54 -06:00
EmptyScreen.tsx License server (#2379) 2022-05-26 11:07:14 -06:00
I18nLanguageHandler.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
ImageUploader.tsx Update all Yarn dependencies (2022-05-16) (#2769) 2022-05-17 19:31:49 +00:00
List.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Loader.tsx add invite link to Zapier setup page (#2696) 2022-05-11 04:58:10 +00:00
Logo.tsx Fixing ESLint warnings (#2723) 2022-05-14 13:49:39 +00:00
NavTabs.tsx License server (#2379) 2022-05-26 11:07:14 -06:00
SettingsShell.tsx License server (#2379) 2022-05-26 11:07:14 -06:00
Shell.tsx Fix @calcom/embed-react installation with TS project (#2870) 2022-05-27 09:37:02 -06:00
Slider.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Swatch.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
UpgradeToProDialog.tsx Feature: Support redirecting to an external URL on successful booking (#2087) 2022-04-05 08:05:40 +00:00