Amit Sharma and GitHub
a55d56f260
fix: Intercom not opening with openSupport param ( #23755 )
...
* fix: Intercom not opening with openSupport param
* remove logs
* remove unused
2025-09-11 18:11:42 +05:30
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
20d6eb5200
perf: Slim down loggedInViewer tRPC router ( #20111 )
...
* perf: Slim down loggedInViewer tRPC router
* Fixed trpc client calls for new routes
* Moved bookingUnconfirmedCount
* Moved getUserTopBanners to me router
* Moved shouldVerifyEmail to me router
* Moved i18n from public to its own router
* fix ssrInit
* fix ssrInit usage
* fix type check
* better naming
* fix
* fix
* Fix types
* Removed used of importHandler
---------
Co-authored-by: hbjORbj <sldisek783@gmail.com >
2025-03-16 18:22:48 -07:00
7dbcb62724
perf: Move /me stats to separate tRPC handler ( #17206 )
...
* perf: Move /me stats to separate tRPC handler
* Update packages/trpc/server/routers/loggedInViewer/meStats.handler.ts
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
* Rename and skipping batch for myStats
* Refactor of counting team events
* Fixed type issues
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-11-13 20:55:57 -03:00
4553455098
chore: refactor shell to individual files ( #16893 )
...
* banners
* useAuthHooks
* fixes to redirect and banner
* extract useIntercom to custom hook
* use app theme
* extract user-dropdown to new component
* Navigation Item
* navigation and profile dropdown
* Fix import
* navigation and sidebar
* fix type errors
* fix banners being an async call
* fix types
* fix banner prop type
* fix mobile nav item import
* fix banner types
* (revert) layout banner render method to fix type error
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-10-02 15:35:56 +01:00
8499aebe88
fix: intercom has organisation ( #15224 )
...
* fix: intercom has organisation
* Apply suggestions from code review
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-05-29 12:22:25 +00:00
bc0c40d260
feat: cal-3452 parameter for impersonation ( #14605 )
...
* feat: impersonate trigger when there is a URL param
* feat: update intercom sidebar
* fix: add to onOpen too
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-05-07 10:33:19 -03:00
ef98105503
feat: send organization_id to intercom ( #14811 )
...
* send organization_id to intercom
* send org slug instead of org id
* fix: type errors
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-04-30 21:38:18 +00:00
Somay Chauhan and GitHub
46ffeaee82
feat: add additional attributes to intercom ( #14794 )
...
* feat: add additional attributes to intercom
* remove console.log
* added is_premium
2024-04-29 19:50:07 +02:00
Somay Chauhan and GitHub
b7e8b252d2
fix: send completed_onboarding to intercom ( #14703 )
2024-04-22 14:12:02 +00:00
Somay Chauhan and GitHub
b61820d354
fix: custom attributes not being synced in intercom ( #14600 )
...
* fix: custom attributes not being synced in intercom
* fix: ssrInit
2024-04-16 11:03:45 +01:00
f010279303
feat: always show intercom on desktop by default (hidden on mobile) ( #14423 )
...
* feat: always show intercom on desktop by default (hidden on mobile)
* Revert "feat: always show intercom on desktop by default (hidden on mobile)"
This reverts commit d14a7b0808a5c3b7f15de75d3a422c4ec5e14f2b.
* feat: always show intercom on desktop by default (hidden on mobile)
* fix: type error
* refactor
* saved showIntercom in localstorage instead of DB
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-04-11 18:58:37 +00:00
Omar López and GitHub
0e8fa22b09
chore: adds Intercom admin link ( #14146 )
2024-03-20 14:00:32 +00:00
e6cd016cad
fix: usage of CAL_URL ( #13326 )
...
Co-authored-by: zomars <zomars@me.com >
2024-02-13 06:03:45 +00:00
3e08c66888
refactor: Use template literal instead of '+' operator ( #11444 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: zomars <zomars@me.com >
2023-10-03 11:52:19 -07:00
Hariom Balhara and GitHub
59e2f6e4a7
perf: Booker-Bundle Size Improvement - Lazy load react-select, remove lodash and Dom Purify ( #10814 )
2023-08-18 11:13:21 -07:00
Nafees Nazik and GitHub
81e57afcf4
fix: user undefined ( #9022 )
2023-05-22 23:02:54 +00:00
8a2ab68e9a
feat: add user hash for intercom ( #8263 )
...
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2023-04-19 22:22:07 +02:00
Alex van Andel and GitHub
46f0b55a45
Techdebt/bundle size experiments ( #7894 )
...
* Checking package size effects when we remove zod from middleware
* Remove 'crypto' from client code
* Revert "Checking package size effects when we remove zod from middleware"
This reverts commit ecc2038411c73fc562d57712d5c83d66925e7e13.
* Adding lodash to dynamicImports + consistent imports
* Remove the locales from the global Dayjs object
2023-03-23 11:49:28 -07:00
efb9bf7116
replacing intercom with helpscout ( #7865 )
...
Co-authored-by: nafees nazik <nafeesnazik21@gmail.com >
2023-03-22 14:29:14 +00:00
464343f5ab
Refactors EE code ( #3490 )
...
* WIP
* WIP
* Type and migration fixes
* Adds missing default import
* Fixes import
* Fixes tRPC imports in App Store
* Migrate stripe helpers
* WIP
* Type fixes
* Type fix?
* WIP
* WIP
* Update index.ts
* Fixes
* Update workflow.tsx
* Moved queries to lib
* Moves QueryCell
* Migrates MultiSelectCheckboxes
* WIP
* CryptoSection type fixes
* WIP
* Import fixes
* Build fixes
* Update app-providers.tsx
* Build fixes
* Upgrades hookform zod resolvers
* Build fixes
* Cleanup
* Build fixes
* Relocates QueryCell to ui
* Moved List and SkeletonLoader
* Revert QueryCell migration
* Can't use QueryCell here
* oops
* CryptoSection cleanup
* Update app-providers.tsx
* Moved ee to features
* ee to features/ee
* Removes @calcom/ee
* Adds possible feature locations
* Build fixes
* Migrates stripe to app-store lib
* Colocates stripe imports
* Update subscription.ts
* Submodule sync
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-28 13:58:26 -06:00