8dbd96a2f9
fix: Unable to submit booking form if Attendee Phone is used and then booking Fields are saved ( #15742 )
...
* update for location identifier
* for typecheck err
* Update packages/features/bookings/lib/handleNewBooking/getBookingData.ts
Co-authored-by: Amit Sharma <[email protected] >
* update to use custom label for location, remove usage of hideWhenOneOption, remove string conversion of booking field
* nit
* nit
* nit
* Use the dataStore only instead of modifying bookingFields directly from outside the FormBuilder
* Dont unset the actual label, instead have a different property noLabel for this
---------
Co-authored-by: Amit Sharma <[email protected] >
Co-authored-by: Hariom <[email protected] >
2024-08-08 14:57:58 +05:30
b8ba95dbb0
feat: min max chars for long text ( #15691 )
...
* feat: min max chars for long text
* refactor: remove console log
* refactor: revert redundant change
* refactor: review changes
* fix: min max validation
* fix: fix typo
* refactor: update comments
* refactor: review changes
* refactor: review changes
* test: Add test
* Make maxLength more configurable per field type
* Reduce maxLength to 1000
* Update update-event-type.input.ts
* revert changes in main
* Update update-event-type.input.ts
* refactor get-event-type-public.output.ts
* add e2e tests
* add min max char common.json
* Update FormBuilder.tsx
* refactor changes
* Update fieldTypes.ts
* Update schema.ts
* add min max length in api-request
* Update booking-fields.input.ts
* fix e2e tests
* move min-max-char tests to manage-booking-questions.e2e.ts
* remove test
* reorder imports to fix lint
* fix lint
* fix e2e tests
* Abstract out SupportsLengthcheck type Field
* Revert newline change
* Improve the schema validation a bit and fix undefined in the message issue
* revert: v2 API changes
---------
Co-authored-by: Ayush Mhetre <[email protected] >
Co-authored-by: Hariom <[email protected] >
Co-authored-by: supalarry <[email protected] >
2024-07-30 12:21:27 +00:00
smitgol and Hariom
d0a7eb12a0
fix: your name translation ( #14863 )
...
* your name translation fixed
* do translation outside Components as that is needed by all components. Allows the code to stay DRY
---------
Co-authored-by: Hariom <[email protected] >
2024-06-20 08:39:21 +00:00
Amit Sharma and Hariom
beee545568
fix: "Checkbox" custom field throws error ( #14339 )
...
* fix: "Checkbox" custom field throws error
* Add e2e
* Self review feedback
* Fix typo
---------
Co-authored-by: Hariom <[email protected] >
2024-04-05 15:05:48 +05:30
3f02de8214
chore: icon cleanup ( #13770 )
...
Co-authored-by: Joe Au-Yeung <[email protected] >
Co-authored-by: sean-brydon <[email protected] >
2024-04-03 23:23:57 +00:00
Anwar Sadath and Joe Au-Yeung
fbff9a9a3f
fix: Attendee address and phone number field not shown in booking questions ( #13989 )
...
* fix: Attendee address and phone number field not shown in booking questions
* Address review comments
---------
Co-authored-by: Joe Au-Yeung <[email protected] >
2024-03-22 13:41:40 -04:00
ee286a600f
refactor: Only send dirty fields for event type update call ( #13292 )
...
* init
* typefix maybe
* fix type
* fix e2e
* Extract delete dialog to its own function to optimise rerender
* wip
* Delete isEqual
* adds eslint tsignore comment
* only update changed fields
* fix type err
* --WIP
* fix type err isLoading—>isPending
* isLoading—>isPending
* post conflict resoution fix
* shouldDirty minimumBookingNotice
* adds shouldDirty to setValues
* reset form to ensure updated default values
* shouldDirty changes and fixed deep check of dirty
* --WIP
* should dirty recurring
* shouldDirty team tab
* multiple-fixes
* adding console log to test something in e2e
* shouldDirty apps tab
* fixes managed event type children association
* fixed managed events update
* dirty managed fix
* fixes some onChange versus setValue and periodCountCalendarDays
* Seeing different behaviour explicitly unwrapping formState
* only mutate if at least 1 field dirty
* fix type error
* bunch of fixes
* --WIP
* update only dirtyFields for Managed Events existing children
* Fixes update old managed event type tests --WIP
* Fix unit tests
A bunch of unit test fixes which started failing
due to update fields only requiring actual updated
fields. some other small fixes also included
* type fix
* remove unnecessary comment
* Adds dirtyField to instant event
* fix: add shouldDirty
* fixes availability and team tabs, and disable save button unless dirty
* fix for hosts and bookerLayout
* add shouldDirty when resetting hosts after changing schedulingType
* add missing shouldDirty to useEventTypeDestinationCalendarEmail
---------
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
2024-02-15 22:44:20 +00:00
4ebd52c9af
test: Create unit tests for the questions (teste2e-multiSelectQuestion) ( #11569 )
...
* Remove unnecessary changes
* add changes
* Requested changes
* Requested changes
* FIx failing tests
* FIx failing tests
* Update regularBookings.ts
* FIx failing tests
* Refactor
* add unit tests for all questions
---------
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: GitStart-Cal.com <[email protected] >
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Morgan <[email protected] >
Co-authored-by: Joe Au-Yeung <[email protected] >
2024-02-08 15:00:19 -03:00
9422e28598
test: check all advanced options in a managed event-type (teste2e-managedOptions) ( #12294 )
...
* check all advanced options in a managed event-type
* Delete apps/web/playwright/booking/managedBookingAllQuestion.e2e.ts
* Delete apps/web/playwright/managedBooking/allQuestions.e2e.ts
* Refactor
* Refactor
* check all advanced options in a managed event-type
* check all advanced options in a managed event-type
* Update regularBookings.ts
* Update regularBookings.ts
---------
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: GitStart-Cal.com <[email protected] >
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
2024-01-27 07:50:38 -03:00
Udit Takkar
f65c7e413f
fix: default organizer bug in managed event type ( #11921 )
2023-11-22 12:43:25 -05:00
Udit Takkar
226ac889c7
refactor: event type settings improvements ( #11615 )
2023-10-11 10:03:54 +01:00
Anik Dhabal Babu
0cfbf7159e
fix position and add transition ( #11799 )
2023-10-10 20:15:26 +01:00
3e08c66888
refactor: Use template literal instead of '+' operator ( #11444 )
...
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: zomars <[email protected] >
2023-10-03 11:52:19 -07:00
ef45cbfb3f
refactor: event type settings ( #11539 )
...
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
2023-09-28 12:59:06 +01:00
1a85f336c5
fix: Booking Question Dialog: Dropdown covered by DialogFooter (CALCOM-10987) ( #10989 )
...
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
2023-09-04 11:42:10 +02:00
Hariom Balhara and Udit Takkar
51caa6834a
fix: Make identifier conform to RHF field requirement ( #10860 )
...
Co-authored-by: Udit Takkar <[email protected] >
2023-08-21 13:11:47 -04:00
Zain Gulbaz and Carina Wollendorfer
5301af2e9f
fix: If the input type "Name" is selected, the label can't be changed from our default label "Your Name" ( #10618 )
...
Co-authored-by: Carina Wollendorfer <[email protected] >
2023-08-11 12:03:38 +05:30
Hariom Balhara
61f1a3b21e
feat: Support adding links to checkbox type question using markdown[Blocked on another PR] ( #8943 )
...
* Support adding links in boolean checkbox
* Fix and comment
* remove textarea, it was accidentally pushed.
2023-07-21 23:30:28 +05:30
Hariom Balhara and Carina Wollendorfer
f1c981fdcf
feat: firstAndLastName variant for name field ( #8671 )
...
* Add split full name variant
* Share propsType across fieldTypes and components
* Simplify Components
* Add assertions for required field indicator
* Fix test as name cant be used as a custom field right now
* Make it disabled during reschedule
* Fix UI issues in dark mode
* Support adding links in boolean checkbox
* Revert "Support adding links in boolean checkbox"
This reverts commit 31252f8a5f445f8289a09445124109a4a9c3d33b.
* Make sure getBookingFields isnt import client side
* PR feedback addressed from Carina
* DRY Code
* Fix Dialog
---------
Co-authored-by: Carina Wollendorfer <[email protected] >
2023-07-20 07:03:50 +02:00
Udit Takkar
47add7e7fc
fix: modals regression ( #10211 )
...
Signed-off-by: Udit Takkar <[email protected] >
2023-07-18 09:53:01 +01:00
Rama Krishna Reddy and rkreddy99
26afc077a7
disable guests field when offer seats is enabled ( #10132 )
...
Co-authored-by: rkreddy99 <[email protected] >
2023-07-13 13:57:30 +02:00
Sagar Singh Negi and Alan
6a96531da5
fix: [CAL-1959] Removed duplicate value warnings on starting dev server( #1959 ) ( #9596 )
...
Co-authored-by: Alan <[email protected] >
2023-06-30 04:06:01 +00:00
GitStart-Cal.com
e731c33235
feat: Add divider and set spacing on modals with the type=creation prop (feat-add-divider)
...
## What does this PR do?
<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. -->
- Add the prop customDividerClassName to customize the CSS Divider if needed
- Add a divider on all modals with type="creation" prop, following the [figma](https://www.figma.com/file/9MOufQNLtdkpnDucmNX10R/1.-Cal-DS?type=design&node-id=29898%3A100590&t=62LvZCZAEZm5zDdw-1 ) design
- Some type="creation" modals seem not to be this type, we pushed all changes with screenshots, if you want us to revert the changes on some modals we will revert

- Inline Embed:

- Enable Two-Factor Authentication:

-Enable Two-Factor Authentication (step 2):

-Enable Two-Factor Authentication (step 3):

- Disable Two-Factor Authentication:

- Delete Account:

- Update Timezone:

- Duplicate Event Type:

- Add a New Form:

- Change Team Member Role:

- Impersonate:

- Bulk Update Event Types:

- Connecting with MS Teams:

- Set a Default App Link:

- OIDC configuration:

- SAML Configuration:

- How to use booking questions as variables?


- Invite Link Settings:

- Add Action:

- Edit Keys:

- Create an Api Key:

- API key created successfully:

- Invite Team Member:

- Add a Question:

- Add a new event type:

2023-06-29 08:47:16 +01:00
Omar López
2d6eebcd8a
chore: Sync packages mismatches ( #9725 )
2023-06-22 15:25:37 -07:00
Jeroen Reumkens
ca47a589ba
feat: weekly view for new booker. ( #9389 )
...
* WIP on weekly view for new booker.
* Set responsive grid height for booker weekly view.
* Fixed types
* Ensure you can't click on disabled dates in weekly calendar
* CAL-1916: Improvements for blocked out parts background blocks, made the lines connect by using a shared background.
* Margin, padding and color tweaks for new booker CAL-1911
* Made week view have more days visible by default
* Fix to prevent layout switch from breaking when clicking same layout twice.
2023-06-09 09:38:18 +00:00
GitStart-Cal.com and gitstart-calcom
748307bc91
fix: Wrong padding on modals - second version (CALCOM-8414) ( #9419 )
...
Co-authored-by: gitstart-calcom <[email protected] >
2023-06-08 16:45:06 +00:00
Ninad Trivedi
a9140b6a76
Scrollbar bug fixed ( #9357 )
2023-06-08 14:25:23 +00:00
9b28b7f78a
fix: remove duplicate value i18n ( #8547 )
...
* fix: remove duplicate value i18n
Signed-off-by: Udit Takkar <[email protected] >
* feat: add duplicate check in next config
Signed-off-by: Udit Takkar <[email protected] >
* fix: remove more duplicates
Signed-off-by: Udit Takkar <[email protected] >
* fix: description on two factor page
Signed-off-by: Udit Takkar <[email protected] >
* Update apps/web/next.config.js
* Update apps/web/next.config.js
---------
Signed-off-by: Udit Takkar <[email protected] >
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
2023-06-08 13:37:54 +00:00
f86c6734a7
fix: Wrong padding on "Invite Team Members" modal (CALCOM-8414-FIX) ( #9273 )
...
* Fix margin from invitation modal content
* Change margin to padding in Dialog component, so the divider absolute property works properly
* Update Dialog.tsx padding from the button top from 24px to 16px
* Change Dialog content padding to match figma design, having the padding bottom 16px
* Update FormBuilder.tsx to match figma
* Update FormBuilder.tsx Dialog content inner div paddings
* Update FormBuilder.tsx, remove relative to fix divider
* Fixing padding across dialogs
* nit
* Fixes e2e
* undo wrong padding
* fixed footer with divider
---------
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: zomars <[email protected] >
2023-06-07 19:55:47 +00:00
2dbc73c75b
chore: fix all Typescript warnings ( #8618 )
...
* [CAL-1517] fix all Typescript warnings
* solve conflicts
* Update stripeCheckoutSession.handler.ts
Parse is a guard, so even though the variable is unused the parse itself is needed.
* Update ToolbarPlugin.tsx
Don't change dependency tree
---------
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
2023-06-06 11:59:57 +00:00
Ujwal Kumar and alannnc
3a943fbc81
Fix background colour for show on booking page switch on event types page ( #9318 )
...
Co-authored-by: alannnc <[email protected] >
2023-06-05 22:24:10 +00:00
Ujwal Kumar
97fe41f3ba
Fix hardcoded label of identifier label in form builder ( #9249 )
2023-06-05 09:47:08 +00:00
f72296c323
fix: footer in modals ( #8940 )
...
* [CAL-1543] Fix the footer in modals
* change request
* update style
* fix modal height
* Lint fix
* Fix the footer in modals
---------
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: alannnc <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Bailey Pumfleet <[email protected] >
2023-05-30 15:44:24 +00:00
VasuDevrani
35144e6f47
fixed: x button overlap ( #9198 )
2023-05-30 14:13:17 +00:00
Hariom Balhara
b8b6c48d7d
Improvements: Prefill Routing Forms and connect prefilling with Booking Form ( #8780 )
...
* Support prefilling routing form and prefilling Booking form through routing form
* Use Option Value as is instead of lowercasing
* Fix prefill validation issue
* Add prefill tests
* Fix Routing Form tests
* Small fix
2023-05-17 08:47:48 +00:00
Nafees Nazik
4b70a20941
fix: overflow ( #8858 )
2023-05-12 10:55:11 +00:00
Hariom Balhara
be3d2fca05
Use name to generate unique for attribute for label ( #8265 )
2023-04-15 13:22:51 +00:00
Udit Takkar and Omar López
6639588c2d
fix: selectfield bug and min height ( #8253 )
...
* fix: selectfield bug and min height
Signed-off-by: Udit Takkar <[email protected] >
* fix: remove overflow
Signed-off-by: Udit Takkar <[email protected] >
---------
Signed-off-by: Udit Takkar <[email protected] >
Co-authored-by: Omar López <[email protected] >
2023-04-13 21:45:18 +00:00
5170fc2424
Managed event-types ( #6876 )
...
* WIP
* Locked fields manager
* Leftovers
* Bad merge fix
* Type import fix
* Moving away from classes
* Progress refactoring locked logic
* Covering apps, webhooks and workflows
* Supporting webhooks and workflows (TBT)
* Restoring yarn.lock
* Progress
* Refactoring code, adding default values
* Fixing CRUD for children
* Connect app link and case-sensitive lib renaming
* Translation missing
* Locked indicators, empty screens, locations
* Member card and hidden status + missing i18n
* Missing existent children shown
* Showing preview for already created children
* Email notification almost in place
* Making progress over notif email
* Fixing nodemailer by mixed FE/BE mixup
* Delete dialog
* Adding tests
* New test
* Reverting unneeded change
* Removed console.log
* Tweaking email
* Reverting not applicable webhook changes
* Reverting dev email api
* Fixing last changes due to tests
* Changing user-evType relationship
* Availability and slug replacement tweaks
* Fixing event type delete
* Sometimes slug is not there...
* Removing old webhooks references
Changed slug hint
* Fixing types
* Fixing hiding event types actions
* Changing delete dialog text
* Removing unneeded code
* Applying feedback
* Update yarn.lock
* Making sure locked fields values are static
* Applying feedback
* Feedback + relying on children list, not users
* Removing console.log
* PR Feedback
* Telemetry for slug replacement action
* More unit tests
* Relying on schedule and editor tweaks
* Fixing conteiner classname
* PR Feedback
* PR Feedback
* Updating unit tests
* Moving stuff to ee, added feature flag
* type fix
* Including e2e
* Reverting unneeded changes in EmptyScreen
* Fixing some UI issues after merging tokens
* Fixing missing disabled locked fields
* Theme fixes + e2e potential fix
* Fixing e2e
* Fixing login relying on network
* Tweaking e2e
* Removing unneeded code
---------
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: zomars <[email protected] >
2023-04-12 23:10:23 -03:00
Abdallah Alsamman and Alex van Andel
91f381bce9
Replace react icons with lucidedev ( #8146 )
...
* migrate from react-icons to lucide-react
* replace react-icon with lucide-dev: Webhook Icon
* add lucide transformer
* Fix LinkIcon import
* Update yarn.lock to include monorepo deps
* Migrated icons in ChargeCardDialog
* Port Storybook to new icons as well
* Adjust Info & Globe icons size to match react-icons size
---------
Co-authored-by: Alex van Andel <[email protected] >
2023-04-12 17:26:31 +02:00
sean-brydon
e3a1f20cc8
Darkmode Fixes ( #8191 )
2023-04-11 12:15:10 +00:00
Udit Takkar
a363b1e903
fix: ui and ux improvements in booking questions ( #7734 )
2023-04-06 08:17:53 +00:00
sean-brydon
4b0d22655d
Feat/tokens + darkmode + theme support ( #7876 )
2023-04-05 18:14:46 +00:00
Hariom Balhara and Alex van Andel
5993e0842c
Fix: EventType crash when Moving up and down beyond boundaries ( #7765 )
...
* Make sure that moving up and down doesnt go beyond boundary
* Update packages/features/form-builder/FormBuilder.tsx
Co-authored-by: Alex van Andel <[email protected] >
---------
Co-authored-by: Alex van Andel <[email protected] >
2023-03-16 05:25:37 +00:00
Hariom Balhara
7179b09d7b
Allow rescheduleReason to be marked required ( #7729 )
2023-03-16 10:40:20 +05:30
Peer Richelsen
877f72d11a
fixed leading for labels
2023-03-15 14:04:55 +01:00
Hariom Balhara
7edebbcef0
Make sure that a hidden field/question is never required ( #7652 )
...
* Update required field value as per hidden field value
* Translate Required and Optional
* Translate Label and Placeholder
2023-03-10 14:11:41 +00:00
Hariom Balhara
6f8ea490d0
"Manage Booking Questions" - Add a comprehensive test ( #7465 )
...
* Add first test
* Add test for team event as well
2023-03-07 17:40:47 +00:00
Nafees Nazik
a25195cf20
fix: overflow issue in event type form builder and booking page ( #7553 )
2023-03-07 13:25:06 +05:30
Carina Wollendorfer and CarinaWolli
a0f55707e2
make "text" the default value ( #7543 )
...
Co-authored-by: CarinaWolli <[email protected] >
2023-03-06 23:27:29 +00:00