: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(replay-vision): lay out scorer charts side by side (#67096)
Kim Svatos Dugan0bc4b0aadaa3
diff --git a/products/replay_vision/frontend/replay_scanners/components/ScannerOverview.tsx b/products/replay_vision/frontend/replay_scanners/components/ScannerOverview.tsxindex 266adec65540..d4a246a08ef9 100644--- a/products/replay_vision/frontend/replay_scanners/components/ScannerOverview.tsx+++ b/products/replay_vision/frontend/replay_scanners/components/ScannerOverview.tsx@@ -222,6 +222,18 @@ export function ScannerOverview({ scannerId }: { scannerId: string }): JSX.Elemeif (!showChart && !typeOverview) {return null}+ // Scorer puts its line chart and score-distribution histogram side by side to reclaim vertical space.+ if (scannerType === 'scorer') {+ return (+ <div className="grid grid-cols-1 lg:grid-cols-2 gap-4 items-start">+ {/* min-w-0 lets the canvas charts shrink inside their grid tracks instead of overflowing */}+ <div className="min-w-0">+ <ScannerInsightsChart scannerId={scannerId} scannerType={scannerType} />+ </div>+ <div className="min-w-0">{typeOverview}</div>+ </div>+ )+ }return (<div className="space-y-4">{showChart && <ScannerInsightsChart scannerId={scannerId} scannerType={scannerType} />}