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.

fix(replay-vision): invite context in scanner form copy (#78544)

coryslater7bcf6683959b
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index a6a6a6179e1e..a01c863c893e 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -6999,9 +6999,9 @@ snapshots:
scenes-app-replay-vision--scanner-digests--light:
hash: v1.k794b7964.7160d1eb03abff790b4ed77db80e5913c3359d80bca9d7f6863321575816e639.Qq99zfKOxqgP8Eu0DmH_s3K_ekEAOzo8VZe7TZVn67I
scenes-app-replay-vision--scanner-editor-configure--dark:
- hash: v1.k794b7964.1cc0c27cdf83b15db9f36fcbabf38a692224296826047ac4ec935eb40eeb06a7.RM_48ZnqUmHtmz-X0BsYOYldCPanZJNQ2iyrX-bAUis
+ hash: v1.k794b7964.329c7556ad85d746580d8662dad3a6a0c125926a21aa0cd1cd857ef60559b57c.gRO-AooWlKqPdgRt2ESC64X8njkXNgN3AHc-tz0QIqQ
scenes-app-replay-vision--scanner-editor-configure--light:
- hash: v1.k794b7964.1dbf5da39c0ddfb7e3fabe0c3e835afb8877971c217f3b85463a303500232fbc.4VahQ5Y13gd2emGfYNL_ZIau1cICglZszxjAjKeBTig
+ hash: v1.k794b7964.a5a08cc989e7c33b8e809d85faf68e5944f8e419d4b56fc200b8758005237933.xcQ7tgZqUe4NJeN-RmXX2rGfxbTvVkILJjka4SL1nzs
scenes-app-replay-vision--scanner-editor-triggers--dark:
hash: v1.k794b7964.f3ba8840b00d2ad1cadba6bcc7e3394d5327327e2659676525564444c3502b5c.Cbr24do3OGZCDLPDZvcP8QXJnytpytSi4I8WB8cdz5s
scenes-app-replay-vision--scanner-editor-triggers--light:
diff --git a/products/replay_vision/frontend/replay_scanners/ScannerEditorScene.tsx b/products/replay_vision/frontend/replay_scanners/ScannerEditorScene.tsx
index ce9adfb757da..5c7454b8d611 100644
--- a/products/replay_vision/frontend/replay_scanners/ScannerEditorScene.tsx
+++ b/products/replay_vision/frontend/replay_scanners/ScannerEditorScene.tsx
@@ -232,10 +232,14 @@ function ConfigureStep(): JSX.Element {
return (
<div className="flex flex-col gap-4">
<LemonField name="name" label="Name">
- <LemonInput placeholder="e.g. Confused checkout flow" />
+ <LemonInput placeholder="e.g. Checkout friction" />
</LemonField>
- <LemonField name="description" label="Description (optional)">
+ <LemonField
+ name="description"
+ label="Description (optional)"
+ help="The scanning agent doesn't see this field. It's for you and your team to keep scanners organized."
+ >
<LemonTextArea placeholder="What this scanner looks for and why." minRows={2} />
</LemonField>
diff --git a/products/replay_vision/frontend/replay_scanners/components/ScannerTypeConfigEditor.tsx b/products/replay_vision/frontend/replay_scanners/components/ScannerTypeConfigEditor.tsx
index 382840609399..a4a1c398b85f 100644
--- a/products/replay_vision/frontend/replay_scanners/components/ScannerTypeConfigEditor.tsx
+++ b/products/replay_vision/frontend/replay_scanners/components/ScannerTypeConfigEditor.tsx
@@ -33,7 +33,7 @@ export const SUMMARIZER_LENGTH_OPTIONS: { value: SummarizerScannerConfig['length
function ScannerPromptField({
scannerId,
placeholder,
- label = 'Prompt',
+ label = 'Prompt and additional context',
caption,
}: {
scannerId: string
@@ -225,8 +225,8 @@ export function ScannerTypeConfigEditor({ scannerId }: { scannerId: string }): J
<ScannerPromptField
scannerId={scannerId}
label="Additional context"
- caption="The core summarizer prompt is built in. Use this field to add product context or steer summaries — for example, what the ideal user flow looks like."
- placeholder="e.g. This is a B2B analytics tool. Users usually come to build a dashboard — call out where they get stuck in that flow."
+ caption="The agent already knows how to summarize. Use this field to add product context or steer summaries, for example what the ideal user flow looks like."
+ placeholder="Describe your product and what users usually come to do. Call out anything the summaries should focus on, like where users get stuck."
/>
<LemonField name="scanner_config.length" label="Summary length">
<LemonSegmentedButton className="max-w-full overflow-x-auto" options={SUMMARIZER_LENGTH_OPTIONS} />
@@ -241,6 +241,7 @@ export function ScannerTypeConfigEditor({ scannerId }: { scannerId: string }): J
<ScannerPromptField
scannerId={scannerId}
placeholder="Did the user encounter a payment failure? Answer yes or no with a one-sentence reason."
+ caption="Your prompt is the condition to check each session for. Include anything the agent should know about your product or this flow."
/>
<LemonField name="scanner_config.allow_inconclusive">
{({ value, onChange }) => (
@@ -265,7 +266,8 @@ export function ScannerTypeConfigEditor({ scannerId }: { scannerId: string }): J
<div className="space-y-4">
<ScannerPromptField
scannerId={scannerId}
- placeholder="Categorize this session by its primary user intent."
+ placeholder="Categorize this session by what the user came to do: first-time setup, regular work, exploring features, or troubleshooting a problem. If they did several, tag the one they spent the most time on."
+ caption="Your prompt tells the agent how to decide which of your tags fit each session. Include anything the agent should know about your product or this flow."
/>
<ClassifierTagsField scannerId={scannerId} />
<LemonField name="scanner_config.multi_label">
@@ -303,7 +305,8 @@ export function ScannerTypeConfigEditor({ scannerId }: { scannerId: string }): J
<div className="space-y-4">
<ScannerPromptField
scannerId={scannerId}
- placeholder="Rate how frustrated the user appeared during this session."
+ placeholder="Rate how frustrated the user appeared during this session. Smooth progress scores low. Rage clicks, repeated retries, and giving up mid-task score high."
+ caption="Your prompt is what the agent scores each session on, using the scale below. Include anything the agent should know about your product or this flow."
/>
<LemonField name="scanner_config.scale">
{({ value, onChange, error }) => {