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
Amit Sharma and GitHub
0a9e732ea4
fix: Plain chat not opening from help button for free users and on bookings list page ( #23491 )
2025-09-01 12:28:01 +00:00
Benny Joo and GitHub
77b656024a
feat: placeholder component for user dropdown to remove layout shift ( #20696 )
...
* feat
* refactor
2025-04-15 15:17:14 -04:00
853f9bc436
perf: do not import from @calcom/ui barrel file ( #20184 )
...
* Icon and IconName
* Button and ButtonGroup
* UserAvatar
* AvatarGroup
* Avatar
* WizardLayout
* Dialogs
* EmptyScreen
* showToast and TextField
* Editor
* Skeleton
* Skeleton
* TopBanner and showToast
* Button again
* more
* perf: Remove app-store reference from @calcom/ui
* more
* Fixing types
* Icon
* Fixed casing
* dropdown
* more
* Select
* more
* Badge
* List
* more
* Divider
* more
* fix
* fix type check
* refactor
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix type check
* fix
* fix
* fix
* fix
* more
* more
* more
* more
* add index file to components/command
* fix
* fix
* fix
* fix imports
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix build errors
* fix build errors
* fix
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2025-03-19 19:00:55 -03: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
Keith Williams and GitHub
78d06c6d01
refactor: Move classNames from @calcom/lib to @calcom/ui ( #19674 )
...
* refactor: Move classNames from @calcom/lib to @calcom/ui
* Import fix
* Removed extra import of classNames
* Removed tailwind-merge from @calcom/lib
2025-03-03 15:54:33 +00:00
Özer and GitHub
050a030ff0
fix(ui): prevent text descender cutoff in user dropdown ( #19309 )
2025-02-19 12:44:21 +00:00
+7
225313e391
feat: Plain chat ( #18284 )
...
* plain custom desin
* No display on card
* dynamic plain chat component and hmac hash
* re-route users to plain.com chat instead of intercom chat when going to /support
* provider errors
* yarn lock fix
* plain chat removed unneeded hmac
* fix ts error
* error handling improved
* remove intercome provider from app-dir
* Create getting-started.mdx (#18342 )
* Delete help directory (#18343 )
* chore: moved docs/help to /help (#18345 )
* chore: Delete unused guides directory (#18346 )
* feat: booking filters (#18303 )
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
* chore: Remove `HeadSeo` components where no longer needed + improve app router metadata logic (#18348 )
* remove HeadSeo for already migrated pages and refactor prepareMetadata
* create _generateMetadataWithoutImage and refactor _generateMetadata
* chore: app router - /bookings status page (#18183 )
* chore: app router - /bookings page
* remove env vars
* fix
* Update middleware.ts
* revert unneeded change
* refactor for the better
* fix
* cache i18n instances (#18309 )
* feat: virtual queues tab in insights (#18260 )
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: sean-brydon <sean@cal.com >
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Omar López <zomars@me.com >
* feat: update translations via @replexica (#18361 )
Co-authored-by: Replexica <support@replexica.com >
* update OOO e2e tests to remove flakiness (#18367 )
* fix: metadata is overwritten for child managed eventType when updating parent (#18059 )
* fix: metadata is overwirten
* Update
* type error
* Update
* fix test
* fix type error
* chore: added routing support link (#18369 )
* Added routing form support link
* small change
* Type fix
---------
Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com >
* chore: refactor handling logic for embeds in app router (#18362 )
* refactor handling logic for embeds in app router
* fix type checks
* add test for withEmbedSsrAppDir
* fix
* review changes
* yarn lock
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Calcom Bot <109866826+calcom-bot@users.noreply.github.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
Co-authored-by: Benny Joo <sldisek783@gmail.com >
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: sean-brydon <sean@cal.com >
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
Co-authored-by: Omar López <zomars@me.com >
Co-authored-by: Replexica <support@replexica.com >
Co-authored-by: Vijay <vijayraghav22@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2024-12-26 19:07:08 +00:00
Nizzy and GitHub
b56824e626
removed posthog identifier ( #18253 )
2024-12-18 15:03:17 -05:00
ddfbe25903
feat: adding posthog libs for node + js ( #16862 )
...
* adding posthog libs for node + js
* updating lock
* move to init posthog client - pageview component
* adding identify in shell
* removing test event captures
* add signout tracking to dropdown as it was missed in merge
---------
Co-authored-by: sean <sean@brydon.io >
Co-authored-by: Bailey Pumfleet <bailey@pumfleet.co.uk >
2024-11-04 11:46:25 -05: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