: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: debug panel to session page (#55293)
Christian Raffertyc1c19c0d22a6
diff --git a/frontend/snapshots.yml b/frontend/snapshots.ymlindex 773000dbc141..7766897eb301 100644--- a/frontend/snapshots.yml+++ b/frontend/snapshots.yml@@ -4307,7 +4307,7 @@ snapshots:scenes-app-dashboards--access-control-dashboard--light:hash: v1.k794b7964.dc4668079433d9d32098abb7e7ddd0f8d7beb5a0e340bc62db5d9b3b169443d6.KHaTfpgbwW7i_WMJD2WRJHHVip8Y0xXQYcPkFzwhx_Yscenes-app-dashboards--edit--dark:- hash: v1.k794b7964.bd3d07247d36e8ec8da6ac4786ccb76ae4ab25f8bf2ee715a65116ea0a351d7e.k2IamoJqoBz3dJd0G5BLinh4FInyFYw9whCsiBbn-JA+ hash: v1.k794b7964.9841bf4c17d0deb6e2689f0fa121083891d04d90c51cd0a091ee8e6a45819be5.ouBCUXW6-PrHbVXG1asZ6RvcHvIpi_DDo0gsg-LKVJoscenes-app-dashboards--edit--light:hash: v1.k794b7964.323ad2f789d32ab1f7ff93e7f9123a5b57584a51140d17c189ceeafe1254c6f2.xPHUsj1Ql16ii6E9XeaYqXAkHY5DCaOYimQlEbUNrA8scenes-app-dashboards--erroring--dark:diff --git a/frontend/src/scenes/sessions/components/SessionRecordingSection.tsx b/frontend/src/scenes/sessions/components/SessionRecordingSection.tsxindex e27d89720145..a4a23942181d 100644--- a/frontend/src/scenes/sessions/components/SessionRecordingSection.tsx+++ b/frontend/src/scenes/sessions/components/SessionRecordingSection.tsx@@ -4,6 +4,7 @@ import { useState } from 'react'import { IconCollapse, IconExpand, IconVideoCamera } from '@posthog/icons'import { LemonButton, LemonCard, Spinner } from '@posthog/lemon-ui'+import { ReplayCaptureDiagnosticsPanel } from 'scenes/session-recordings/components/ReplayCaptureDiagnosticsPanel'import { SessionRecordingPlayer } from 'scenes/session-recordings/player/SessionRecordingPlayer'import { SessionRecordingPlayerMode } from 'scenes/session-recordings/player/sessionRecordingPlayerLogic'@@ -51,9 +52,14 @@ export function SessionRecordingSection(): JSX.Element | null {/></div>) : (- <div className="flex flex-col items-center justify-center h-[200px] text-muted-alt">- <IconVideoCamera className="text-4xl mb-2 opacity-50" />- <p className="m-0">No recording available for this session</p>+ <div className="flex flex-col items-center justify-center py-6 px-4 text-muted-alt gap-4">+ <div className="flex flex-col items-center">+ <IconVideoCamera className="text-4xl mb-2 opacity-50" />+ <p className="m-0">No recording available for this session</p>+ </div>+ <div className="w-full max-w-xl">+ <ReplayCaptureDiagnosticsPanel sessionId={sessionId} />+ </div></div>)}</div>