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(aio): constrain self-driving evals table width (#81593)

Radu Raicea34c469b9b1fc
diff --git a/products/ai_observability/frontend/selfDriving/AIObservabilitySelfDriving.tsx b/products/ai_observability/frontend/selfDriving/AIObservabilitySelfDriving.tsx
index d5be37f4dd5e..4de24f4ee844 100644
--- a/products/ai_observability/frontend/selfDriving/AIObservabilitySelfDriving.tsx
+++ b/products/ai_observability/frontend/selfDriving/AIObservabilitySelfDriving.tsx
@@ -82,6 +82,7 @@ export function AIObservabilitySelfDriving(): JSX.Element {
{
title: 'Name',
key: 'name',
+ width: '40%',
render: (_, evaluation) => (
<div className="flex min-w-0 flex-col">
<span className="truncate font-semibold">{evaluation.name}</span>
@@ -127,6 +128,21 @@ export function AIObservabilitySelfDriving(): JSX.Element {
return lastGeneratedAt ? <TZLabel time={lastGeneratedAt} /> : 'Never'
},
},
+ {
+ key: 'actions',
+ width: 72,
+ align: 'right',
+ render: (_, evaluation) => (
+ <LemonButton
+ type="secondary"
+ size="small"
+ to={evaluationEditUrl(evaluation.id)}
+ data-attr="edit-ai-observability-evaluation"
+ >
+ Edit
+ </LemonButton>
+ ),
+ },
]
let scoutsContent: JSX.Element
@@ -284,6 +300,7 @@ export function AIObservabilitySelfDriving(): JSX.Element {
dataSource={evaluations}
loading={evaluationReportsLoading}
loadingSkeletonRows={2}
+ tableLayout="fixed"
rowKey="id"
nouns={['eval', 'evals']}
data-attr="ai-observability-evaluations-table"
@@ -296,16 +313,6 @@ export function AIObservabilitySelfDriving(): JSX.Element {
router.actions.push(evaluationEditUrl(evaluation.id))
},
})}
- rowActions={(evaluation) => (
- <LemonButton
- type="secondary"
- size="small"
- to={evaluationEditUrl(evaluation.id)}
- data-attr="edit-ai-observability-evaluation"
- >
- Edit
- </LemonButton>
- )}
/>
)}
</section>