Alex van Andel
4228f576b1
Revert "fix: cancel download fetch when progress toast is closed ( #27151 )"
...
This reverts commit fd476bf7f7 .
2026-01-27 17:37:31 -03:00
fd476bf7f7
fix: cancel download fetch when progress toast is closed ( #27152 )
...
* fix: cancel download fetch when progress toast is closed
- Create new progress-toast utility using @coss/ui toastManager
- Add ToastProvider to app providers
- Update download components to use AbortController for cancellation
- When cancel button is clicked, abort signal stops the fetch loop
Co-Authored-By: eunjae@cal.com <hey@eunjae.dev >
* fix: track active toasts with Set instead of accessing toastManager.toasts
Co-Authored-By: eunjae@cal.com <hey@eunjae.dev >
* feat: add AnchoredToastProvider to app providers
Co-Authored-By: eunjae@cal.com <hey@eunjae.dev >
* refactor: extract common CSV download logic into useCsvDownload hook
Co-Authored-By: eunjae@cal.com <hey@eunjae.dev >
* refactor: improve progress toast with i18n support and Progress component
Co-Authored-By: eunjae@cal.com <hey@eunjae.dev >
* refactor: replace useCsvDownload hook with DownloadButton component
Co-Authored-By: eunjae@cal.com <hey@eunjae.dev >
* refactor: rename DownloadButton to CsvDownloadButton
Co-Authored-By: eunjae@cal.com <hey@eunjae.dev >
* clean up i18n
* fix: properly throw AbortError when download is cancelled
Co-Authored-By: eunjae@cal.com <hey@eunjae.dev >
* Revert "fix: properly throw AbortError when download is cancelled"
This reverts commit 3c64b848140271e4dcd2e45dba5302eef9ca562c.
* fix abort controller
* fix layout shift
* better handle error
* fix: address Cubic AI review feedback
- Fix typo 'copmlete' -> 'complete' in download_progress i18n string
- Treat null batch as failure during CSV download to prevent partial exports
Co-Authored-By: unknown <>
* remove redundant try - catch
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-01-27 16:46:37 +00:00
Benny Joo and Devin AI
15268bcfb4
refactor: move timezone-select, settings, and insights components from packages/features to apps/web/modules ( #27227 )
...
* refactor: move timezone-select, settings, and insights components from packages/features to apps/web/modules
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix
* fix
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* wip
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-01-26 12:05:18 +00:00
9048d053ac
feat: posthog version upgrade and added trackings ( #24401 )
...
* posthog version upgrade and calai banner tracking
* disable posthog for EU
* bunch more posthog tracking
* Revert yarn.lock changes
* add posthog package yarn changes
* fix: add missing posthog import and fix lint warning in MemberInvitationModal
Co-Authored-By: amit@cal.com <samit91848@gmail.com >
* fix: type check
* cubic fixes
* refactor
* remove ui playground
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-11-28 12:43:37 +00:00
20b7ac8c0d
feat: implement tiered Intercom chat system replacing Plain ( #23285 )
...
* feat: implement tiered Intercom chat system replacing Plain
- Add TieredIntercomChat component with customer tier detection
- Add IntercomContactForm for free users using Intercom API
- Add /api/intercom-conversation endpoint for free user support
- Update UserDropdown to use tiered chat logic
- Replace Plain chat with Intercom in app providers
- Remove all Plain chat components and related files
- Use useHasPaidPlan hook for customer tier detection
Paying customers see Intercom widget, free users see contact form
that creates conversations via Intercom API.
Co-Authored-By: peer@cal.com <peer@cal.com >
* fix: add missing environment variables to turbo.json globalEnv
- Add NEXT_PUBLIC_WEBAPP_URL, NEXT_PUBLIC_WEBSITE_URL, NEXT_PUBLIC_STRIPE_PUBLIC_KEY
- Add NEXT_PUBLIC_IS_E2E, NEXT_PUBLIC_STRIPE_PREMIUM_PLAN_PRICE_MONTHLY
- Add NEXT_PUBLIC_BOOKER_NUMBER_OF_DAYS_TO_LOAD, NEXT_PUBLIC_STRIPE_CREDITS_PRICE_ID
- Resolves turbo/no-undeclared-env-vars ESLint errors blocking commits
Co-Authored-By: peer@cal.com <peer@cal.com >
* fix: resolve linting errors in platform examples base package
- Fix prettier/prettier formatting (quotes and comma)
- Add underscore prefix to unused variables
- Resolves CI failure in @calcom/base#lint check
Co-Authored-By: peer@cal.com <peer@cal.com >
* remove plain usage
* placement fixes
* fix: pop closing immediately issue
* stuff
* proper error and additional user info
* add key to .env.example and remove unused plain route
* fix conversation route
* refactor intercom dynamic provider
* code rabbit fixes
* feat: introduce tiered support feature flag
* fix: type check
* Apply suggestion from @coderabbitai[bot]
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-09 18:20:22 +09:00
5bab2af500
chore: some minor QA fixes ( #22727 )
...
Post release / release (push) Canceled after 0s
* Various fixes
* Remove tooltip
* another string change
* Fix width of custom event name modal to prevent overflow
* Booking questions fixes
* minor string fix
* checkbox alignment
* padding in reassign dialog
* fix: update FormBuilder tests for checkbox UI changes
- Updated test utilities to work with CheckboxField instead of BooleanToggleGroupField
- Fixed badge expectations to check for 'optional' instead of 'required'
- Updated dialog interaction methods to use checkbox.checked instead of button text
- All 13 FormBuilder tests now pass successfully
Fixes failing tests in PR #22727 caused by UI changes from toggle buttons to checkboxes for required field selection.
Co-Authored-By: amit@cal.com <samit91848@gmail.com >
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: amit@cal.com <samit91848@gmail.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2025-08-25 18:11:18 +09:00
Hariom Balhara
f905ae7502
fix: Add CSP back to login page ( #22688 )
...
* Middleware only logic to add CSP header as Next.js App Router doesnt allow setting header in server component
* add tests
* Remove nonce from Page Router and fix ts issues
* Add checkly test
2025-07-26 01:38:20 +01:00
Udit Takkar
c2b091aa67
perf: don't load ring.mp3 on booking page ( #21272 )
2025-05-13 16:48:14 +00:00
Keith Williams and hbjORbj
be883aac02
perf: Remove ssrInit from layout and event-types ( #20368 )
...
* perf: Remove ssrInit from layout and event-types
* remove ssg file since not used
* refator trpc usage in app router
* fix
---------
Co-authored-by: hbjORbj <sldisek783@gmail.com >
2025-03-26 22:04:52 -03:00
Udit Takkar
b0125e1a05
feat: sound on browser push notification ( #18548 )
...
* feat: sound on notification
* refactor: add load audio
* chore: remove
* fix: type error
* fix: notification
* fix: prevent multiple initialization
=
* feat: create notification page
* chore: update the mp3 file
2025-03-11 11:49:51 +05:30
Benny Joo
6ea879f265
perf: run ssrInit() at root layout ( #19460 )
...
* wip
* remove ssrInit unneeded
* refactor
* revert unneeded changes
* update booking-page-wrapper layout
2025-02-25 06:08:23 -05:00
Hariom Balhara and hbjORbj
25f3368fa1
fix: Plain Chat loading in embed ( #19348 )
...
* PlainChat has to be on dashboard and not on booking pages
* improve useIsBookingPage
---------
Co-authored-by: hbjORbj <sldisek783@gmail.com >
2025-02-19 06:40:32 +00:00
d027f8004a
perf: Move PlainChat up the hierarchy to remove rerenders ( #19255 )
...
* perf: Move PlainChat up the hierarchy to remove rerenders
* rmeove yarn lock
---------
Co-authored-by: Nizzy <nizabizaher@gmail.com >
Co-authored-by: nizzy <140507264+nizzyabi@users.noreply.github.com >
2025-02-12 19:13:54 +00:00
Benny Joo
15156c2225
perf: use react svg cache from root level ( #18506 )
2025-01-08 09:29:50 +01:00
Benny Joo
9d4496133e
feat: Prevent re-renders (moving SessionProvider to Root level for both app router / pages router) ( #18493 )
2025-01-07 11:46:08 +01:00