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(signals): rename Inbox to "Self-driving inbox" across the UI (#92350)

Alex Lebedev772c2d948104
diff --git a/ee/billing/billing_types.py b/ee/billing/billing_types.py
index db84d86af6ec..d93c5135e063 100644
--- a/ee/billing/billing_types.py
+++ b/ee/billing/billing_types.py
@@ -61,7 +61,7 @@ USAGE_TYPE_OPTIONS: tuple[UsageTypeOption, ...] = (
{"label": "Destinations trigger events", "value": "cdp_billable_invocations_in_period"},
{"label": "Rows exported", "value": "rows_exported_in_period"},
{"label": "PostHog AI", "value": "ai_credits_used_in_period"},
- {"label": "Inbox credits", "value": "signals_credits_used_in_period"},
+ {"label": "Self-driving inbox credits", "value": "signals_credits_used_in_period"},
{"label": "PostHog Desktop credits", "value": "posthog_code_credits_used_in_period"},
{"label": "PostHog Desktop token credits", "value": "posthog_code_token_credits_used_in_period"},
{"label": "Sandbox compute credits", "value": "sandbox_compute_credits_used_in_period"},
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index 39f91f8e63f0..d3f040733887 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -7093,9 +7093,9 @@ snapshots:
scenes-app-inbox-scene--self-driving-paused--light:
hash: v1.k794b7964.68c5a0b4b3a71f9d57ebd22d85c5aedfc6704872ee036cf00c7ba2cf83e4f0c8.k5ktgrWKHvJI9sH0wPbcQ4YI64a33tQ-5oSG_YpCjXw
scenes-app-inbox-scene--self-driving-verdict-pending--dark:
- hash: v1.k794b7964.570e5dddd645996b94ff94b2c563b32ced3793db3ab5ccf360d16126af3b9a0b.WC_VEZ1N_iX-o4r11w15QWfD8Nzo1gFerTznKiaIX84
+ hash: v1.k794b7964.3d6c42afbe79033f9c7dad5ca09eb0e34d874aa4c73837d6d6f91fefe37b10df.MxJN_DArFyn1VpR8nheZ1FLPtFcbL2StXF9tha9Tk4o
scenes-app-inbox-scene--self-driving-verdict-pending--light:
- hash: v1.k794b7964.1d230f03b5a074e0816ee4c5dd1b4591cfdf86bb602971a6233019985f1c2677.h7Zlyp6gh4AnCQRve-W4zeSDnhAhhqVM1FIqiYN1gNA
+ hash: v1.k794b7964.18a04e43d0b1598e406b105dcdfe548f7d26376ad3ba606401c6795ae3ea1b1f.8uOUfAOgA04AY2GECIDr5Mf98040a17lVfVUA3QpRGM
scenes-app-inbox-scene--settings--dark:
hash: v1.k794b7964.1af5812ea7514da4b7682c458680777a3465755635fe3bd55c63d9003f5dbf35.Tn_xNyX_ZAAAwef19CcNR9ODGCkFlv_x89jNmmECg2Q
scenes-app-inbox-scene--settings--light:
diff --git a/frontend/src/products.tsx b/frontend/src/products.tsx
index a10c299a718c..2bed2c6918b9 100644
--- a/frontend/src/products.tsx
+++ b/frontend/src/products.tsx
@@ -914,7 +914,7 @@ export const productConfiguration: Record<string, any> = {
docsHref: 'https://posthog.com/docs/posthog-desktop/code-review',
},
Inbox: {
- name: 'Inbox',
+ name: 'Self-driving inbox',
projectBased: true,
description: 'Actionable reports automatically generated from user session analysis and other signals.',
docsHref: 'https://posthog.com/docs/self-driving/inbox',
@@ -2270,6 +2270,7 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [
},
{
path: 'Inbox',
+ displayLabel: 'Self-driving inbox',
intents: [],
category: ProductItemCategory.TOOLS,
iconType: 'inbox' as FileSystemIconType,
diff --git a/frontend/src/scenes/billing/BillingLimit.tsx b/frontend/src/scenes/billing/BillingLimit.tsx
index f9e2e2df8510..21b257d80051 100644
--- a/frontend/src/scenes/billing/BillingLimit.tsx
+++ b/frontend/src/scenes/billing/BillingLimit.tsx
@@ -10,6 +10,7 @@ import { Tooltip } from 'lib/lemon-ui/Tooltip'
import { BillingProductV2Type } from '~/types'
import { billingLogic } from './billingLogic'
+import { billingProductDisplayName } from './billingProductDisplayName'
import { billingProductLogic } from './billingProductLogic'
export const BillingLimit = ({ product }: { product: BillingProductV2Type }): JSX.Element | null => {
@@ -65,7 +66,7 @@ export const BillingLimit = ({ product }: { product: BillingProductV2Type }): JS
data-attr={`billing-limit-set-${product.type}`}
>
You have a <b>${customLimitUsd?.toLocaleString()}</b> billing limit
- set for {product.name}.
+ set for {billingProductDisplayName(product)}.
</span>
</Tooltip>
)}
@@ -81,7 +82,8 @@ export const BillingLimit = ({ product }: { product: BillingProductV2Type }): JS
) : (
<>
<span className="text-sm" data-attr={`billing-limit-not-set-${product.type}`}>
- You do not have a billing limit set for {product.name}.
+ You do not have a billing limit set for {billingProductDisplayName(product)}
+ .
</span>
<LemonButton
onClick={() => setIsEditingBillingLimit(true)}
diff --git a/frontend/src/scenes/billing/BillingProduct.tsx b/frontend/src/scenes/billing/BillingProduct.tsx
index 6817a07689f2..98b806c5b0dd 100644
--- a/frontend/src/scenes/billing/BillingProduct.tsx
+++ b/frontend/src/scenes/billing/BillingProduct.tsx
@@ -31,6 +31,7 @@ import { BillingGauge } from './BillingGauge'
import { BillingLimit } from './BillingLimit'
import { billingLogic } from './billingLogic'
import { BillingProductAddon } from './BillingProductAddon'
+import { billingProductDisplayName } from './billingProductDisplayName'
import { billingProductLogic } from './billingProductLogic'
import { BillingProductPricingTable } from './BillingProductPricingTable'
import { REALTIME_DESTINATIONS_BILLING_START_DATE } from './constants'
@@ -90,11 +91,7 @@ export const BillingProduct = ({ product }: { product: BillingProductV2Type }):
const { startPaymentEntryFlow } = useActions(paymentEntryLogic)
- const productDisplayNameOverrides: Record<string, string> = {
- realtime_destinations: 'Data pipelines',
- workflows_emails: 'Workflows',
- }
- const displayProductName = productDisplayNameOverrides[product.type] || product.name
+ const displayProductName = billingProductDisplayName(product)
const isPlatformProduct = product.type === 'platform_and_support'
const addonSectionLabel = isPlatformProduct ? 'Packages' : 'Add-ons'
diff --git a/frontend/src/scenes/billing/UnsubscribeSurveyModal.tsx b/frontend/src/scenes/billing/UnsubscribeSurveyModal.tsx
index 1bde42f289d0..35794b5ed2f1 100644
--- a/frontend/src/scenes/billing/UnsubscribeSurveyModal.tsx
+++ b/frontend/src/scenes/billing/UnsubscribeSurveyModal.tsx
@@ -27,6 +27,7 @@ import { BillingProductV2AddonType, BillingProductV2Type } from '~/types'
import { AddonFeatureLossNotice } from './AddonFeatureLossNotice'
import { billingLogic } from './billingLogic'
+import { billingProductDisplayName } from './billingProductDisplayName'
import {
UNSUBSCRIBE_REASONS,
billingProductLogic,
@@ -138,7 +139,7 @@ export const UnsubscribeSurveyModal = ({
? action
: product.type === 'platform_and_support'
? `${action} your plan`
- : `${action} from ${product.name}`
+ : `${action} from ${billingProductDisplayName(product)}`
}
footer={
unsubscribeModalStep === 1 ? (
@@ -211,7 +212,7 @@ export const UnsubscribeSurveyModal = ({
<LemonLabel>
{billing?.subscription_level === 'paid'
? `Why are you ${actionVerb}?`
- : `Why are you ${actionVerb} from ${product.name}?`}{' '}
+ : `Why are you ${actionVerb} from ${billingProductDisplayName(product)}?`}{' '}
<i className="text-secondary">(you can select multiple)</i>
<Tooltip title="Required">
<span className="text-danger">*</span>
diff --git a/frontend/src/scenes/billing/billing-utils.spec.ts b/frontend/src/scenes/billing/billing-utils.spec.ts
index d1e36ac19805..159533895530 100644
--- a/frontend/src/scenes/billing/billing-utils.spec.ts
+++ b/frontend/src/scenes/billing/billing-utils.spec.ts
@@ -468,8 +468,8 @@ describe('getUsageLimitConsequence', () => {
expect(getUsageLimitConsequence('PostHog AI')).toEqual('PostHog AI will be unavailable')
})
- it('should return specific message for Inbox', () => {
- expect(getUsageLimitConsequence('Inbox')).toEqual('Inbox agents will be paused')
+ it('should return specific message for the self-driving inbox', () => {
+ expect(getUsageLimitConsequence('Self-driving inbox')).toEqual('self-driving agents will be paused')
})
it('should return generic message for other products', () => {
@@ -516,11 +516,11 @@ describe('buildUsageLimitReachedMessage', () => {
)
})
- it('should build message for Inbox with specific consequence', () => {
- const result = buildUsageLimitReachedMessage([{ name: 'Inbox', subscribed: true }])
+ it('should name the self-driving inbox by its app name, not its billing name', () => {
+ const result = buildUsageLimitReachedMessage([{ type: 'inbox', name: 'Inbox', subscribed: true }])
expect(result.title).toEqual('Usage limit reached')
expect(result.message).toEqual(
- 'You have reached the usage limit for Inbox. Please increase your billing limit or Inbox agents will be paused.'
+ 'You have reached the usage limit for Self-driving inbox. Please increase your billing limit or self-driving agents will be paused.'
)
})
diff --git a/frontend/src/scenes/billing/billing-utils.ts b/frontend/src/scenes/billing/billing-utils.ts
index 69d74b3451b2..5079ddbc5e88 100644
--- a/frontend/src/scenes/billing/billing-utils.ts
+++ b/frontend/src/scenes/billing/billing-utils.ts
@@ -14,6 +14,7 @@ import { Params } from 'scenes/sceneTypes'
import { BillingPeriod, BillingProductV2AddonType, BillingProductV2Type, BillingTierType, BillingType } from '~/types'
+import { billingProductDisplayName } from './billingProductDisplayName'
import { SPEND_TYPES, USAGE_TYPES } from './constants'
import type { BillingFilters, BillingSeriesForCsv, BillingUsageInteractionProps, BuildBillingCsvOptions } from './types'
import { BillingGaugeItemKind, BillingGaugeItemType } from './types'
@@ -710,8 +711,8 @@ export function getUsageLimitConsequence(productName: string): string {
if (productName === 'PostHog AI') {
return 'PostHog AI will be unavailable'
}
- if (productName === 'Inbox') {
- return 'Inbox agents will be paused'
+ if (productName === 'Self-driving inbox') {
+ return 'self-driving agents will be paused'
}
return 'data loss may occur'
}
@@ -720,7 +721,7 @@ export function getUsageLimitConsequence(productName: string): string {
* Build a consolidated message for products that have reached their usage limits
*/
export function buildUsageLimitReachedMessage(
- products: Array<{ name: string; subscribed: boolean | null }>,
+ products: Array<{ type?: string | null; name: string; subscribed: boolean | null }>,
hasBillingAccess: boolean = true,
minimumBillingAccessLevel: OrganizationMembershipLevel = OrganizationMembershipLevel.Admin
): {
@@ -731,11 +732,11 @@ export function buildUsageLimitReachedMessage(
return { title: '', message: '' }
}
- const productNames = products.map((p) => p.name)
+ const productNames = products.map(billingProductDisplayName)
const allSubscribed = products.every((p) => p.subscribed === true)
// Build consequence message, deduplicating common consequences
- const consequences = [...new Set(products.map((p) => getUsageLimitConsequence(p.name)))]
+ const consequences = [...new Set(productNames.map(getUsageLimitConsequence))]
const productListText = formatProductNames(productNames)
const consequenceText = consequences.join(' and ')
@@ -761,6 +762,7 @@ export function buildUsageLimitReachedMessage(
*/
export function buildUsageLimitApproachingMessage(
products: Array<{
+ type?: string | null
name: string
percentage_usage: number
usage_key?: string | null
@@ -774,7 +776,7 @@ export function buildUsageLimitApproachingMessage(
const usageDetails = products.map((p) => {
const percentage = parseFloat((p.percentage_usage * 100).toFixed(2))
- const productName = p.name || p.usage_key?.toLowerCase() || 'usage'
+ const productName = (p.name && billingProductDisplayName(p)) || p.usage_key?.toLowerCase() || 'usage'
return `${percentage}% of your ${productName} allocation`
})
diff --git a/frontend/src/scenes/billing/billingProductDisplayName.ts b/frontend/src/scenes/billing/billingProductDisplayName.ts
new file mode 100644
index 000000000000..bd179b02a756
--- /dev/null
+++ b/frontend/src/scenes/billing/billingProductDisplayName.ts
@@ -0,0 +1,14 @@
+/**
+ * The billing service owns `name`, so a product can be billed under a name the app stopped using.
+ * Override it here, keyed by product type, so billing calls a product what the rest of PostHog
+ * calls it — otherwise people search billing for a product they can see in the nav and miss it.
+ */
+const DISPLAY_NAME_BY_PRODUCT_TYPE: Record<string, string> = {
+ realtime_destinations: 'Data pipelines',
+ workflows_emails: 'Workflows',
+ inbox: 'Self-driving inbox',
+}
+
+export function billingProductDisplayName(product: { type?: string | null; name: string }): string {
+ return (product.type && DISPLAY_NAME_BY_PRODUCT_TYPE[product.type]) || product.name
+}
diff --git a/frontend/src/scenes/billing/constants.ts b/frontend/src/scenes/billing/constants.ts
index e3e86029a1ec..6a849e2d8098 100644
--- a/frontend/src/scenes/billing/constants.ts
+++ b/frontend/src/scenes/billing/constants.ts
@@ -16,7 +16,7 @@ export const SPEND_TYPES = [
{ label: 'Destinations trigger events', value: 'cdp_billable_invocations_in_period' },
{ label: 'Rows exported', value: 'rows_exported_in_period' },
{ label: 'PostHog AI', value: 'ai_credits_used_in_period' },
- { label: 'Inbox credits', value: 'signals_credits_used_in_period' },
+ { label: 'Self-driving inbox credits', value: 'signals_credits_used_in_period' },
{ label: 'PostHog Desktop credits', value: 'posthog_code_credits_used_in_period' },
{ label: 'Replay vision credits', value: 'replay_vision_credits_used_in_period' },
{ label: 'Workflow emails', value: 'workflow_emails_sent_in_period' },
diff --git a/products/inbox/manifest.tsx b/products/inbox/manifest.tsx
index 990eff130719..5755a8cb3ea1 100644
--- a/products/inbox/manifest.tsx
+++ b/products/inbox/manifest.tsx
@@ -14,6 +14,7 @@ export const manifest: ProductManifest = {
treeItemsProducts: [
{
path: 'Inbox',
+ displayLabel: 'Self-driving inbox',
intents: [],
category: ProductItemCategory.TOOLS,
iconType: 'inbox' as FileSystemIconType,
diff --git a/products/signals/frontend/inbox/InboxScene.tsx b/products/signals/frontend/inbox/InboxScene.tsx
index 02fa02834ae5..aba3a66b57ae 100644
--- a/products/signals/frontend/inbox/InboxScene.tsx
+++ b/products/signals/frontend/inbox/InboxScene.tsx
@@ -270,7 +270,7 @@ export function InboxScene(): JSX.Element {
<SceneContent className="gap-y-0 border-b-0 flex-1 min-h-0">
<div className={showDetail ? 'hidden' : 'flex flex-col gap-y-4 flex-1 min-h-0'}>
<SceneTitleSection
- name="Inbox"
+ name="Self-driving inbox"
// The description explains the active tab so new users can orient themselves.
// The welcome takeover leads with its own full-size pitch, so a description here
// would say the same thing twice. While the verdict is pending no description is
@@ -343,7 +343,7 @@ export function InboxScene(): JSX.Element {
type="secondary"
to={backOverride ?? urls.inbox(isRedesign ? 'reports' : activeTab)}
>
- {backOverride ? 'Back' : 'Back to inbox'}
+ {backOverride ? 'Back' : 'Back to self-driving inbox'}
</LemonButton>
</div>
)}
diff --git a/products/signals/frontend/inbox/components/detail/InboxDetailHeader.tsx b/products/signals/frontend/inbox/components/detail/InboxDetailHeader.tsx
index dba41a21b8d9..21a8f1595121 100644
--- a/products/signals/frontend/inbox/components/detail/InboxDetailHeader.tsx
+++ b/products/signals/frontend/inbox/components/detail/InboxDetailHeader.tsx
@@ -29,7 +29,7 @@ export function InboxDetailHeader({ report }: { report: SignalReport }): JSX.Ele
to={urls.inbox('reports')}
className="-ml-2 w-fit"
>
- Inbox
+ Self-driving inbox
</LemonButton>
<div className="flex items-start justify-between gap-3 min-w-0">
<h1 className="min-w-0 flex-1 m-0 break-words text-2xl font-bold leading-tight tracking-tight">
diff --git a/products/signals/frontend/inbox/components/detail/ReportDetail.tsx b/products/signals/frontend/inbox/components/detail/ReportDetail.tsx
index b32db1f35343..110071c50d70 100644
--- a/products/signals/frontend/inbox/components/detail/ReportDetail.tsx
+++ b/products/signals/frontend/inbox/components/detail/ReportDetail.tsx
@@ -208,7 +208,11 @@ export function InboxDetailFrame({
const rawBack = searchParams.back
const backOverride =
typeof rawBack === 'string' && rawBack.startsWith('/') && !rawBack.startsWith('//') ? rawBack : null
- const backLabel = backOverride ? (backOverride.startsWith(urls.inboxTriage()) ? 'Triage' : 'Back') : 'Inbox'
+ const backLabel = backOverride
+ ? backOverride.startsWith(urls.inboxTriage())
+ ? 'Triage'
+ : 'Back'
+ : 'Self-driving inbox'
const logicProps = { reportId: report.id, report }
const { reportSignals, reportSignalsLoading, priorityExplanation, chartPlacements, trailingCharts, detailTab } =
useValues(inboxReportDetailLogic(logicProps))
diff --git a/products/signals/manifest.tsx b/products/signals/manifest.tsx
index 2d3e12527c9a..60048257dfa9 100644
--- a/products/signals/manifest.tsx
+++ b/products/signals/manifest.tsx
@@ -27,7 +27,7 @@ export const manifest: ProductManifest = {
},
scenes: {
Inbox: {
- name: 'Inbox',
+ name: 'Self-driving inbox',
import: () => import('./frontend/inbox/InboxScene'),
projectBased: true,
description: 'Actionable reports automatically generated from user session analysis and other signals.',