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): autofocus the new-source catalog search (#80033)

Tom Owers07a0a53df2b8
diff --git a/products/data_warehouse/frontend/scenes/NewSourceScene/SourceCatalog.tsx b/products/data_warehouse/frontend/scenes/NewSourceScene/SourceCatalog.tsx
index 3c5c0e461c03..4d7a75331222 100644
--- a/products/data_warehouse/frontend/scenes/NewSourceScene/SourceCatalog.tsx
+++ b/products/data_warehouse/frontend/scenes/NewSourceScene/SourceCatalog.tsx
@@ -164,7 +164,13 @@ export function SourceCatalog({ allowedSources }: SourceCatalogProps): JSX.Eleme
<div className="flex flex-col gap-4 flex-1">
<WarehouseWizardHint />
- <LemonInput type="search" placeholder="Search sources..." value={search} onChange={setSearch} />
+ <LemonInput
+ type="search"
+ placeholder="Search sources..."
+ value={search}
+ onChange={setSearch}
+ autoFocus
+ />
{filteredItems.length === 0 &&
(hasCrossCategoryMatches ? (