The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix pro plan side panel telemetry
Pamela Chia509a91eb10b8
diff --git a/studio/components/interfaces/BillingV2/Subscription/AddOns/CustomDomainSidePanel.tsx b/studio/components/interfaces/BillingV2/Subscription/AddOns/CustomDomainSidePanel.tsxindex 4d10efada65..46c5be4a06f 100644--- a/studio/components/interfaces/BillingV2/Subscription/AddOns/CustomDomainSidePanel.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/AddOns/CustomDomainSidePanel.tsx@@ -142,7 +142,21 @@ const CustomDomainSidePanel = () => {type="large-cards"size="tiny"id="custom-domain"- onChange={(event: any) => setSelectedOption(event.target.value)}+ onChange={(event: any) => {+ setSelectedOption(event.target.value)+ Telemetry.sendActivity(+ {+ activity: 'Option Selected',+ source: 'Dashboard',+ data: {+ title: 'Custom domains',+ section: 'Add ons',+ option: event.target.label,+ },+ },+ router+ )+ }}><Radioname="custom-domain"diff --git a/studio/components/interfaces/BillingV2/Subscription/CostControl/SpendCapSidePanel.tsx b/studio/components/interfaces/BillingV2/Subscription/CostControl/SpendCapSidePanel.tsxindex 952fb29bb8e..3a8bb65b1e2 100644--- a/studio/components/interfaces/BillingV2/Subscription/CostControl/SpendCapSidePanel.tsx+++ b/studio/components/interfaces/BillingV2/Subscription/CostControl/SpendCapSidePanel.tsx@@ -220,7 +220,21 @@ const SpendCapSidePanel = () => {<divkey={option.value}className={clsx('col-span-4 group space-y-1', isFreePlan && 'opacity-75')}- onClick={() => !isFreePlan && setSelectedOption(option.value)}+ onClick={() => {+ !isFreePlan && setSelectedOption(option.value)+ Telemetry.sendActivity(+ {+ activity: 'Option Selected',+ source: 'Dashboard',+ data: {+ title: 'Spend cap',+ section: 'Cost Control',+ option: option.name,+ },+ },+ router+ )+ }}><imgalt="Spend Cap"