Skip to content

chore: remove Intercom integration and chat support components#8875

Merged
sriramveeraghanta merged 1 commit intopreviewfrom
chore/remove-intercom-components
Apr 9, 2026
Merged

chore: remove Intercom integration and chat support components#8875
sriramveeraghanta merged 1 commit intopreviewfrom
chore/remove-intercom-components

Conversation

@sriramveeraghanta
Copy link
Copy Markdown
Member

@sriramveeraghanta sriramveeraghanta commented Apr 9, 2026

Summary

  • Removed all Intercom-related frontend components (IntercomConfig, useChatSupport hook, ChatSupportEvent custom event)
  • Removed Intercom config from API instance endpoint and config variables
  • Removed is_intercom_enabled, intercom_app_id from instance types
  • Cleaned up orphaned i18n keys (message_support, chat_with_us) across all 19 locales
  • Renamed admin "Chat + telemetry" section to "Telemetry"

Test plan

  • Verify admin general settings page loads without errors
  • Verify sidebar help menu renders correctly without "Message support" option
  • Verify Power-K command palette no longer shows "Chat with us" command
  • Verify /api/instances/ endpoint no longer returns is_intercom_enabled or intercom_app_id

Summary by CodeRabbit

  • Chores
    • Removed Intercom chat support integration from the application
    • Removed "Message support" and "Chat with us" options from help menu and commands
    • Removed associated translation strings across all supported languages
    • Updated API instance configuration to no longer expose chat-related settings

Intercom is no longer used. This removes all related frontend components,
hooks, custom events, API config, types, and i18n keys.
Copilot AI review requested due to automatic review settings April 9, 2026 08:45
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 9, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 94d9477d-9173-4cc0-b7ea-06cf505e5819

📥 Commits

Reviewing files that changed from the base of the PR and between 77c4b9c and 5e3acc0.

📒 Files selected for processing (28)
  • apps/admin/app/(all)/(dashboard)/general/form.tsx
  • apps/admin/app/(all)/(dashboard)/general/intercom.tsx
  • apps/api/plane/license/api/views/instance.py
  • apps/api/plane/utils/instance_config_variables/core.py
  • apps/web/core/components/power-k/config/help-commands.ts
  • apps/web/core/components/workspace/sidebar/help-section/root.tsx
  • apps/web/core/custom-events/chat-support.ts
  • apps/web/core/hooks/use-chat-support.ts
  • packages/i18n/src/locales/cs/translations.ts
  • packages/i18n/src/locales/de/translations.ts
  • packages/i18n/src/locales/en/translations.ts
  • packages/i18n/src/locales/es/translations.ts
  • packages/i18n/src/locales/fr/translations.ts
  • packages/i18n/src/locales/id/translations.ts
  • packages/i18n/src/locales/it/translations.ts
  • packages/i18n/src/locales/ja/translations.ts
  • packages/i18n/src/locales/ko/translations.ts
  • packages/i18n/src/locales/pl/translations.ts
  • packages/i18n/src/locales/pt-BR/translations.ts
  • packages/i18n/src/locales/ro/translations.ts
  • packages/i18n/src/locales/ru/translations.ts
  • packages/i18n/src/locales/sk/translations.ts
  • packages/i18n/src/locales/tr-TR/translations.ts
  • packages/i18n/src/locales/ua/translations.ts
  • packages/i18n/src/locales/vi-VN/translations.ts
  • packages/i18n/src/locales/zh-CN/translations.ts
  • packages/i18n/src/locales/zh-TW/translations.ts
  • packages/types/src/instance/base.ts
💤 Files with no reviewable changes (26)
  • apps/web/core/components/power-k/config/help-commands.ts
  • packages/i18n/src/locales/ko/translations.ts
  • packages/i18n/src/locales/es/translations.ts
  • packages/i18n/src/locales/pt-BR/translations.ts
  • packages/i18n/src/locales/cs/translations.ts
  • packages/i18n/src/locales/it/translations.ts
  • apps/api/plane/license/api/views/instance.py
  • packages/i18n/src/locales/vi-VN/translations.ts
  • packages/i18n/src/locales/id/translations.ts
  • packages/i18n/src/locales/zh-TW/translations.ts
  • packages/i18n/src/locales/ro/translations.ts
  • packages/i18n/src/locales/pl/translations.ts
  • packages/i18n/src/locales/zh-CN/translations.ts
  • apps/web/core/custom-events/chat-support.ts
  • packages/i18n/src/locales/fr/translations.ts
  • packages/i18n/src/locales/tr-TR/translations.ts
  • apps/web/core/hooks/use-chat-support.ts
  • packages/i18n/src/locales/ja/translations.ts
  • packages/types/src/instance/base.ts
  • packages/i18n/src/locales/ru/translations.ts
  • packages/i18n/src/locales/ua/translations.ts
  • packages/i18n/src/locales/en/translations.ts
  • packages/i18n/src/locales/de/translations.ts
  • apps/admin/app/(all)/(dashboard)/general/intercom.tsx
  • packages/i18n/src/locales/sk/translations.ts
  • apps/api/plane/utils/instance_config_variables/core.py

📝 Walkthrough

Walkthrough

This PR removes Intercom chat support functionality across the application. Changes include eliminating the Intercom configuration UI component from the admin dashboard, removing Intercom-related configuration from API endpoints and configuration variables, deleting chat support hooks and event handlers from the web frontend, and removing related translation strings from 23 supported locales.

Changes

