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): drop "prompt" from quality ratings copy (#72865)

Arno Hillen58f1d7226d5e
diff --git a/products/replay_vision/frontend/observations/ObservationLabelControl.tsx b/products/replay_vision/frontend/observations/ObservationLabelControl.tsx
index 957c33861d5f..57970a48add1 100644
--- a/products/replay_vision/frontend/observations/ObservationLabelControl.tsx
+++ b/products/replay_vision/frontend/observations/ObservationLabelControl.tsx
@@ -19,7 +19,8 @@ export interface ObservationLabelProps {
scannerUserAccessLevel?: AccessControlLevel | null
}
-const FEEDBACK_PLACEHOLDER = 'Optional: what did it get right or wrong, and why? Used to improve the prompt.'
+const FEEDBACK_PLACEHOLDER =
+ 'Optional: what did it get right or wrong, and why? Used to improve the scanner configuration.'
function useEditAccess(scannerUserAccessLevel?: AccessControlLevel | null): string | null {
// Editing the shared rating mutates team-wide data derived from a recording, so it needs the same
diff --git a/products/replay_vision/frontend/replay_scanners/components/ScannerQualityTab.tsx b/products/replay_vision/frontend/replay_scanners/components/ScannerQualityTab.tsx
index 45c33e47e559..1b46be752d07 100644
--- a/products/replay_vision/frontend/replay_scanners/components/ScannerQualityTab.tsx
+++ b/products/replay_vision/frontend/replay_scanners/components/ScannerQualityTab.tsx
@@ -816,8 +816,11 @@ export function ScannerQualityTab({ scannerId }: { scannerId: string }): JSX.Ele
key: 'session',
width: 260,
render: (_, obs) => (
+ // Open in a new tab so labelers keep their place in the list while reviewing a recording.
<Link
to={urls.replayVisionObservation(obs.id)}
+ target="_blank"
+ targetBlankIcon={false}
className="font-mono text-xs text-primary truncate block"
>
{obs.session_id}
@@ -828,7 +831,7 @@ export function ScannerQualityTab({ scannerId }: { scannerId: string }): JSX.Ele
title: 'Result',
key: 'result',
render: (_, obs) => (
- <Link to={urls.replayVisionObservation(obs.id)} className="block">
+ <Link to={urls.replayVisionObservation(obs.id)} target="_blank" className="block">
<div className="min-w-[16rem] max-w-xl">
<ObservationResultSummary observation={obs} />
</div>
@@ -912,6 +915,7 @@ export function ScannerQualityTab({ scannerId }: { scannerId: string }): JSX.Ele
type="secondary"
icon={<IconRewindPlay />}
to={urls.replaySingle(obs.session_id)}
+ targetBlank
className="whitespace-nowrap"
data-attr="vision-quality-view-recording"
>
@@ -925,7 +929,7 @@ export function ScannerQualityTab({ scannerId }: { scannerId: string }): JSX.Ele
<div className="flex flex-col gap-6">
<p className="text-muted m-0 max-w-2xl">
Rate scanner results with a thumbs up or down, and optionally add feedback explaining why. Your team's
- ratings power the PostHog AI prompt recommendation below.
+ ratings power the PostHog AI recommendation below.
</p>
<ConfigRecommendationPanel scannerId={scannerId} />