: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
fix(frontend): use spinner for lazy authenticated shell suspense fallback (#58475)
Michael Matloka5c72f6643315
diff --git a/frontend/src/scenes/App.tsx b/frontend/src/scenes/App.tsxindex 751eea73f93d..7b639fbea1c0 100644--- a/frontend/src/scenes/App.tsx+++ b/frontend/src/scenes/App.tsx@@ -8,7 +8,6 @@ import { useThemedHtml } from 'lib/hooks/useThemedHtml'import { KeaDevtools } from 'lib/KeaDevTools'import { ToastCloseButton } from 'lib/lemon-ui/LemonToast/LemonToast'import { SpinnerOverlay } from 'lib/lemon-ui/Spinner/Spinner'-import { WrappingLoadingSkeleton } from 'lib/ui/WrappingLoadingSkeleton/WrappingLoadingSkeleton'import { appLogic } from 'scenes/appLogic'import { appScenes } from 'scenes/appScenes'import { sceneLogic } from 'scenes/sceneLogic'@@ -149,9 +148,10 @@ function AppScene(): JSX.Element | null {<ChunkLoadErrorBoundary><Suspensefallback={- <WrappingLoadingSkeleton fullWidth>- <span className="block w-full h-screen" />- </WrappingLoadingSkeleton>+ // SpinnerOverlay is already imported here — no new lazy deps vs skeleton.+ <div className="relative h-screen">+ <SpinnerOverlay sceneLevel />+ </div>}><AuthenticatedShell>{wrappedSceneElement}</AuthenticatedShell>