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.

feat(vision): add scanner templates picker (#60547)

Kim Svatos Dugane2fa6d385c98
diff --git a/frontend/src/products.tsx b/frontend/src/products.tsx
index a3ceb95c1f68..05a381313a5a 100644
--- a/frontend/src/products.tsx
+++ b/frontend/src/products.tsx
@@ -130,6 +130,7 @@ export const productScenes: Record<string, () => Promise<any>> = {
Metrics: () => import('../../products/metrics/frontend/MetricsScene'),
ReplayVision: () => import('../../products/replay_vision/frontend/replay_scanners/ReplayScannersScene'),
ReplayVisionScanner: () => import('../../products/replay_vision/frontend/replay_scanners/ReplayScanner'),
+ ReplayVisionTemplates: () => import('../../products/replay_vision/frontend/replay_scanners/ScannerTemplatesScene'),
ReplayVisionObservation: () => import('../../products/replay_vision/frontend/observations/ReplayObservation'),
RevenueAnalytics: () => import('../../products/revenue_analytics/frontend/RevenueAnalyticsScene'),
SessionGroupSummariesTable: () => import('../../products/session_summaries/frontend/SessionGroupSummariesTable'),
@@ -253,6 +254,7 @@ export const productRoutes: Record<string, [string, string]> = {
'/metrics': ['Metrics', 'metrics'],
'/replay-vision': ['ReplayVision', 'replayVision'],
'/replay-vision/observations/:observationId': ['ReplayVisionObservation', 'replayVisionObservation'],
+ '/replay-vision/templates': ['ReplayVisionTemplates', 'replayVisionTemplates'],
'/replay-vision/:id': ['ReplayVisionScanner', 'replayVision'],
'/revenue_analytics': ['RevenueAnalytics', 'revenueAnalytics'],
'/session-summaries': ['SessionGroupSummariesTable', 'sessionGroupSummariesTable'],
@@ -702,6 +704,12 @@ export const productConfiguration: Record<string, any> = {
iconType: 'replay_vision',
layout: 'app-container',
},
+ ReplayVisionTemplates: {
+ name: 'Replay vision templates',
+ projectBased: true,
+ iconType: 'replay_vision',
+ layout: 'app-container',
+ },
ReplayVisionObservation: {
name: 'Replay vision observation',
projectBased: true,
@@ -1151,6 +1159,7 @@ export const productUrls = {
replayKiosk: (): string => '/replay/kiosk',
replaySettings: (sectionId?: string): string => `/replay/settings${sectionId ? `?sectionId=${sectionId}` : ''}`,
replayVision: (id?: string): string => (id ? `/replay-vision/${id}` : '/replay-vision'),
+ replayVisionTemplates: (): string => '/replay-vision/templates',
replayVisionObservation: (observationId: string): string => `/replay-vision/observations/${observationId}`,
revenueAnalytics: (): string => '/revenue_analytics',
sessionSummaries: (): string => '/session-summaries',
diff --git a/products/replay_vision/frontend/replay_scanners/ReplayScannersScene.tsx b/products/replay_vision/frontend/replay_scanners/ReplayScannersScene.tsx
index 76a67298568e..fb72ae2c50e9 100644
--- a/products/replay_vision/frontend/replay_scanners/ReplayScannersScene.tsx
+++ b/products/replay_vision/frontend/replay_scanners/ReplayScannersScene.tsx
@@ -1,7 +1,7 @@
import { useActions, useValues } from 'kea'
import { router } from 'kea-router'
-import { IconCopy, IconEye, IconPencil, IconPlus, IconSearch, IconTrash } from '@posthog/icons'
+import { IconCopy, IconPencil, IconPlus, IconSearch, IconTrash } from '@posthog/icons'
import { LemonButton, LemonInput, LemonSwitch, LemonTable, LemonTag, Link } from '@posthog/lemon-ui'
import { AccessControlAction } from 'lib/components/AccessControlAction'
@@ -185,7 +185,7 @@ export function ReplayScannersScene(): JSX.Element {
description="Replay vision runs scanners over completed sessions on a schedule or on demand, using session recordings and events to do anything you can describe — categorize sessions, monitor user behavior, surface frustration or confusion, flag bugs, score intent, or detect any custom pattern. Results land as queryable events you can build insights, alerts, and cohorts on."
secondaryDescription="You can get started using a template, or create a fully custom scanner yourself."
customHog={XRayHog}
- action={() => push(urls.replayVision('new'))}
+ action={() => push(urls.replayVisionTemplates())}
/>
<SceneSection
@@ -198,7 +198,7 @@ export function ReplayScannersScene(): JSX.Element {
<LemonButton
type="primary"
icon={<IconPlus />}
- onClick={() => push(urls.replayVision('new'))}
+ to={urls.replayVisionTemplates()}
data-attr="create-replay-scanner"
>
New scanner
@@ -249,13 +249,8 @@ export function ReplayScannersScene(): JSX.Element {
emptyState={
scanners.length === 0 ? (
<div className="flex flex-col items-center gap-3 p-8 text-center">
- <IconEye className="text-3xl text-muted" />
<div className="text-muted">No scanners yet.</div>
- <LemonButton
- type="primary"
- icon={<IconPlus />}
- onClick={() => push(urls.replayVision('new'))}
- >
+ <LemonButton type="primary" icon={<IconPlus />} to={urls.replayVisionTemplates()}>
Create your first scanner
</LemonButton>
</div>
diff --git a/products/replay_vision/frontend/replay_scanners/ScannerTemplatesScene.tsx b/products/replay_vision/frontend/replay_scanners/ScannerTemplatesScene.tsx
new file mode 100644
index 000000000000..eb34a7fdff78
--- /dev/null
+++ b/products/replay_vision/frontend/replay_scanners/ScannerTemplatesScene.tsx
@@ -0,0 +1,182 @@
+import { useValues } from 'kea'
+import { combineUrl, router } from 'kea-router'
+
+import {
+ IconArrowLeft,
+ IconBolt,
+ IconBug,
+ IconCheckCircle,
+ IconMagicWand,
+ IconNotebook,
+ IconPlus,
+ IconSearch,
+ IconStar,
+ IconTarget,
+ IconThumbsDown,
+ IconWarning,
+} from '@posthog/icons'
+import { LemonButton, LemonTag, Link } from '@posthog/lemon-ui'
+
+import { XRayHog } from 'lib/components/hedgehogs'
+import { SceneExport } from 'scenes/sceneTypes'
+import { urls } from 'scenes/urls'
+
+import { ScannerTemplate, ScannerTemplateIcon, defaultScannerTemplates } from './scannerTemplates'
+import { scannerTypeLabel } from './types'
+
+export const scene: SceneExport = {
+ component: ScannerTemplatesScene,
+}
+
+function getTemplateIcon(icon: ScannerTemplateIcon): JSX.Element {
+ const iconClass = 'w-6 h-6 text-primary-3000'
+ switch (icon) {
+ case 'bolt':
+ return <IconBolt className={iconClass} />
+ case 'warning':
+ return <IconWarning className={iconClass} />
+ case 'notebook':
+ return <IconNotebook className={iconClass} />
+ case 'target':
+ return <IconTarget className={iconClass} />
+ case 'thumbs-down':
+ return <IconThumbsDown className={iconClass} />
+ case 'star':
+ return <IconStar className={iconClass} />
+ case 'search':
+ return <IconSearch className={iconClass} />
+ case 'magic':
+ return <IconMagicWand className={iconClass} />
+ case 'bug':
+ return <IconBug className={iconClass} />
+ case 'check':
+ return <IconCheckCircle className={iconClass} />
+ default: {
+ const exhaustiveCheck: never = icon
+ return exhaustiveCheck
+ }
+ }
+}
+
+interface TemplateCardProps {
+ template: ScannerTemplate | 'blank'
+}
+
+function TemplateCard({ template }: TemplateCardProps): JSX.Element {
+ const isBlank = template === 'blank'
+ const { searchParams } = useValues(router)
+
+ const handleClick = (): void => {
+ if (isBlank) {
+ router.actions.push(combineUrl(urls.replayVision('new'), searchParams).url)
+ } else {
+ const url = combineUrl(urls.replayVision('new'), { ...searchParams, template: template.key }).url
+ router.actions.push(url)
+ }
+ }
+
+ return (
+ <button
+ className="relative flex flex-col bg-bg-light border border-border rounded-lg hover:border-primary-3000-hover focus:border-primary-3000-hover focus:outline-none transition-colors text-left group p-6 cursor-pointer min-h-[180px]"
+ data-attr={isBlank ? 'blank-scanner-template' : `scanner-template-${template.key}`}
+ onClick={handleClick}
+ >
+ <div className="flex flex-col items-center text-center gap-4 h-full">
+ <div className="bg-primary-3000/10 rounded-lg flex-shrink-0 size-12 flex items-center justify-center">
+ {isBlank ? <IconPlus className="w-6 h-6 text-primary-3000" /> : getTemplateIcon(template.icon)}
+ </div>
+ <div className="flex-1 flex flex-col justify-start">
+ <div className="flex items-center justify-center gap-2 mb-2">
+ <h3 className="text-base font-semibold text-default mb-0">
+ {isBlank ? 'Create from scratch' : template.name}
+ </h3>
+ {!isBlank && (
+ <LemonTag type="option" size="small">
+ {scannerTypeLabel(template.scanner_type)}
+ </LemonTag>
+ )}
+ </div>
+ <p className="text-sm text-secondary leading-relaxed">
+ {isBlank
+ ? 'Build a fully custom scanner with your own prompt and configuration.'
+ : template.description}
+ </p>
+ </div>
+ </div>
+ </button>
+ )
+}
+
+interface TemplateGridProps {
+ title: string
+ description: string
+ showBackButton?: boolean
+ learnMoreUrl?: string
+ minHeight?: '60vh' | '80vh'
+}
+
+function TemplateGrid({
+ title,
+ description,
+ showBackButton = false,
+ learnMoreUrl,
+ minHeight = '60vh',
+}: TemplateGridProps): JSX.Element {
+ const { searchParams } = useValues(router)
+
+ return (
+ <div className="flex flex-col items-center justify-center py-8" style={{ minHeight }}>
+ <div className="w-full max-w-5xl px-4">
+ {showBackButton && (
+ <div className="mb-6">
+ <LemonButton
+ type="secondary"
+ icon={<IconArrowLeft />}
+ onClick={() => router.actions.push(combineUrl(urls.replayVision(), searchParams).url)}
+ size="small"
+ >
+ Back to Replay vision
+ </LemonButton>
+ </div>
+ )}
+ <div className="space-y-8">
+ <div className="text-center space-y-3">
+ <div className="flex justify-center mb-4">
+ <XRayHog className="w-32 h-32" />
+ </div>
+ <h1 className="text-3xl font-bold">{title}</h1>
+ <p className="text-base text-secondary max-w-2xl mx-auto">
+ {description}
+ {learnMoreUrl && (
+ <>
+ {' '}
+ <Link to={learnMoreUrl} target="_blank">
+ Learn more
+ </Link>
+ </>
+ )}
+ </p>
+ </div>
+
+ <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
+ <TemplateCard template="blank" />
+ {defaultScannerTemplates.map((template) => (
+ <TemplateCard key={template.key} template={template} />
+ ))}
+ </div>
+ </div>
+ </div>
+ </div>
+ )
+}
+
+export function ScannerTemplatesScene(): JSX.Element {
+ return (
+ <TemplateGrid
+ title="Choose a scanner template"
+ description="Pick a pre-configured template to get started quickly, or create a fully custom scanner from scratch."
+ showBackButton
+ minHeight="80vh"
+ />
+ )
+}
diff --git a/products/replay_vision/frontend/replay_scanners/replayScannerLogic.test.ts b/products/replay_vision/frontend/replay_scanners/replayScannerLogic.test.ts
index 87495935dedd..e9b13f1173ab 100644
--- a/products/replay_vision/frontend/replay_scanners/replayScannerLogic.test.ts
+++ b/products/replay_vision/frontend/replay_scanners/replayScannerLogic.test.ts
@@ -1,9 +1,11 @@
+import { router } from 'kea-router'
import { expectLogic } from 'kea-test-utils'
import { useMocks } from '~/mocks/jest'
import { initKeaTests } from '~/test/init'
import { replayScannerLogic } from './replayScannerLogic'
+import { defaultScannerTemplates } from './scannerTemplates'
import { ClassifierScanner, ScorerScanner } from './types'
describe('replayScannerLogic', () => {
@@ -36,6 +38,19 @@ describe('replayScannerLogic', () => {
sampling_rate: 1,
})
})
+
+ it('new scanner pre-fills from ?template= search param', async () => {
+ const template = defaultScannerTemplates.find((t) => t.key === 'dead_end')!
+ router.actions.push('/replay-vision/new', { template: template.key })
+ await expectLogic(logic, () => logic.actions.loadScanner()).toMatchValues({
+ scanner: expect.objectContaining({
+ name: template.scanner_name,
+ description: template.scanner_description,
+ scanner_type: template.scanner_type,
+ scanner_config: template.scanner_config,
+ }),
+ })
+ })
})
describe('setScannerType', () => {
diff --git a/products/replay_vision/frontend/replay_scanners/replayScannerLogic.ts b/products/replay_vision/frontend/replay_scanners/replayScannerLogic.ts
index 2cdec797491a..0cd778bc650f 100644
--- a/products/replay_vision/frontend/replay_scanners/replayScannerLogic.ts
+++ b/products/replay_vision/frontend/replay_scanners/replayScannerLogic.ts
@@ -21,6 +21,7 @@ import type { ReplayObservationApi } from '../generated/api.schemas'
import { scheduleObservationPoll } from '../logics/observationPolling'
import { readFixedTags, readFreeformTags, readModelOutput, readTags, readVerdict } from '../utils/observation'
import type { replayScannerLogicType } from './replayScannerLogicType'
+import { findScannerTemplate } from './scannerTemplates'
import {
DEFAULT_MODEL,
DEFAULT_PROVIDER,
@@ -51,6 +52,11 @@ function quantile(sorted: number[], q: number): number {
return lo === hi ? sorted[lo] : sorted[lo] + (sorted[hi] - sorted[lo]) * (pos - lo)
}
+function currentTemplateKey(): string | null {
+ const value = router.values.searchParams.template
+ return typeof value === 'string' ? value : null
+}
+
function defaultConfigForType(scannerType: ScannerType): ScannerConfig {
if (scannerType === 'summarizer') {
return { prompt: '', length: 'medium' }
@@ -69,11 +75,9 @@ function omitQuery(scanner: ReplayScanner): Omit<ReplayScanner, 'query'> {
return rest
}
-function newScanner(): ReplayScanner {
- return {
+function newScanner(templateKey?: string | null): ReplayScanner {
+ const base = {
id: 'new',
- name: '',
- description: '',
enabled: true,
sampling_rate: 1,
query: { kind: NodeKind.RecordingsQuery },
@@ -85,6 +89,22 @@ function newScanner(): ReplayScanner {
created_at: dayjs().toISOString(),
updated_at: dayjs().toISOString(),
created_by: null,
+ } as const
+
+ const template = findScannerTemplate(templateKey ?? undefined)
+ if (template) {
+ return {
+ ...base,
+ name: template.scanner_name,
+ description: template.scanner_description,
+ scanner_type: template.scanner_type,
+ scanner_config: template.scanner_config,
+ } as ReplayScanner
+ }
+ return {
+ ...base,
+ name: '',
+ description: '',
scanner_type: 'monitor',
scanner_config: { prompt: '' },
}
@@ -114,7 +134,7 @@ export const replayScannerLogic = kea<replayScannerLogicType>([
forms(({ props }) => ({
scanner: {
- defaults: newScanner(),
+ defaults: newScanner(props.id === 'new' ? currentTemplateKey() : null),
errors: (scanner: ReplayScanner) => {
const configErrors: Record<string, string | undefined> = {}
if (!scanner.scanner_config?.prompt?.trim()) {
@@ -455,7 +475,7 @@ export const replayScannerLogic = kea<replayScannerLogicType>([
listeners(({ actions, props, values, cache }) => ({
loadScanner: async () => {
if (props.id === 'new') {
- actions.loadScannerSuccess(newScanner())
+ actions.loadScannerSuccess(newScanner(currentTemplateKey()))
return
}
const teamId = teamLogic.values.currentTeamId
diff --git a/products/replay_vision/frontend/replay_scanners/replayScannerSceneLogic.ts b/products/replay_vision/frontend/replay_scanners/replayScannerSceneLogic.ts
index 8ebe0a9d741b..4c219fbf7812 100644
--- a/products/replay_vision/frontend/replay_scanners/replayScannerSceneLogic.ts
+++ b/products/replay_vision/frontend/replay_scanners/replayScannerSceneLogic.ts
@@ -23,6 +23,7 @@ export const replayScannerSceneLogic = kea<replayScannerSceneLogicType>([
actions({
setScannerId: (scannerId: string) => ({ scannerId }),
setActiveTab: (tab: EditorTab) => ({ tab }),
+ setTemplateKey: (templateKey: string | null) => ({ templateKey }),
}),
reducers({
@@ -38,6 +39,12 @@ export const replayScannerSceneLogic = kea<replayScannerSceneLogicType>([
setActiveTab: (_, { tab }) => tab,
},
],
+ templateKey: [
+ null as string | null,
+ {
+ setTemplateKey: (_, { templateKey }) => templateKey,
+ },
+ ],
}),
selectors({
@@ -78,6 +85,11 @@ export const replayScannerSceneLogic = kea<replayScannerSceneLogicType>([
if (scannerId !== values.scannerId) {
actions.setScannerId(scannerId)
}
+ const templateKey =
+ scannerId === 'new' && typeof searchParams.template === 'string' ? searchParams.template : null
+ if (templateKey !== values.templateKey) {
+ actions.setTemplateKey(templateKey)
+ }
const raw = typeof searchParams.tab === 'string' ? searchParams.tab : ''
const defaultTab: EditorTab = scannerId === 'new' ? 'configuration' : 'observations'
const tab: EditorTab = (ALL_EDITOR_TABS as string[]).includes(raw) ? (raw as EditorTab) : defaultTab
diff --git a/products/replay_vision/frontend/replay_scanners/scannerTemplates.ts b/products/replay_vision/frontend/replay_scanners/scannerTemplates.ts
new file mode 100644
index 000000000000..045e2445b5c7
--- /dev/null
+++ b/products/replay_vision/frontend/replay_scanners/scannerTemplates.ts
@@ -0,0 +1,138 @@
+import type {
+ ClassifierScannerConfig,
+ IndexerScannerConfig,
+ MonitorScannerConfig,
+ ScorerScannerConfig,
+ SummarizerScannerConfig,
+} from './types'
+
+export type ScannerTemplateIcon =
+ | 'bolt'
+ | 'warning'
+ | 'notebook'
+ | 'target'
+ | 'thumbs-down'
+ | 'star'
+ | 'search'
+ | 'magic'
+ | 'bug'
+ | 'check'
+
+interface BaseTemplate {
+ key: string
+ name: string
+ description: string
+ icon: ScannerTemplateIcon
+ scanner_name: string
+ scanner_description: string
+}
+
+export interface MonitorTemplate extends BaseTemplate {
+ scanner_type: 'monitor'
+ scanner_config: MonitorScannerConfig
+}
+
+export interface SummarizerTemplate extends BaseTemplate {
+ scanner_type: 'summarizer'
+ scanner_config: SummarizerScannerConfig
+}
+
+export interface ClassifierTemplate extends BaseTemplate {
+ scanner_type: 'classifier'
+ scanner_config: ClassifierScannerConfig
+}
+
+export interface ScorerTemplate extends BaseTemplate {
+ scanner_type: 'scorer'
+ scanner_config: ScorerScannerConfig
+}
+
+export interface IndexerTemplate extends BaseTemplate {
+ scanner_type: 'indexer'
+ scanner_config: IndexerScannerConfig
+}
+
+export type ScannerTemplate =
+ | MonitorTemplate
+ | SummarizerTemplate
+ | ClassifierTemplate
+ | ScorerTemplate
+ | IndexerTemplate
+
+export const defaultScannerTemplates: readonly ScannerTemplate[] = [
+ {
+ key: 'dead_end',
+ name: 'Dead ends',
+ description: 'Detect sessions where the user gets stuck on a page with no clear path forward.',
+ icon: 'warning',
+ scanner_type: 'monitor',
+ scanner_name: 'Dead-end pages',
+ scanner_description: 'Flag sessions where the user appears stuck with no obvious next action.',
+ scanner_config: {
+ prompt: 'Return true if the user appears stuck on a page — scrolling without engaging, hovering over elements with no clear CTA, or abandoning the session shortly after arriving. Otherwise return false.',
+ },
+ },
+ {
+ key: 'session_summary',
+ name: 'Session summary',
+ description: 'Generate a short narrative of what the user actually did in the session.',
+ icon: 'notebook',
+ scanner_type: 'summarizer',
+ scanner_name: 'Session summary',
+ scanner_description: 'A short narrative summary of the session.',
+ scanner_config: {
+ prompt: 'Summarize what the user did in this session. Mention the main pages they visited, the primary actions they took, and any notable moments (errors, confusion, completed flows). Be concrete and avoid speculation.',
+ length: 'medium',
+ },
+ },
+ {
+ key: 'user_intent',
+ name: 'User intent',
+ description: 'Classify the session by what the user appeared to be trying to do.',
+ icon: 'target',
+ scanner_type: 'classifier',
+ scanner_name: 'User intent',
+ scanner_description: 'Tag each session with the likely intent behind it.',
+ scanner_config: {
+ prompt: "Classify what the user appeared to be trying to accomplish in this session. Choose the single best-fitting tag from the available options based on the user's primary actions.",
+ tags: ['browsing', 'purchasing', 'researching', 'support', 'account_management', 'returning_task'],
+ multi_label: false,
+ },
+ },
+ {
+ key: 'frustration_score',
+ name: 'Frustration score',
+ description: 'Score how much friction or frustration the user appeared to experience.',
+ icon: 'thumbs-down',
+ scanner_type: 'scorer',
+ scanner_name: 'Frustration score',
+ scanner_description: 'Numeric score for how frustrated the user appeared.',
+ scanner_config: {
+ prompt: 'Score how much frustration the user appeared to experience in this session. 0 means the session was smooth and the user accomplished what they came for. 10 means the user was visibly frustrated — rage clicks, repeated failures, abandonment. Use the full range.',
+ scale: { min: 0, max: 10, label: 'frustration' },
+ },
+ },
+ {
+ key: 'session_outcome',
+ name: 'Session outcome',
+ description: 'Tag each session with what actually happened — task completed, abandoned, errored, etc.',
+ icon: 'check',
+ scanner_type: 'classifier',
+ scanner_name: 'Session outcome',
+ scanner_description: 'Classify the outcome of each session.',
+ scanner_config: {
+ prompt: 'Classify what happened in this session. Did the user complete what they were trying to do, abandon partway through, encounter an error that blocked them, or just browse without a clear task? Pick the single best-fitting outcome.',
+ tags: ['task_completed', 'task_abandoned', 'blocked_by_error', 'browsing_only', 'inconclusive'],
+ multi_label: false,
+ },
+ },
+] as const
+
+export type ScannerTemplateKey = (typeof defaultScannerTemplates)[number]['key']
+
+export function findScannerTemplate(key: string | undefined): ScannerTemplate | undefined {
+ if (!key) {
+ return undefined
+ }
+ return defaultScannerTemplates.find((t) => t.key === key)
+}
diff --git a/products/replay_vision/manifest.tsx b/products/replay_vision/manifest.tsx
index 1c9cf64cf6b7..8700205001dc 100644
--- a/products/replay_vision/manifest.tsx
+++ b/products/replay_vision/manifest.tsx
@@ -24,6 +24,13 @@ export const manifest: ProductManifest = {
iconType: 'replay_vision',
layout: 'app-container',
},
+ ReplayVisionTemplates: {
+ name: 'Replay vision templates',
+ import: () => import('./frontend/replay_scanners/ScannerTemplatesScene'),
+ projectBased: true,
+ iconType: 'replay_vision',
+ layout: 'app-container',
+ },
ReplayVisionObservation: {
name: 'Replay vision observation',
import: () => import('./frontend/observations/ReplayObservation'),
@@ -35,6 +42,7 @@ export const manifest: ProductManifest = {
routes: {
'/replay-vision': ['ReplayVision', 'replayVision'],
'/replay-vision/observations/:observationId': ['ReplayVisionObservation', 'replayVisionObservation'],
+ '/replay-vision/templates': ['ReplayVisionTemplates', 'replayVisionTemplates'],
'/replay-vision/:id': ['ReplayVisionScanner', 'replayVision'],
},
redirects: {},
@@ -42,6 +50,7 @@ export const manifest: ProductManifest = {
replayVision:
/** @param id A UUID or 'new'. Omit for the scanner list page. */
(id?: string): string => (id ? `/replay-vision/${id}` : '/replay-vision'),
+ replayVisionTemplates: (): string => '/replay-vision/templates',
replayVisionObservation: (observationId: string): string => `/replay-vision/observations/${observationId}`,
},
fileSystemTypes: {},