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(llma): keep end-of-trace timeline bars clear of the chart edge (#68626)

Marco Gancitanoc083410568a8
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index 8244729f9357..92ca2d604d9a 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -4861,13 +4861,13 @@ snapshots:
scenes-app-ai-observability-skills--skill-detail-stacked-below-2-xl-breakpoint--wide--light:
hash: v1.k794b7964.c11f045bc7ed6084b7f7f19bd99149c5111512aeb77416ef125fb1a41aeb77e8.98xhehD94Y0U5Psv6_cm1LcBdamkWuJOZUCT_LcPTls
scenes-app-ai-observability-trace--full--dark:
- hash: v1.k794b7964.325f925fcd4c305ed13592f3fdce3cc5d2a4671f259a6733eebc370ecffabf88.Ja1u6az53dW27qeRxcaqlMfMUTM-0CDpc6mRbLmd1-o
+ hash: v1.k794b7964.055ce63e7fdedc902cecaab975aa4e19aef0027f888eb836e188b9037ec175d3.z5k4nHzXbs9Vku0Lc-p3cmJ062oLPC8pjZWYYNW8VAU
scenes-app-ai-observability-trace--full--light:
- hash: v1.k794b7964.45e6ff0d8cbe572d69536cd7f44cee15983d3d90a2b5ed9cee21cb9ec43b5c0e.dB-uNSPlFosn9cUw9jjL2wlVsNfi4CESFNj70mDuUKU
+ hash: v1.k794b7964.94ccb1c0676dfe56f2dfe450522e796570997788f5fd24f01b44230b64b5c31b.6nCJBKNf3JV1b9HV5LjK20lGJTLTfJFk72reYi3zw4o
scenes-app-ai-observability-trace--full-specific-event--dark:
- hash: v1.k794b7964.d97bb3a4e3897d2af5b314c91e68d610ee269fd1315947e4713bbb7ff87c6225.AU0MzOpLLIA5WT_Of0rUy4SrO-LGDJGxNpRKf2_cmHM
+ hash: v1.k794b7964.8126504b2645e4806916dcc6b57517a3007f54b260f0204e0e225fe8adb3fd94.2RqlaOK6qi0Hv838VmJC-uceXj0FcuT39uZkb10Q-48
scenes-app-ai-observability-trace--full-specific-event--light:
- hash: v1.k794b7964.54ea513f3a8c58cf5df9287dc95a879d0b771b12b3913fca40227741703fa72f.GyAqqNLhD27t5U1Snyzp8nf9C_VTaFobf0dPkO0iRzI
+ hash: v1.k794b7964.eea86936f0b29cfe31e200f0f0b8df0e1b67c12c8e325072ebf804b295e2df6d.jiN1e1cE_3-yDJP-nK8G6fxTByA6Zf704SjbNi1KO9U
scenes-app-ai-observability-trace--without-content--dark:
hash: v1.k794b7964.43c0a5235771b6bdb554e89d09b43f6aa3603ed7ebe2e0d84858e0d2c15eb278.yNl0wPG__RV5KWRQSSk1AAiPFcFBXftZFMuYZ9uXZeY
scenes-app-ai-observability-trace--without-content--light:
diff --git a/products/ai_observability/frontend/components/TraceTimeline/TraceTimeline.tsx b/products/ai_observability/frontend/components/TraceTimeline/TraceTimeline.tsx
index 619e67b0c3a9..e6e2be4cb578 100644
--- a/products/ai_observability/frontend/components/TraceTimeline/TraceTimeline.tsx
+++ b/products/ai_observability/frontend/components/TraceTimeline/TraceTimeline.tsx
@@ -80,7 +80,7 @@ export function TraceTimeline({
// Rendered inline (capped height) and inside the full-screen modal (viewport height).
const renderCanvas = (maxHeight: number | string): JSX.Element => (
<div className="px-3 pb-2">
- <div className="relative h-4 mb-1.5 text-[10px] leading-4 text-muted">
+ <div className="relative h-4 mb-1.5 mr-4 text-[10px] leading-4 text-muted">
{ticks.map((tick) => (
<span
key={tick}
@@ -104,7 +104,7 @@ export function TraceTimeline({
style={{ maxHeight }}
>
{/* eslint-disable-next-line react/forbid-dom-props */}
- <div className="relative" style={{ height: chartHeight }}>
+ <div className="relative mr-4" style={{ height: chartHeight }}>
{ticks.slice(1).map((tick) => (
<div
key={tick}