Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore: merge channels into general support settings (#68615)

Alex Vf886eca5fcb4
diff --git a/frontend/src/scenes/settings/SettingsMap.tsx b/frontend/src/scenes/settings/SettingsMap.tsx
index 3b28848e9c22..e10c8fab60cc 100644
--- a/frontend/src/scenes/settings/SettingsMap.tsx
+++ b/frontend/src/scenes/settings/SettingsMap.tsx
@@ -44,7 +44,6 @@ import {
import { AccessControlLevel, AccessControlResourceType, Realm } from '~/types'
import { AISection } from 'products/conversations/frontend/scenes/settings/AISection'
-import { ChannelsSection } from 'products/conversations/frontend/scenes/settings/ChannelsSection'
import { GeneralSection } from 'products/conversations/frontend/scenes/settings/GeneralSection'
import { NotificationsSection } from 'products/conversations/frontend/scenes/settings/NotificationsSection'
import { CustomerAnalyticsAccountConfig } from 'products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/account/CustomerAnalyticsAccountConfig'
@@ -1112,19 +1111,6 @@ export const SETTINGS_MAP: SettingSection[] = [
'domain',
'identity',
'secret',
- ],
- },
- {
- id: 'conversations-channels',
- title: 'Channels',
- description: 'Choose where customers can reach you. Each channel can be configured independently.',
- component: <ChannelsSection />,
- allowForTeam: (t) => !!t?.conversations_enabled,
- keywords: [
- 'conversation',
- 'ticket',
- 'message',
- 'support',
'channel',
'widget',
'email',
diff --git a/products/conversations/frontend/scenes/settings/GeneralSection.tsx b/products/conversations/frontend/scenes/settings/GeneralSection.tsx
index 92076633c416..56e5468b9aa5 100644
--- a/products/conversations/frontend/scenes/settings/GeneralSection.tsx
+++ b/products/conversations/frontend/scenes/settings/GeneralSection.tsx
@@ -10,6 +10,7 @@ import { teamLogic } from 'scenes/teamLogic'
import { SceneSection } from '~/layout/scenes/components/SceneSection'
import { AuthorizedDomains } from './AuthorizedDomains'
+import { ChannelsSection } from './ChannelsSection'
import { SecretApiKeySection } from './SecretApiKeySection'
import { supportSettingsLogic } from './supportSettingsLogic'
@@ -30,7 +31,7 @@ export function GeneralSection(): JSX.Element {
className="my-8"
description={
isEnabled
- ? 'Master switch, authorized domains, and credentials shared across every support channel.'
+ ? 'Master switch, channel setup, authorized domains, and credentials shared across every support channel.'
: 'Triage, assign, and automate support across in-app widget, email, Slack, Microsoft Teams, and direct API.'
}
>
@@ -71,7 +72,7 @@ export function GeneralSection(): JSX.Element {
<p className="text-xs text-muted-alt mb-0">
{isEnabled
? 'Existing tickets stay accessible.'
- : 'Configure channels and notifications after enabling.'}
+ : 'Configure notifications after enabling.'}
</p>
</div>
<LemonSwitch
@@ -95,6 +96,14 @@ export function GeneralSection(): JSX.Element {
</SceneSection>
{isEnabled && (
<>
+ <SceneSection
+ title="Channels"
+ titleSize="sm"
+ className="my-8"
+ description="Choose where customers can reach you. Each channel can be configured independently."
+ >
+ <ChannelsSection />
+ </SceneSection>
<SceneSection
title="Allowed domains"
titleSize="sm"
diff --git a/products/conversations/frontend/scenes/settings/SupportSettingsScene.tsx b/products/conversations/frontend/scenes/settings/SupportSettingsScene.tsx
index b928b7c51053..d02c7c317fa5 100644
--- a/products/conversations/frontend/scenes/settings/SupportSettingsScene.tsx
+++ b/products/conversations/frontend/scenes/settings/SupportSettingsScene.tsx
@@ -14,7 +14,6 @@ export const CONVERSATIONS_LOGIC_KEY = 'conversationsSettings'
const VALID_SETTING_IDS = new Set<SettingId>([
'conversations-general',
- 'conversations-channels',
'conversations-notifications',
'conversations-ai',
])
@@ -23,6 +22,9 @@ const DEFAULT_SETTING_ID: SettingId = 'conversations-general'
function resolveSettingId(): SettingId {
const candidate = router.values.hashParams.selectedSetting
+ if (candidate === 'conversations-channels') {
+ return DEFAULT_SETTING_ID
+ }
if (typeof candidate === 'string' && VALID_SETTING_IDS.has(candidate as SettingId)) {
return candidate as SettingId
}
diff --git a/products/conversations/frontend/scenes/tickets/SupportTicketsScene.tsx b/products/conversations/frontend/scenes/tickets/SupportTicketsScene.tsx
index d2b37678adc2..a237b44e0d06 100644
--- a/products/conversations/frontend/scenes/tickets/SupportTicketsScene.tsx
+++ b/products/conversations/frontend/scenes/tickets/SupportTicketsScene.tsx
@@ -254,7 +254,7 @@ function SupportTicketsBulkActions(): JSX.Element {
}
bulkUpdateStatus(selectedTicketIds, value as TicketStatus)
}}
- value={currentStatus === 'mixed' ? null : currentStatus}
+ value={null}
placeholder="Mark as"
loading={bulkUpdating}
disabledReason={!hasSelection ? 'Select tickets first' : bulkUpdating ? 'Updating…' : undefined}