: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(data-warehouse): show a retry when the new source page can't load sources (#126893)
Tom Owers00e74f2b182a
diff --git a/frontend/src/scenes/data-pipelines/DataPipelinesNewScene.tsx b/frontend/src/scenes/data-pipelines/DataPipelinesNewScene.tsxindex bb32407d8aa9..7f275a3f00bc 100644--- a/frontend/src/scenes/data-pipelines/DataPipelinesNewScene.tsx+++ b/frontend/src/scenes/data-pipelines/DataPipelinesNewScene.tsx@@ -14,6 +14,7 @@ import { SceneTitleSection } from '~/layout/scenes/components/SceneTitleSection'import { Breadcrumb } from '~/types'import { availableSourcesLogic } from 'products/data_warehouse/frontend/scenes/NewSourceScene/availableSourcesLogic'+import { AvailableSourcesError } from 'products/data_warehouse/frontend/scenes/NewSourceScene/NewSourceScene'import { SourceCatalog } from 'products/data_warehouse/frontend/scenes/NewSourceScene/SourceCatalog'import { sourceWizardLogic } from 'products/data_warehouse/frontend/scenes/NewSourceScene/sourceWizardLogic'@@ -118,8 +119,10 @@ export function DataPipelinesNewScene(): JSX.Element {) : kind === 'site_app' ? (<HogFunctionTemplateList type="site_app" />) : kind === 'source' ? (- availableSourcesLoading || availableSources === null ? (+ availableSourcesLoading ? (<LemonSkeleton className="h-64" />+ ) : availableSources === null ? (+ <AvailableSourcesError />) : (<BindLogic logic={sourceWizardLogic} props={{ availableSources }}><SourceCatalog />