: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(customer-analytics): show the product empty state until groups exist (#90664)
Rafael Audibert2506d89588df
diff --git a/docs/internal/product-empty-state-adoption.md b/docs/internal/product-empty-state-adoption.mdindex 5f0b14d01f95..16d929913b17 100644--- a/docs/internal/product-empty-state-adoption.md+++ b/docs/internal/product-empty-state-adoption.md@@ -60,7 +60,7 @@ Rows marked "in review" are not on `master` yet. See "Regenerating the lists" fo| Data warehouse sources | `products/data_warehouse/frontend/scenes/SourcesScene/SourcesScene.tsx` | on master || Workflows | `products/workflows/frontend/WorkflowsScene.tsx` | on master || Marketing analytics | `frontend/src/scenes/marketing-analytics/MarketingAnalyticsScene.tsx` | on master |-| Customer analytics | `products/customer_analytics/frontend/CustomerAnalyticsScene.tsx` | in review |+| Customer analytics | `products/customer_analytics/frontend/CustomerAnalyticsScene.tsx` | on master || Actions | `products/actions/frontend/pages/Actions.tsx` | on master || Annotations | `frontend/src/scenes/annotations/Annotations.tsx` | on master || Cohorts | `frontend/src/scenes/cohorts/Cohorts.tsx` | on master |diff --git a/frontend/snapshots.yml b/frontend/snapshots.ymlindex 274d192472ff..ca0e1fa92355 100644--- a/frontend/snapshots.yml+++ b/frontend/snapshots.yml@@ -1776,6 +1776,10 @@ snapshots:hash: v1.k794b7964.83b26d21c2c1d191e3c7f6aa34bd3d8d24e9d6002d3e1369bf5b6a049f757758.PhaOyvOdwWsqT3HArkFs-5X-Bcgx3hwAnlhBFYnJUQocomponents-product-empty-state--cohorts-needs-setup--light:hash: v1.k794b7964.b827ea6e4b03f02c32a32b12c618f75a69ad0b2b58f913fe7d5c334c0ae5cac9.fKm3ytRKGmpO82oUS7SSw9GbRTxgdtlygk9c3Cmcd60+ components-product-empty-state--customer-analytics-needs-setup--dark:+ hash: v1.k794b7964.019d4465129ae3debfa6287a1ed62c2521a7ec42adb10702d0df81e0a116f0df.YMvw7NwMw84MxuQDNkMkXP0whmcHalLe4DmiiQCYGN4+ components-product-empty-state--customer-analytics-needs-setup--light:+ hash: v1.k794b7964.37874200d15c611b25896fca3b82ee1d073f66b2738f7d9007012a91ccfd6c2c.dJOr1_tfAOmuS3_T5eeBTS58lTIOztYjcSU01T4Knx4components-product-empty-state--dashboards-needs-setup--dark:hash: v1.k794b7964.b3a148d96ca0b54ca8929084054b91f4e52ae02160039f3a47ee04db7aeb62cc.SH8xd4Ro7F3Zuetn_B_qgVFVbWtT__aDzaW2YOr-Eaccomponents-product-empty-state--dashboards-needs-setup--light:diff --git a/frontend/src/lib/components/ProductEmptyState/ProductEmptyState.stories.tsx b/frontend/src/lib/components/ProductEmptyState/ProductEmptyState.stories.tsxindex 33116b4ba209..2cc78f8a47e7 100644--- a/frontend/src/lib/components/ProductEmptyState/ProductEmptyState.stories.tsx+++ b/frontend/src/lib/components/ProductEmptyState/ProductEmptyState.stories.tsx@@ -9,6 +9,7 @@ import { annotationsEmptyState } from 'products/annotations/frontend/emptyState/import { webScriptsEmptyState } from 'products/cdp/frontend/emptyState/webScriptsEmptyState'import { cohortsEmptyState } from 'products/cohorts/frontend/emptyState/cohortsEmptyState'import { supportEmptyState } from 'products/conversations/frontend/emptyState/supportEmptyState'+import { customerAnalyticsEmptyState } from 'products/customer_analytics/frontend/emptyState/customerAnalyticsEmptyState'import { dashboardsEmptyState } from 'products/dashboards/frontend/emptyState/dashboardsEmptyState'import { dataWarehouseEmptyState } from 'products/data_warehouse/frontend/emptyState/dataWarehouseEmptyState'import { earlyAccessFeaturesEmptyState } from 'products/early_access_features/frontend/emptyState/earlyAccessFeaturesEmptyState'@@ -339,3 +340,9 @@ export const MarketingAnalyticsNeedsSetup: ProductEmptyStateStory = productEmpty},})++// Customer analytics detection is synchronous (groups access from the team), so no mocks needed.+export const CustomerAnalyticsNeedsSetup: ProductEmptyStateStory = productEmptyStateStory(+ customerAnalyticsEmptyState,+ 'needs-setup'+)diff --git a/frontend/src/products.tsx b/frontend/src/products.tsxindex 742cd0d4fbf1..0a388eda70a8 100644--- a/frontend/src/products.tsx+++ b/frontend/src/products.tsx@@ -2020,6 +2020,10 @@ export const getTreeItemsProducts = (): FileSystemImport[] => [intents: [ProductKey.CUSTOMER_ANALYTICS],category: ProductItemCategory.ANALYTICS,iconType: 'cohort',+ iconColor: [+ 'var(--color-product-customer-analytics-light)',+ 'var(--color-product-customer-analytics-dark)',+ ] as FileSystemIconColor,href: urls.customerAnalytics(),tags: ['beta'],flag: FEATURE_FLAGS.CUSTOMER_ANALYTICS,diff --git a/frontend/src/styles/base.scss b/frontend/src/styles/base.scssindex f0983198acb1..09e75a950ff3 100644--- a/frontend/src/styles/base.scss+++ b/frontend/src/styles/base.scss@@ -337,6 +337,8 @@--color-product-surveys-dark: rgb(248 121 121);--color-product-product-tours-light: rgb(243 84 84);--color-product-product-tours-dark: rgb(248 121 121);+ --color-product-customer-analytics-light: rgb(23 158 172);+ --color-product-customer-analytics-dark: rgb(85 199 211);--color-product-data-warehouse-light: rgb(133 103 255);--color-product-data-warehouse-dark: rgb(160 135 255);--color-product-llm-analytics-light: rgb(182 42 217);diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex d88427f5bc3b..682858067610 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -428,7 +428,7 @@ importers:version: 0.25.12jest:specifier: ^29.7.0- version: 29.7.0(@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected]))+ version: 29.7.0(@types/[email protected])([email protected](@swc/[email protected])(@types/[email protected])([email protected]))puppeteer:specifier: 19.0.0version: 19.0.0([email protected])@@ -2890,6 +2890,9 @@ importers:kea-router:specifier: 'catalog:'version: 3.4.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))+ kea-subscriptions:+ specifier: 'catalog:'+ version: 3.0.1([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))kea-test-utils:specifier: 'catalog:'version: 0.2.4([email protected](patch_hash=139b8d1f1304f9d9da452a9a1244c94ea679dbcb85687d8999563146879fb6f5)([email protected]))diff --git a/products/customer_analytics/frontend/CustomerAnalyticsScene.tsx b/products/customer_analytics/frontend/CustomerAnalyticsScene.tsxindex 9cd8d7f111ad..941c33bcef65 100644--- a/products/customer_analytics/frontend/CustomerAnalyticsScene.tsx+++ b/products/customer_analytics/frontend/CustomerAnalyticsScene.tsx@@ -44,12 +44,14 @@ import { SignupInsights } from './components/Insights/SignupInsights'import { CUSTOMER_ANALYTICS_DATA_COLLECTION_NODE_ID } from './constants'import { CustomerAnalyticsFilters } from './CustomerAnalyticsFilters'import { customerAnalyticsSceneLogic } from './customerAnalyticsSceneLogic'+import { customerAnalyticsEmptyState } from './emptyState/customerAnalyticsEmptyState'import { customerAnalyticsFeaturePreviewGate } from './featurePreviewGate'export const scene: SceneExport = {component: CustomerAnalyticsScene,logic: customerAnalyticsSceneLogic,productKey: ProductKey.CUSTOMER_ANALYTICS,+ emptyState: customerAnalyticsEmptyState,}export function CustomerAnalyticsScene(): JSX.Element {diff --git a/products/customer_analytics/frontend/emptyState/CustomerAnalyticsPreview.scss b/products/customer_analytics/frontend/emptyState/CustomerAnalyticsPreview.scssnew file mode 100644index 000000000000..fc07db9c7caf--- /dev/null+++ b/products/customer_analytics/frontend/emptyState/CustomerAnalyticsPreview.scss@@ -0,0 +1,223 @@+@import '../../../../frontend/src/lib/components/ProductEmptyState/previewMixins';++.CustomerPreview {+ --customer-preview-accent: var(--empty-state-accent, var(--color-primary-500));++ display: flex;+ flex-direction: column;+ gap: 0.75rem;++ // Hidden selection state. A direct child of .CustomerPreview so `:checked ~` reaches both cards.+ &__checkbox {+ position: absolute;+ width: 0;+ height: 0;+ pointer-events: none;+ opacity: 0;+ }++ &__accounts,+ &__detail {+ overflow: hidden;+ background: var(--color-bg-surface-primary);+ border: 1px solid var(--color-border-primary);+ border-radius: var(--radius);+ }++ // Idle/selected pairs are stacked on one grid cell and crossfaded, so selecting+ // never changes any element's size (no layout shift).+ &__swap {+ display: grid;+ }++ &__swap > * {+ grid-area: 1 / 1;+ min-width: 0;+ }++ &__when-selected {+ @include preview-swap-hidden;+ }++ &__when-idle {+ @include preview-swap-visible;+ }++ &__head {+ display: flex;+ align-items: center;+ justify-content: space-between;+ padding: 0.5rem 0.75rem;+ border-bottom: 1px solid var(--color-border-primary);+ }++ &__title {+ display: flex;+ gap: 0.375rem;+ align-items: center;+ font-size: 0.75rem;+ font-weight: 600;+ }++ &__live-dot {+ width: 7px;+ height: 7px;+ background: var(--customer-preview-accent);+ border-radius: 50%;+ animation: CustomerPreview__pulse 2s ease-in-out infinite;+ }++ // Accounts list++ &__rows {+ display: flex;+ flex-direction: column;+ padding: 0.25rem 0.5rem;+ }++ &__row {+ display: grid;+ grid-template-columns: minmax(0, 1fr) auto auto;+ gap: 0.5rem;+ align-items: center;+ padding: 0.375rem 0.5rem;+ border-radius: var(--radius);+ transition: background-color 250ms ease;+ }++ &__row--hero {+ cursor: pointer;+ user-select: none;+ }++ &__row--hero:hover {+ background: var(--color-bg-fill-highlight-50);+ }++ &__account {+ overflow: hidden;+ font-size: 0.6875rem;+ font-weight: 600;+ text-overflow: ellipsis;+ white-space: nowrap;+ }++ &__meta {+ font-size: 0.625rem;+ color: var(--color-text-tertiary);+ }++ &__health {+ font-size: 0.625rem;+ font-variant-numeric: tabular-nums;+ color: var(--color-text-secondary);+ }++ &__health--falling {+ font-weight: 600;+ color: var(--color-text-error);+ }++ &__hint {+ padding: 0.25rem 0.75rem 0.5rem;+ font-size: 0.625rem;+ color: var(--color-text-tertiary);+ }++ // Detail panel++ &__detail-body {+ padding: 0.625rem 0.75rem;+ }++ &__detail-hint {+ align-self: center;+ font-size: 0.6875rem;+ color: var(--color-text-tertiary);+ }++ &__facts {+ display: flex;+ flex-direction: column;+ gap: 0.3125rem;+ }++ &__fact {+ display: grid;+ grid-template-columns: 9rem minmax(0, 1fr);+ gap: 0.5rem;+ font-size: 0.6875rem;+ }++ &__fact-key {+ color: var(--color-text-tertiary);+ }++ &__fact-val {+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;+ }++ &__fresh {+ font-size: 0.5625rem;+ font-weight: 600;++ @include preview-accent-text(var(--customer-preview-accent));+ }+}++// Selected state (user clicked the account)++.CustomerPreview__checkbox:checked ~ * .CustomerPreview__when-selected {+ @include preview-swap-visible;+}++.CustomerPreview__checkbox:checked ~ * .CustomerPreview__when-idle {+ @include preview-swap-hidden;+}++.CustomerPreview__checkbox:checked ~ .CustomerPreview__accounts .CustomerPreview__row--hero {+ background: color-mix(in oklab, var(--customer-preview-accent) 8%, transparent);+}++// The checkbox stays keyboard-focusable while visually hidden, so the row it labels+// needs a visible focus indicator (WCAG 2.4.7).+.CustomerPreview__checkbox:focus-visible ~ .CustomerPreview__accounts .CustomerPreview__row--hero {+ outline: 2px solid var(--customer-preview-accent);+ outline-offset: 1px;+}++// Nudge attention at the cooling account until it's inspected.+.CustomerPreview:not(.CustomerPreview--static)+ .CustomerPreview__checkbox:not(:checked)+ ~ .CustomerPreview__accounts+ .CustomerPreview__row--hero {+ animation: CustomerPreview__nudge 2.4s ease-in-out infinite;+}++@keyframes CustomerPreview__nudge {+ 0%,+ 100% {+ box-shadow: 0 0 0 0 color-mix(in oklab, var(--customer-preview-accent) 45%, transparent);+ }++ 50% {+ box-shadow: 0 0 0 4px color-mix(in oklab, var(--customer-preview-accent) 20%, transparent);+ }+}++@keyframes CustomerPreview__pulse {+ 0%,+ 100% {+ opacity: 1;+ }++ 50% {+ opacity: 0.35;+ }+}++// Storybook snapshots and reduced motion drop all ambient motion; clicking the+// account still flips the state (transitions only).+@include preview-motion-guards('CustomerPreview');diff --git a/products/customer_analytics/frontend/emptyState/CustomerAnalyticsPreview.tsx b/products/customer_analytics/frontend/emptyState/CustomerAnalyticsPreview.tsxnew file mode 100644index 000000000000..883681433eec--- /dev/null+++ b/products/customer_analytics/frontend/emptyState/CustomerAnalyticsPreview.tsx@@ -0,0 +1,89 @@+import './CustomerAnalyticsPreview.scss'++import { LemonTag } from 'lib/lemon-ui/LemonTag'+import { cn } from 'lib/utils/css-classes'+import { inStorybook, inStorybookTestRunner } from 'lib/utils/dom'++/**+ * Example-data preview for the customer analytics empty state: an accounts list+ * and one account's detail. Clicking the flagged account opens its detail card.+ * One hidden checkbox drives it via `:checked ~` styles - no timers or state,+ * per the preview rules in the `building-product-empty-states` skill. Detail+ * states crossfade in `__swap` grids, so nothing shifts.+ */+export function CustomerAnalyticsPreview(): JSX.Element {+ const isStatic = inStorybook() || inStorybookTestRunner()++ return (+ <div className={cn('CustomerPreview', isStatic && 'CustomerPreview--static')}>+ {/* Selection state, before both cards so `:checked ~` can style them. */}+ <input type="checkbox" id="customer-preview-select" className="CustomerPreview__checkbox" />++ <div className="CustomerPreview__accounts">+ <div className="CustomerPreview__head">+ <span className="CustomerPreview__title">+ <span className="CustomerPreview__live-dot" aria-hidden="true" />+ Accounts+ </span>+ <LemonTag size="small">example data</LemonTag>+ </div>+ <div className="CustomerPreview__rows">+ <label+ htmlFor="customer-preview-select"+ className="CustomerPreview__row CustomerPreview__row--hero"+ >+ <span className="CustomerPreview__account">Miller & Sons</span>+ <span className="CustomerPreview__meta">scale · 42 users</span>+ <span className="CustomerPreview__health CustomerPreview__health--falling">activity ↓ 31%</span>+ </label>+ <div className="CustomerPreview__row">+ <span className="CustomerPreview__account">Fresh Greens Co</span>+ <span className="CustomerPreview__meta">startup · 7 users</span>+ <span className="CustomerPreview__health">activity ↑ 12%</span>+ </div>+ <div className="CustomerPreview__row">+ <span className="CustomerPreview__account">Night Owl Labs</span>+ <span className="CustomerPreview__meta">free · 3 users</span>+ <span className="CustomerPreview__health">activity ↑ 4%</span>+ </div>+ </div>+ <div className="CustomerPreview__hint CustomerPreview__swap">+ <span className="CustomerPreview__when-idle">Click the account that's cooling off.</span>+ <span className="CustomerPreview__when-selected">+ Usage is falling ahead of the renewal. Click again to close.+ </span>+ </div>+ </div>++ <div className="CustomerPreview__detail">+ <div className="CustomerPreview__head">+ <span className="CustomerPreview__title">Account detail</span>+ <span className="CustomerPreview__fresh CustomerPreview__when-selected">Miller & Sons</span>+ </div>+ <div className="CustomerPreview__detail-body CustomerPreview__swap">+ <div className="CustomerPreview__detail-hint CustomerPreview__when-idle">+ Select an account to see the people and activity behind it.+ </div>+ <div className="CustomerPreview__facts CustomerPreview__when-selected">+ <div className="CustomerPreview__fact">+ <span className="CustomerPreview__fact-key">Weekly active users</span>+ <span className="CustomerPreview__fact-val">18 → 11</span>+ </div>+ <div className="CustomerPreview__fact">+ <span className="CustomerPreview__fact-key">Last seen</span>+ <span className="CustomerPreview__fact-val">2 days ago · dashboard</span>+ </div>+ <div className="CustomerPreview__fact">+ <span className="CustomerPreview__fact-key">Open feature requests</span>+ <span className="CustomerPreview__fact-val">3 · latest: SSO support</span>+ </div>+ <div className="CustomerPreview__fact">+ <span className="CustomerPreview__fact-key">Notes</span>+ <span className="CustomerPreview__fact-val">"Renewal call booked for next week"</span>+ </div>+ </div>+ </div>+ </div>+ </div>+ )+}diff --git a/products/customer_analytics/frontend/emptyState/customerAnalyticsEmptyState.tsx b/products/customer_analytics/frontend/emptyState/customerAnalyticsEmptyState.tsxnew file mode 100644index 000000000000..35b5e5189a58--- /dev/null+++ b/products/customer_analytics/frontend/emptyState/customerAnalyticsEmptyState.tsx@@ -0,0 +1,40 @@+import * as businessEvolutionPng from '@posthog/brand/hoggies/png/business-evolution'+import { IconPeople } from '@posthog/icons'++import { pngHoggie } from 'lib/brand/hoggies'+import type { SceneProductEmptyState } from 'lib/components/ProductEmptyState/types'+import { FEATURE_FLAGS } from 'lib/constants'++import { ProductKey } from '~/queries/schema/schema-general'++import { CustomerAnalyticsPreview } from './CustomerAnalyticsPreview'+import { customerAnalyticsSetupLogic } from './customerAnalyticsSetupLogic'++const HedgehogBusiness = pngHoggie(businessEvolutionPng)++export const customerAnalyticsEmptyState: SceneProductEmptyState = {+ statusLogic: customerAnalyticsSetupLogic,+ // The whole product is behind this flag; its feature-preview gate handles the flag-off case.+ featureFlag: FEATURE_FLAGS.CUSTOMER_ANALYTICS,+ config: {+ productKey: ProductKey.CUSTOMER_ANALYTICS,+ productName: 'Customer analytics',+ icon: <IconPeople />,+ accentColor: 'var(--color-product-customer-analytics-light)',+ accentColorDark: 'var(--color-product-customer-analytics-dark)',+ hedgehog: HedgehogBusiness,+ text: {+ 'needs-setup': {+ headline: 'See accounts the way you see users',+ lead: "Customer analytics is built on group analytics: group your users into accounts, then follow each account's activity, health, notes, and feature requests in one place. Start by sending group data from your SDK.",+ },+ },+ primaryAction: {+ label: 'Set up group analytics',+ to: 'https://posthog.com/docs/product-analytics/group-analytics',+ },+ docsUrl: 'https://posthog.com/docs/customer-analytics',+ previewLabel: 'Your accounts, once grouped',+ Preview: CustomerAnalyticsPreview,+ },+}diff --git a/products/customer_analytics/frontend/emptyState/customerAnalyticsSetupLogic.ts b/products/customer_analytics/frontend/emptyState/customerAnalyticsSetupLogic.tsnew file mode 100644index 000000000000..83366d230da1--- /dev/null+++ b/products/customer_analytics/frontend/emptyState/customerAnalyticsSetupLogic.ts@@ -0,0 +1,65 @@+import { MakeLogicType, afterMount, connect, kea, path } from 'kea'+import { subscriptions } from 'kea-subscriptions'++import { productSetupStatusLogic } from 'lib/components/ProductEmptyState/productSetupStatusLogic'+import type { ProductSetupStatus } from 'lib/components/ProductEmptyState/types'+import { GroupsAccessStatus, groupsAccessLogic } from 'lib/introductions/groupsAccessLogic'++import { ProductKey } from '~/queries/schema/schema-general'++export function statusFromGroupsAccess(groupsAccessStatus: GroupsAccessStatus): ProductSetupStatus {+ if (groupsAccessStatus === GroupsAccessStatus.AlreadyUsing) {+ return 'has-data'+ }+ if (groupsAccessStatus === GroupsAccessStatus.HasAccess) {+ return 'needs-setup'+ }+ // No access, upgrade needed, or hidden: fail open so the scene's own groups+ // introduction and upgrade messaging take over.+ return 'unknown'+}++// Generated by kea-typegen. Update if you're an agent, ignore if you're human.+export interface customerAnalyticsSetupLogicValues {+ groupsAccessStatus: GroupsAccessStatus // groupsAccessLogic+ setupStatus: ProductSetupStatus // productSetupStatusLogic+}++// Generated by kea-typegen. Update if you're an agent, ignore if you're human.+export interface customerAnalyticsSetupLogicActions {+ setDetectedStatus: (status: ProductSetupStatus) => {+ status: ProductSetupStatus+ } // productSetupStatusLogic+}++export type customerAnalyticsSetupLogicType = MakeLogicType<+ customerAnalyticsSetupLogicValues,+ customerAnalyticsSetupLogicActions+>++/**+ * Setup detection for the customer analytics empty state. The product is built+ * on group analytics, so "set up" means the project already sends group data+ * (group types exist). The verdict is synchronous, derived from the team.+ */+export const customerAnalyticsSetupLogic = kea<customerAnalyticsSetupLogicType>([+ path(['products', 'customer_analytics', 'frontend', 'emptyState', 'customerAnalyticsSetupLogic']),+ connect(() => ({+ values: [+ groupsAccessLogic,+ ['groupsAccessStatus'],+ productSetupStatusLogic({ productKey: ProductKey.CUSTOMER_ANALYTICS }),+ ['status as setupStatus'],+ ],+ actions: [productSetupStatusLogic({ productKey: ProductKey.CUSTOMER_ANALYTICS }), ['setDetectedStatus']],+ })),+ subscriptions(({ actions }) => ({+ // Covers the team (and its group types) arriving after mount.+ groupsAccessStatus: (groupsAccessStatus: GroupsAccessStatus) => {+ actions.setDetectedStatus(statusFromGroupsAccess(groupsAccessStatus))+ },+ })),+ afterMount(({ actions, values }) => {+ actions.setDetectedStatus(statusFromGroupsAccess(values.groupsAccessStatus))+ }),+])diff --git a/products/customer_analytics/manifest.tsx b/products/customer_analytics/manifest.tsxindex cadb63b1a075..4568b78ac069 100644--- a/products/customer_analytics/manifest.tsx+++ b/products/customer_analytics/manifest.tsx@@ -5,7 +5,7 @@ import { FEATURE_FLAGS } from 'lib/constants'import { urls } from 'scenes/urls'import { ProductItemCategory, ProductKey } from '~/queries/schema/schema-general'-import { ProductManifest } from '~/types'+import { FileSystemIconColor, ProductManifest } from '~/types'import type { WarehousePropertiesSceneTab } from './frontend/scenes/WarehousePropertiesScene/warehousePropertiesSceneLogic'@@ -104,6 +104,10 @@ export const manifest: ProductManifest = {intents: [ProductKey.CUSTOMER_ANALYTICS],category: ProductItemCategory.ANALYTICS,iconType: 'cohort',+ iconColor: [+ 'var(--color-product-customer-analytics-light)',+ 'var(--color-product-customer-analytics-dark)',+ ] as FileSystemIconColor,href: urls.customerAnalytics(),tags: ['beta'],flag: FEATURE_FLAGS.CUSTOMER_ANALYTICS,diff --git a/products/customer_analytics/package.json b/products/customer_analytics/package.jsonindex 911904acb03d..5d5034b98567 100644--- a/products/customer_analytics/package.json+++ b/products/customer_analytics/package.json@@ -10,6 +10,7 @@"kea-forms": "catalog:","kea-loaders": "catalog:","kea-router": "catalog:",+ "kea-subscriptions": "catalog:","kea-test-utils": "catalog:","posthog-js": "catalog:"},