Cohort / File(s) Summary
Admin Dashboard
apps/admin/app/(all)/(dashboard)/general/form.tsx, apps/admin/app/(all)/(dashboard)/general/intercom.tsx
Removed IntercomConfig component import and rendering; changed UI section header from "Chat + telemetry" to "Telemetry"; eliminated updateInstanceConfigurations hook dependency and submission logic that disabled Intercom when disabling telemetry.
API Instance Configuration
apps/api/plane/license/api/views/instance.py, apps/api/plane/utils/instance_config_variables/core.py
Removed Intercom-related configuration retrieval (IS_INTERCOM_ENABLED, INTERCOM_APP_ID) from instance endpoint response; removed intercom_config_variables from core configuration variables exports.
Web Chat Support
apps/web/core/hooks/use-chat-support.ts, apps/web/core/custom-events/chat-support.ts
Deleted useChatSupport hook and ChatSupportEvent class; removed support event dispatching and enablement logic based on user, intercom config, and app ID.
Web UI Components
apps/web/core/components/power-k/config/help-commands.ts, apps/web/core/components/workspace/sidebar/help-section/root.tsx
Removed useChatSupport hook usage and "chat_with_us" / "message_support" menu entries from help commands and sidebar help section.
Localization
packages/i18n/src/locales/*/translations.ts
Removed message_support translation key from all 23 locale files (cs, de, en, es, fr, id, it, ja, ko, pl, pt-BR, ro, ru, sk, tr-TR, ua, vi-VN, zh-CN, zh-TW); removed nested power_k.contextual_actions.help_actions.chat_with_us from en and ru locales.
Type Definitions
packages/types/src/instance/base.ts
Removed is_intercom_enabled and intercom_app_id properties from IInstanceConfig; deleted TInstanceIntercomConfigurationKeys type; removed Intercom keys from TInstanceConfigurationKeys union.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Poem

🐰 Whisker-twitching tales of changes made,
Intercom chats have gently faded,
Telemetry stands strong and bright,
While twenty-three locales set things right.
A cleaner codebase, hopping with delight! 🎉

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The PR description includes a summary of changes and a test plan, but is missing required template sections like Type of Change, Screenshots/Media, and detailed Test Scenarios with actual test steps. Complete the description by selecting appropriate Type of Change option(s), adding detailed test scenarios with specific steps, and include any relevant screenshots if UI changes were made.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main objective of the PR: removing Intercom integration and chat support components across the codebase.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/remove-intercom-components

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the Intercom-based chat support integration across the monorepo (frontend UI, admin settings, API instance config surface, shared types, and locale strings), leaving telemetry as the remaining related admin setting.

Changes:

  • Removed chat support UI entry points (sidebar help item + Power-K command) and the supporting hook/custom event.
  • Removed Intercom configuration from the API instance endpoint and instance config variable registry, plus the related shared instance types.
  • Cleaned up now-orphaned i18n strings across all locales and renamed the admin section header to “Telemetry”.

Reviewed changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/types/src/instance/base.ts Removes Intercom fields and configuration key type from shared instance config types.
packages/i18n/src/locales/zh-TW/translations.ts Removes message_support translation key.
packages/i18n/src/locales/zh-CN/translations.ts Removes message_support translation key.
packages/i18n/src/locales/vi-VN/translations.ts Removes message_support translation key.
packages/i18n/src/locales/ua/translations.ts Removes message_support and power_k.help_actions.chat_with_us translation keys.
packages/i18n/src/locales/tr-TR/translations.ts Removes message_support translation key.
packages/i18n/src/locales/sk/translations.ts Removes message_support translation key.
packages/i18n/src/locales/ru/translations.ts Removes message_support and power_k.help_actions.chat_with_us translation keys.
packages/i18n/src/locales/ro/translations.ts Removes message_support translation key.
packages/i18n/src/locales/pt-BR/translations.ts Removes message_support translation key.
packages/i18n/src/locales/pl/translations.ts Removes message_support translation key.
packages/i18n/src/locales/ko/translations.ts Removes message_support translation key.
packages/i18n/src/locales/ja/translations.ts Removes message_support translation key.
packages/i18n/src/locales/it/translations.ts Removes message_support translation key.
packages/i18n/src/locales/id/translations.ts Removes message_support translation key.
packages/i18n/src/locales/fr/translations.ts Removes message_support translation key.
packages/i18n/src/locales/es/translations.ts Removes message_support translation key.
packages/i18n/src/locales/en/translations.ts Removes message_support and power_k.help_actions.chat_with_us translation keys.
packages/i18n/src/locales/de/translations.ts Removes message_support translation key.
packages/i18n/src/locales/cs/translations.ts Removes message_support translation key.
apps/web/core/hooks/use-chat-support.ts Deletes the hook used to open Intercom chat support.
apps/web/core/custom-events/chat-support.ts Deletes the custom event wrapper used by the chat support hook.
apps/web/core/components/workspace/sidebar/help-section/root.tsx Removes “Message support” help menu item and related dependencies.
apps/web/core/components/power-k/config/help-commands.ts Removes the “Chat with us” Power-K help command.
apps/api/plane/utils/instance_config_variables/core.py Removes Intercom env-backed config variables from the core config variable list.
apps/api/plane/license/api/views/instance.py Stops returning is_intercom_enabled and intercom_app_id from /api/instances/ config.
apps/admin/app/(all)/(dashboard)/general/intercom.tsx Deletes the admin UI component for Intercom/chat support configuration.
apps/admin/app/(all)/(dashboard)/general/form.tsx Removes Intercom config wiring and renames the section header to “Telemetry”.

@sriramveeraghanta sriramveeraghanta merged commit c21d2c6 into preview Apr 9, 2026
18 of 19 checks passed
@sriramveeraghanta sriramveeraghanta deleted the chore/remove-intercom-components branch April 9, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants