The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
update Telemetry.sendEvent() arguments
Alaister Youngaad9112f545b
diff --git a/studio/components/interfaces/Settings/Database/DatabaseSettings/DatabaseSettings.tsx b/studio/components/interfaces/Settings/Database/DatabaseSettings/DatabaseSettings.tsxindex 1a2931cf855..f88e0a9704f 100644--- a/studio/components/interfaces/Settings/Database/DatabaseSettings/DatabaseSettings.tsx+++ b/studio/components/interfaces/Settings/Database/DatabaseSettings/DatabaseSettings.tsx@@ -1,9 +1,10 @@import { FC } from 'react'+import { useRouter } from 'next/router'import { Input, Tabs } from 'ui'import { pluckObjectFields } from 'lib/helpers'import { useProjectSettingsQuery } from 'data/config/project-settings-query'-import { useStore } from 'hooks'+import { useTelemetryProps } from 'common'import Telemetry from 'lib/telemetry'import Panel from 'components/ui/Panel'import ShimmeringLoader from 'components/ui/ShimmeringLoader'@@ -11,7 +12,8 @@ import ResetDbPassword from './ResetDbPassword'const DatabaseSettings: FC<any> = ({ projectRef }) => {const { data, isLoading, isError } = useProjectSettingsQuery({ projectRef })- const { ui } = useStore()+ const router = useRouter()+ const telemetryProps = useTelemetryProps()if (isError) {return (@@ -112,7 +114,8 @@ const DatabaseSettings: FC<any> = ({ projectRef }) => {action: 'copy_connection_string',label: labelValue ? labelValue : '',},- ui.googleAnalyticsProps+ telemetryProps,+ router)const uriConnString =`postgresql://${connectionInfo.db_user}:[YOUR-PASSWORD]@` +