: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
import * as xRayPng from '@posthog/brand/hoggies/png/x-ray'
import { IconEye } from '@posthog/icons'
import { pngHoggie } from 'lib/brand/hoggies'
import type { SceneProductEmptyState } from 'lib/components/ProductEmptyState/types'
import { urls } from 'scenes/urls'
import { ProductKey } from '~/queries/schema/schema-general'
import { visionDocsUrl } from '../components/DocsLink'
import { replayVisionSetupLogic } from '../replayVisionSetupLogic'
import { ReplayVisionObservationPreview } from './ReplayVisionObservationPreview'
const HedgehogXRay = pngHoggie(xRayPng)
export const replayVisionEmptyState: SceneProductEmptyState = {
statusLogic: replayVisionSetupLogic,
config: {
productKey: ProductKey.REPLAY_VISION,
productName: 'Replay Vision',
icon: <IconEye />,
// Replay vision shares session replay's product color (see the manifest's iconColor).
accentColor: 'var(--color-product-session-replay-light)',
accentColorDark: 'var(--color-product-session-replay-dark)',
hedgehog: HedgehogXRay,
hedgehogPlacement: 'beside',
text: {
'needs-setup': {
headline: "AI watches your recordings so you don't have to",
lead: 'Describe what to look for in plain language. A scanner watches each new session recording for it. Every result is an event you can query, graph, and alert on.',
hint: 'Fastest way in: the setup agent turns on session replay if needed, then reads your codebase and creates scanners for your key flows:',
},
},
wizard: { slug: 'replay-vision', pinProjectId: true },
primaryAction: {
label: 'Create a scanner yourself',
to: urls.replayVisionNewScanner(),
},
docsUrl: visionDocsUrl(),
previewLabel: 'Example scanner results',
Preview: ReplayVisionObservationPreview,
},
}