Tushar Bhatt
eb19edfa8f
feat:overlay-calendar ( #20610 )
2025-04-10 11:53:02 +00:00
Anik Dhabal Babu
2db4222ffe
wrong layout ( #20584 )
2025-04-08 05:20:29 +00:00
Keith Williams
35d54ff223
revert: "feat: enable 'Overlay Calendar' enabled by default for signed in users ( #18188 )" ( #20600 )
...
This reverts commit 46c7afade6 .
2025-04-08 00:56:17 +00:00
46c7afade6
feat: enable 'Overlay Calendar' enabled by default for signed in users ( #18188 )
...
* feat: enable 'Overlay Calendar' enabled by default for signed in users
* feat: enable 'Overlay Calendar' enabled by default for signed in users
Changes Made:
- 'Overlay Calendar' is enabled by default when the component mounts for signed in users
- On every view which is toggled, 'Overlay Calendar' will be enabled by default for signed in users
* feat: enable 'Overlay Calendar' enabled by default for signed in users
Changes Made:
- 'Overlay Calendar' is enabled by default when the component mounts for signed in users in the web wrapper instead of the Booker Component
* feat: enable 'Overlay Calendar' enabled by default for signed in users
Changes Made:
- Persist the user’s preference to keep it disabled, even after a view toggle.
* minor-enhancement
---------
Co-authored-by: amrit <iamamrit27@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: Tushar Bhatt <95581504+TusharBhatt1@users.noreply.github.com >
Co-authored-by: Tushar <tusharbhatt0135@gmail.com >
2025-04-07 12:28:53 +05:30
Benny Joo
19a0f968ca
perf: Speed up User Type booking page ( #20516 )
...
* refactor [user]/[type] server logic
* refactor useSlot
* refactor
* fix
* fix OG images
* fix
2025-04-03 22:13:53 -03:00
Lauris Skraucis and Rajiv Sahal
8a18e167e9
fix: remove oAuth clientId from email when rescheduling platform booking ( #20354 )
...
Co-authored-by: Rajiv Sahal <sahalrajiv-extc@atharvacoe.ac.in >
2025-03-25 13:18:29 +00:00
Rajiv Sahal and Morgan
08d4c800e9
feat: allow timezones selection in Booker atom via prop ( #20044 )
...
* expose props to pass in timezones and booking dry run values from outside
* fix merge conflicts
* update typings
* add props values to test
* fixup: PR feedback
* PR feedback
* fix wrong prop name
* fix merge conflicts
* fixup
* update docs
* update docs examples
* fix props naming
* fix timezone component logic and typo
* extract typings of timeZones
* update typings for Timezone
* update docs
* resolve merge conflicts
* fix typings
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2025-03-20 14:05:45 +00:00
Lauris Skraucis
91d4f1c219
feat: booker atom confirm and back button styling ( #20162 )
...
* feat: submitButtonDisabled Booker atom prop
* feat: confirmStep.confirmButton & backButton booker styles
* refactor: rename submitButtonDisabled to confirmButtonDisabled
* feat: implement this feature for skip confirm step
* refactor: naming
2025-03-19 11:30:48 +00:00
Lauris Skraucis
db52f44293
fix: atoms making requests to customers' domains ( #20084 )
...
* refactor: centralize useSchedule hook with isInit
* refactor: centralize useSchedules hook with isInit
* refactor: useConnectedCalendars enabled if isInit
* chore: some type fixes
* chore: type fix
* fix: import paths
* driveby: oauth clients docs
2025-03-17 10:43:39 +02:00
Somay Chauhan
b1ebefb854
feat: don't update query params for booker atom ( #20000 )
...
* feat: Add `omitUpdatingParams` prop to Booker store for query param control
* remove console
* Update booking.tsx
* fix: type check failing
* undo changes
* feat: Expose `onBookerStateChange` callback to track `booker-store` updates
* add `onBookerStateChange` docs
* Update store.ts
* added `allowUpdatingUrlParams` for backwards compatibility
2025-03-13 23:47:24 +05:30
Lauris Skraucis and Morgan Vernay
76b9b9b0fe
fix: v2 rescheduled booking with confirmation ( #19833 )
...
* fix: old bookings controller
* fix: new bookings controller
* fix: BookerPlatformWrapper pass rescheduledBy to BookerComponent
* rescheduleBy email
* fix test
* remove log
* centralize getOAuthUserEmail, examples app rescheduledBy
* revert
* finalize
* fix: old bookings rescheduling
* unify email validation
* update input description
* chore: move booker platform wrapper types
---------
Co-authored-by: Morgan Vernay <morgan@cal.com >
2025-03-11 20:04:59 +01:00
Morgan
5d84179345
refactor: circular dependencies platform packages ( #19903 )
...
* refactor: circular dependencies platform packages
* fixup! refactor: circular dependencies platform packages
* fixup! fixup! refactor: circular dependencies platform packages
* fix: circular deps in BaseCalProvider
2025-03-10 13:25:01 +00:00
Rajiv Sahal
870cadd81f
fix: dry run improvements for v2 ( #19196 )
...
* add dry run param for v2 getSlots
* fixup
* revert changes
* dont reserve a slot for booking dry run
* accept dry run prop as a parameter instead of computing
* fix merge conflicts
* fixup
* dont reserve slots for booking dry run
2025-03-07 14:49:54 +05:30
Udit Takkar and Peer Richelsen
f008a28499
fix: open cal video url on new page when ready ( #19683 )
...
* fix: open cal video url on new page when ready
* fix: open on new tab
* chore: change logic
* chore: add condition for embed
* chore: simplify the code
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2025-03-05 18:27:06 +05:30
sean-brydon and Bailey Pumfleet
d38b35b626
chore: remove storybook ( #19659 )
...
* remove storybook
* remove storybook trpc provider
* add user-event
* fix lockk file
---------
Co-authored-by: Bailey Pumfleet <bailey@pumfleet.co.uk >
2025-03-04 14:14:56 -07:00
Morgan
00f50a9449
feat: booker atom prevent event type success redirect ( #19573 )
2025-02-26 18:54:03 +02:00
Somay Chauhan and Udit Takkar
829bb63eb9
fix: skip confirm step followup ( #19076 )
...
* Fix: Resolved double-click issue on timeSlot in Booker Atom
* fix: show toast on booking error
* fix: type error
* Prevent the automatic change of bookerState when all fields are filled.
* fix: when a user clicks on a new timeslot, any previously displayed "Confirm" button should be hidden
* Update useSkipConfirmStep.ts
* fix: remove 2 states for slots
* Update useSlotsForDate.ts
* fix types
* use common types
* fix: show VerifyCodeDialog and RedirectToInstantMeetingModal when skiping confirm step
* fix for instant bookings
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2025-02-21 19:07:54 +05:30
Morgan
486e3a386e
chore: salesforce for Router / Booker atoms and api v2 ( #19217 )
...
* wip
* small refactor
* small refactor
* fixup! Merge branch 'main' into enable-salesforce-router-apiv2-atom
* crm props
* fixup! crm props
* bump platform libraries
* bump platform libraries
2025-02-12 15:04:38 +02:00
Somay Chauhan
56cd9cef8b
perf: don't fetch all the hosts #18319 followup ( #19021 )
...
* perf: don't fetch all the hosts #18319 followup
* undo for user events
* undo for regular user events
* fix: limitHostsToThree -> hostsLimit
* accepting hostLimit prop in <Booker />
* Update booking.tsx
* hostLimit -> hostsLimit
2025-01-31 12:19:21 +02:00
1e610ea684
perf: don't fetch all the hosts ( #18319 )
...
* perf: don't fetch all the hosts
* fix: type err
* use appschema only when necessary
* Variable casing change and type fixes
* Another missing ts fix
* chore: update variable name
* chore: remove from personal event types
* chore: remove limitHostsToThree
* chore: make it a variable
* chore: move it below
* chore: change name to firstThreeHosts
* chore: update to first three users
* fix: type error
* chore: add firstThreeHosts
* fix: type error
* fix: type error
* fix: support users
* chore: update metadata
* fix: API v2 build error
* chore: change var name
* chore: remove cursorrules
* chore: undo API v2 changes
* chore: add type
---------
Co-authored-by: Hariom <hariombalhara@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2025-01-29 19:05:54 +02:00
8615ccb1aa
feat: routing forms integration for booker atom ( #18726 )
...
* update booker atom for routing form
* remove logs
* hide routing form properties from docs
* fixup
* add comments to explain why certain fields are not defined for routing forms in v2
* chore: routing for handler return team and org id
* bump libraries platform
* fixup! bump libraries platform
* chore: get routing form params to embed
* logs to remove
* fix import path
* chore: handle routing form params in booker embed
* wip need router api v2 endpoint
* resolve merge conflicts
* fixup
* fixup! Merge branch 'main' into remove-redirect-on-success-for-platform
* fixup! fixup! Merge branch 'main' into remove-redirect-on-success-for-platform
* router atom
* fix libraries version
* cleanup
* remove console logs
* bump libraries
---------
Co-authored-by: Morgan Vernay <morgan@cal.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2025-01-29 13:51:58 +02:00
Rajiv Sahal
15e7fc192e
fix: requires confirmation for event type atom ( #18729 )
...
* redirect on success from event types
* fixup
2025-01-22 18:32:10 +05:30
3eb5490df9
feat: Use Cloudflare Turnstile in booker ( #18755 )
...
* feat: Use Cloudflare Turnstile in booker
* move files arround
* render turnstile widget and add token to store
* use token from body instead of headers
* watch cf token to re-render disabled state
* Update packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx
* Update packages/features/bookings/lib/create-booking.ts
* ensure bool
* add to recuring event
* fix recuring events
---------
Co-authored-by: sean-brydon <sean@cal.com >
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
Co-authored-by: Benny Joo <sldisek783@gmail.com >
2025-01-21 11:27:56 +05:30
Lauris Skraucis
c21ba636d2
fix: Booker atom name booking field ( #18653 )
...
* feat: split name booking field in v2
* fix: booker atom handle split name
* fix: after and before start dates bookings filter
* chore: bump platform libraries
2025-01-15 14:08:06 +05:30
821a16648f
fix: Timezone in Email Embed not working #15525 ( #15537 )
...
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: Hariom <hariombalhara@gmail.com >
2025-01-03 08:43:09 +00:00
Morgan and Rajiv Sahal
422ef2f5b8
chore: add cal.com logo to platform booker embed ( #18269 )
...
* chore: add cal.com logo to platform booker embed
* fixup! chore: add cal.com logo to platform booker embed
---------
Co-authored-by: Rajiv Sahal <sahalrajiv-extc@atharvacoe.ac.in >
2024-12-20 12:55:25 +02:00
Lauris Skraucis
80815bd8a5
feat: Booker atom slots callbacks ( #18203 )
2024-12-17 12:58:18 +05:30
Morgan
851d96423b
chore: small changes for platform booker embed ( #18159 )
2024-12-13 13:24:19 +01:00
9334b67f2c
feat: banner and avatars for Booker atom ( #17821 )
...
* init
* added bannerUrl to output
* cleanup
* fixup
* fix response DTOs
* remove logs
* send back avatar url for user
* enable passing avatar urls for managed user
* dont include urls for platform
* remove logs
* add team banner
* update docs
* nit
* PR feedback
* fix type error
* add prop to pass in bannerUrl
* update DTOs
* update tests
* fix tests
---------
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-12-09 14:35:57 +00:00
Rajiv Sahal
119edb5389
fix: localStorage not found for Booker atom ( #18014 )
2024-12-05 19:50:09 +05:30
Rajiv Sahal and Morgan Vernay
0cb955cc0b
fix: build failure for v4.7.15 ( #17968 )
...
* fix: type error causing broken build
* fix typings
* fixup! fix typings
* fixup! fixup! fix typings
---------
Co-authored-by: Morgan Vernay <morgan@cal.com >
2024-12-03 15:44:42 +00:00
fe209df2be
fix: ai translations description for atoms ( #17875 )
...
* remove ai translations description for atoms
* PR feedback
* fixup
---------
Co-authored-by: Benny Joo <sldisek783@gmail.com >
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-12-02 19:27:54 +00:00
8194ffcd07
feat: Autofill feature ( #15437 )
...
* feat: Autofill feature
* Revert "feat: Autofill feature"
This reverts commit ac94257cbb516e140ed550ae804e725ca5d036ca.
* feat: store prev response in localStorage
* review fixes
* add tests
* remove unused import
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
Co-authored-by: unknown <adhabal2002@gmail.com >
2024-11-18 20:04:02 +05:30
Rajiv Sahal
65484e7d01
fix: BookerEmbed atom localStorage issues ( #17611 )
2024-11-14 08:07:47 +00:00
Morgan
52093862ce
fix: booker timezone from preference instead of session ( #17520 )
...
* fix: booker timezone from preference instead of session
* fixup! fix: booker timezone from preference instead of session
2024-11-07 09:42:38 +00:00
Morgan
120cfed8a1
fix: booker platform atom multi duration selector ( #17419 )
2024-10-31 13:14:58 +00:00
Lauris Skraucis
4e90b65884
refactor: v2 and booker atom booking fields ( #17168 )
...
* handle storing disableOnPrefill
* feat: allow overriding properties of default name and email fields
* feat: allow overriding properties of default name and email fields
* feat: output booking fields
* fix: event type test
* refactor: booker atom booking fields handling
* tests
* fix: boolean booking field
* update platform libraries
* fix: unit tests
2024-10-21 13:45:30 +03:00
Udit Takkar
c7f4f52efa
perf: duplicate getSchedule request ( #17191 )
...
* fix: duplicate getSchedule request
* fix: add event type id
2024-10-20 08:56:37 +00:00
sean-brydon
e949a4c529
fix: pass from org link to all instances of event.public ( #17136 )
...
* pass from org link to all instances of event.public
* fix type error
* fix type error
2024-10-16 14:57:39 +01:00
64b321ac9c
feat: added custom class name to booker and availability atom ( #17105 )
...
* added custom class name for booker atoms wrapper
* atomsWrapper
* added props to availability atom
* allowDelete
* allowSetToDefault
* added customClassNames -> hiddenSwitchClassname, deleteButtonClassname
* Update availability.tsx
* fixup! Merge branch 'main' into add-custom-classname-to-booker-atom-wrapper
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Morgan Vernay <morgan@cal.com >
2024-10-16 12:04:33 +00:00
Hariom Balhara
123074f4ba
fix: Hotfix - Revert hideEventTypeDetails handling in Booker.tsx ( #17130 )
...
* Revert "fix: DatePicker not showing up in mobile mode when hideEventTypeDetails is true (#17037 )"
This reverts commit 1f08bc5a4f .
* Revert "feat: Booker atom enable hiding event details (#16906 )"
This reverts commit ba5b9e951a .
* Keep the playground test scenarios
2024-10-16 10:01:04 +00:00
Lauris Skraucis
a10d3599e2
refactor: platform bookings hooks & bookings API ( #16963 )
...
* chore: delete unused bookings hook
* refactor: group bookings hooks in folder
* refactor: rename useGetBooking, useGetBookings to useBooking, useBookings
* refactor: booking inputs and outputs
* chore: make bookings controller work with new inputs and outputs
* make examples app work
* refactor: deprecate fields instead of removing them
* readd eventtypeid
* swagger regenerate
* make recurring booking backwards compatible
* fix test
* update changelog
* swagger update
* fix import
* chore: update lock file
2024-10-08 14:05:28 +02:00
Lauris Skraucis
b0bfec7247
feat: Booker atom read only fields ( #16904 )
...
* refactor: include user-readonly in BookingFields
* feat: add read only name and email booking fields
* feat: Booker atom prop for read only name and email
* refactor: simplify props type
2024-10-07 15:03:07 +05:30
Lauris Skraucis
ba5b9e951a
feat: Booker atom enable hiding event details ( #16906 )
...
* refactor: Booker component hideEventTypeDetails hides sidebar
* feat: Booker atom hideEventTypeDetails prop
* fix: redundant border appearing if event details hidden
* Revert "fix: redundant border appearing if event details hidden"
This reverts commit 63122a906a8e41b54074387e1a6a4f0e4489a8a9.
* fix: border
2024-10-07 09:52:47 +02:00
Lauris Skraucis
e8dfa50119
fix: booker atom recurring event ( #16719 )
...
* fix: BookerEmbed prop type
* fix: booker atom not displaying recurring event
* fix: count interpolation in i18n
2024-10-01 14:00:04 +00:00
Morgan
b3be9a93e0
chore: expose metadata on platform booker atom ( #16673 )
2024-09-17 10:12:30 +00:00
Rajiv Sahal
071c899ea6
fix: overlay calendar view for Booker atom ( #16642 )
...
* overlay calendar needs to be false when in month_view
* fixup
2024-09-16 14:39:18 +00:00
sean-brydon
b84099aec0
fix: use correct redirect url for google oauth when using overlay calendar ( #16623 )
2024-09-13 18:14:33 +00:00
111e2f30c6
feat: overlay calendar for Booker atom ( #16551 )
...
* add prop to see if overlay calendar is enabled
* fix merge conflicts
* overlay calendar enabled prop
* cleanup
* hide toggle group if platform
* remove isPlatform conditional for overlay calendar
* dont display overlay calendar continue modal for platform
* fix images not appearing for platform
* update booker store
* update booker
* update booker
* shifting variables from booker store to useOverlayCalendar store
* update booker platform wrapper
* update booking page view
* revert changes to overlay calendar store
* update typings
* update toggle set value
* update handler to toggle connected calendar
* fixup
* update booker layout
* fixup! Merge branch 'main' into overlay-calendar-for-booker-atom
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Morgan Vernay <morgan@cal.com >
2024-09-13 08:13:20 +00:00
4a59841b02
feat: booking with phone number ( #14461 )
...
Co-authored-by: Omar López <zomars@me.com >
Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-09-11 17:56:04 -07:00