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(data-warehouse): give the source connect page a next step when the link has no source (#119134)

Tom Owers420a4877e97b
diff --git a/products/data_warehouse/frontend/scenes/SourceConnectScene/SourceConnectScene.tsx b/products/data_warehouse/frontend/scenes/SourceConnectScene/SourceConnectScene.tsx
index c90acae8bbd7..964429d582d7 100644
--- a/products/data_warehouse/frontend/scenes/SourceConnectScene/SourceConnectScene.tsx
+++ b/products/data_warehouse/frontend/scenes/SourceConnectScene/SourceConnectScene.tsx
@@ -33,9 +33,11 @@ export function SourceConnectScene(): JSX.Element {
if (!sourceConfig) {
return (
<SceneContent>
- <LemonBanner type="error">
- {kind ? `Unknown source type '${kind}'.` : 'No source type specified.'} Check the link you were
- given and try again.
+ <LemonBanner type="error" action={{ children: 'Browse sources', to: urls.dataWarehouseSourceNew() }}>
+ {kind
+ ? "This link names a source we don't support."
+ : "This link doesn't say which source to connect."}{' '}
+ Choose your source from the full list to set it up.
</LemonBanner>
</SceneContent>
)