The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(docs): add hasResults to docs_search_v2_search_submitted (#51541)
claude[bot]ffef679f7074
diff --git a/apps/docs/features/SearchV2/SearchV2Dialog.tsx b/apps/docs/features/SearchV2/SearchV2Dialog.tsxindex e0ffd7f79c7..dba642f0f86 100644--- a/apps/docs/features/SearchV2/SearchV2Dialog.tsx+++ b/apps/docs/features/SearchV2/SearchV2Dialog.tsx@@ -82,7 +82,7 @@ function SearchV2Panel({ onResultSelect, onResultOpen }: SearchV2PanelProps) {if (searchState.status === 'results' || searchState.status === 'noResults') {sendTelemetryEvent({action: 'docs_search_v2_search_submitted',- properties: { query: searchState.query },+ properties: { query: searchState.query, hasResults: searchState.status === 'results' },})}}, [searchState, sendTelemetryEvent])diff --git a/packages/common/telemetry-constants.ts b/packages/common/telemetry-constants.tsindex 70eaa27d2ef..c43618bad4f 100644--- a/packages/common/telemetry-constants.ts+++ b/packages/common/telemetry-constants.ts@@ -1143,6 +1143,10 @@ export interface DocsSearchV2SearchSubmittedEvent {* The search term sent to the Search V2 endpoint.*/query: string+ /**+ * Whether the Search V2 endpoint returned at least one result for the query.+ */+ hasResults: boolean}}