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(error-tracking): stop diagnostics panel overlapping replay status banner (#85036)

HaynesPostHogc6aab938ad02
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index f77ac7362229..c1c55192eb3a 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -5413,29 +5413,29 @@ snapshots:
replay-player-seekbar--late-full-snapshot--light:
hash: v1.k794b7964.9f483e5662ab30becd97b6180b1e99ef6755f6189f63b45bcd959e4785b1087b.Jawj15BENeCV-XD75Plb1zTDIPWke_ERmIGq9VBUQuU
replay-scenes-activity-modal--event-explorer-with-modal-not-found--dark:
- hash: v1.k794b7964.501fe9bfcbdf282d03b6e84473bc502b8039a3885993a7a581642d53c6723c59.wbNI8ZzAgSPgBs4xMZ3CQMf3f9vqSb2FmF_QsN7r-K4
+ hash: v1.k794b7964.0f99b5036cb66145b550c3d047e8e0354e7499ddbe4d5233a10ba308f80fda38.Hvzj7qJsOrYBmt3E0Qvqgnxl7S11x5R4K_yc83a47s8
replay-scenes-activity-modal--event-explorer-with-modal-not-found--light:
- hash: v1.k794b7964.81e20aa66083b87a258198e6ea569f3ddba800c881cf9e290ecf26a91854ea85.dSrHo6fI1JEXYFPhx_CffBlbooKEihfsJgDjDE__yIw
+ hash: v1.k794b7964.f2b33d0679138737db8621af75e44a5721bf94b162c78dd3f710b0ed204e8a19.BC5ExSw0oEO_bhd7247_scbKegkYMOzZh1DhgwINf20
replay-scenes-group--group-events-tab-with-modal-not-found--dark:
- hash: v1.k794b7964.138cafc1552c1dda770e935bcd85d18ea9311f46e924f50402d3bff212be6973.3ArSEPt5vM96hea6kAfkUt6oQ7aaExJ1dTM8wiKLpaU
+ hash: v1.k794b7964.1827697903c0368b3ba5e37b51d4c68f6b6906368bfe59abf8351aee89c80df6.y-4cxo8BrgiTcbQRuCWkNfzf_OczP9jc8s8niK6U_S4
replay-scenes-group--group-events-tab-with-modal-not-found--light:
- hash: v1.k794b7964.6e029540cf3b63bd4a0dc3b86ce0550dbf30030e60bfc019cbb3175d300a779a.ziOYrRkUEvJNamyXB0hniRirYjxHtBry1SfcnSzuRDE
+ hash: v1.k794b7964.79e18c73c32da6970472b0efaf28be54b3a7ac5f0e6cce9a0823522f0f6ccb82.Wq0QqpowpJSZu-5lG9k-8EdF2NiLZJgKD-WH64pDMdw
replay-scenes-group--group-recording-tab-empty--dark:
hash: v1.k794b7964.0660887202ba71055373168f4b9df5cdc8251c89f0f96b77c4b3196845362f70.VFxGeaTyLzGuovqDxnkS9wWUmq2J0edku92QEPb1mJI
replay-scenes-group--group-recording-tab-empty--light:
hash: v1.k794b7964.06998246ac4a34809c233b8a664de4341ef8646c7c25865c31c34d15714b1904.ikkcZU-qTv5OBMBa0nR_7vnmBJwSfllp_59gzEO6w4I
replay-scenes-group--group-recording-tab-multiple-and-not-found--dark:
- hash: v1.k794b7964.6d90ac2822853141d181bcd3a6a2e00987a412144ec6143d8dea46d9622c21b7.jih41vrsO0MYgwguxCQwBgF4H1zTPDMESo30p1a__-w
+ hash: v1.k794b7964.41649e1eac2037c35dd85348effb5381fd09d14a6f6f69d229466f955522a24d.CB7_6BffEqh-oe0Wy6IvY_punU0qAW-gem-nkuFpo0U
replay-scenes-group--group-recording-tab-multiple-and-not-found--light:
- hash: v1.k794b7964.621f9c9c68adfa23d3f5b2b5a6850fd474dbeb573857dfad83f07a990e39dcbb.QEnOHThDsOV0g9ijwRn3Z99O2kbSleFB4qGIO4DYUyc
+ hash: v1.k794b7964.f310f1c95bd6ef34dff09dd114572243bd1a500535d9f465dd18891731d8a8ea.wtA98Xwks_LtmU5V4NS77-lI4_eOkFblBqY60VZ__PU
replay-scenes-person--person-recording-tab-empty--dark:
hash: v1.k794b7964.d337c9b3822884b424ceca688c767202c2b1a72e2b0e466092ae5f9795dbcabd.TZsx90e31kbDKuYkmYXRtlH0jo7mxK0xNIrohR9Jf-Y
replay-scenes-person--person-recording-tab-empty--light:
hash: v1.k794b7964.e29314b81472a69779a7da88417f5d840eec03de97125db890eafa3d5190e0c5.y27QikyGJb8Eoewgpuj-zbqSGWjYT4ZmwD_GUvqyL4I
replay-scenes-person--person-recording-tab-multiple-and-not-found--dark:
- hash: v1.k794b7964.714b4c59411b5210cb165b2769c669e0fac39585e2ec137651e141e40afcc852.GWc-CnXOmPhkyG9EAiYBHN91-qZZ6DlO_pYfz0AODfI
+ hash: v1.k794b7964.cbd227523190d7be68c2e98c84dc25d6d1b3ad983c1be037e9447fdc125d6110.6sKPrZm4bDLl1BZD031TJ44C8a8v430pk8WBdk8LO9Y
replay-scenes-person--person-recording-tab-multiple-and-not-found--light:
- hash: v1.k794b7964.47e151f3cb557122625d22c14ba41e324b07f22e57b865ccdbf78bea9df9187c.HbC1lGg8DaBW7EuBm-oY5k5Dm_cHBBBOwc3QOXIz4iA
+ hash: v1.k794b7964.a2a07400359f1e84484d49e49bd12891c3c365c71ed8049a12061e6f5bf35c3c.xp30F76kidXK9P7SCBUHDuCiMPUsaiA7F-wJj-3kkgU
replay-sharing--private-link--dark:
hash: v1.k794b7964.5ef4bd7e1d49d4506c360881a3a1482e857b5240362d76c855692eab18fc0764.0IvXqC6Lmuj5NeaGPbu0_5gr6mVBAtiGtBfKu7gvQXA
replay-sharing--private-link--light:
@@ -5449,9 +5449,9 @@ snapshots:
replay-tabs-collections--recordings-play-lists--light:
hash: v1.k794b7964.ec52ea7db8e78f4b476f20a564787b7bf614ab9f6ac5b226796737d08f1d471c.7zHA9RmJgfeydgCRP5Q5YlWjnOy1Nn_S-3xGJ0lONik
replay-tabs-home-failure--not-found--dark:
- hash: v1.k794b7964.fa848176d0129f3aeb136a7690d972d2e27fd52ddaef057524e19cfe7db29843.QIV-1SpCFumyyfDMK0jxs_V2f29WZaSr9B89aFA6N1g
+ hash: v1.k794b7964.976b4bc71204d3fdd7d22bc696a779a418376dfa7d6fc74cf50ebc5023c672b9.gyNSfDI5sGG3Hamw70N9MALDuDtbPb3jeSZzD9-IC5g
replay-tabs-home-failure--not-found--light:
- hash: v1.k794b7964.07ef44f61acf37fe13cb84d5697c6a11368110f1ab4e6b5c889bded9b2fa8ece.JGQBTF8x9jhjiFQTHW6w2xweBvOaTpXdqbjDA1HxyMc
+ hash: v1.k794b7964.68ea14164788313df082ab6a0376077a82369dbdb3365ce8427640ad453aa9d6.laeHUCIfmZ8CHubdHCTK_PaLsSGS3XkBTsQRSma6qoE
replay-tabs-home-filters-banner--product-analytics-over-limit--dark:
hash: v1.k794b7964.3382cb9fbf56647bce20e824f37190da01c7e832174672c646a328301637e1fa.ZpMkQP_H9a6yc7qYnEIHtAxfN4jHWRPD4virSf2vGIA
replay-tabs-home-filters-banner--product-analytics-over-limit--light:
diff --git a/frontend/src/lib/components/NotFound/index.tsx b/frontend/src/lib/components/NotFound/index.tsx
index 5d91138e526b..47797346eeb1 100644
--- a/frontend/src/lib/components/NotFound/index.tsx
+++ b/frontend/src/lib/components/NotFound/index.tsx
@@ -34,9 +34,10 @@ export interface NotFoundProps {
urlId?: string
}
className?: string
+ style?: React.CSSProperties
}
-export function NotFound({ object, caption, meta, className }: NotFoundProps): JSX.Element {
+export function NotFound({ object, caption, meta, className, style }: NotFoundProps): JSX.Element {
const { preflight } = useValues(preflightLogic)
const { openSupportForm } = useActions(supportLogic)
@@ -51,6 +52,7 @@ export function NotFound({ object, caption, meta, className }: NotFoundProps): J
return (
<div
className={cn('NotFoundComponent', className)}
+ style={style}
data-attr={`not-found-${object.replace(/\s/g, '-').toLowerCase()}`}
>
{!nodeLogic ? <div className="NotFoundComponent__graphic" /> : null}
diff --git a/frontend/src/scenes/session-recordings/player/RecordingNotFound.tsx b/frontend/src/scenes/session-recordings/player/RecordingNotFound.tsx
index b060e43453c9..21dec7e58cad 100644
--- a/frontend/src/scenes/session-recordings/player/RecordingNotFound.tsx
+++ b/frontend/src/scenes/session-recordings/player/RecordingNotFound.tsx
@@ -16,6 +16,7 @@ export function RecordingNotFound({ sessionRecordingId }: { sessionRecordingId?:
<NotFound
object="Recording"
className="shrink-0"
+ style={sessionRecordingId ? { marginBottom: 0 } : undefined}
caption={
<>
The requested recording could not be found. See the diagnosis below for likely reasons, or refer
@@ -57,7 +58,7 @@ export function RecordingNotFound({ sessionRecordingId }: { sessionRecordingId?:
}
/>
{sessionRecordingId && (
- <div className="-mt-16 mb-12 w-full max-w-xl shrink-0 px-4">
+ <div className="mt-4 mb-12 w-full max-w-xl shrink-0 px-4">
<ReplayCaptureDiagnosticsPanel sessionId={sessionRecordingId} />
</div>
)}