The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: clean up again
phamhieu35f5b6ca294d
diff --git a/studio/components/ui/PageTelemetry.tsx b/studio/components/ui/PageTelemetry.tsxindex 586219db730..da5e62fb4aa 100644--- a/studio/components/ui/PageTelemetry.tsx+++ b/studio/components/ui/PageTelemetry.tsx@@ -50,7 +50,6 @@ const PageTelemetry: FC = ({ children }) => {referrer: referrer,title: document.title,ga: {- client_id: ui.googleAnalyticsProps?.clientId,screen_resolution: ui.googleAnalyticsProps?.screenResolution,language: ui.googleAnalyticsProps?.language,},diff --git a/studio/lib/telemetry.ts b/studio/lib/telemetry.tsindex 788d9548322..dd1401204ae 100644--- a/studio/lib/telemetry.ts+++ b/studio/lib/telemetry.ts@@ -31,7 +31,6 @@ const sendEvent = (label: label,value: value,ga: {- client_id: gaProps?.clientId,screen_resolution: gaProps?.screenResolution,language: gaProps?.language,},@@ -50,7 +49,6 @@ const sendIdentify = (user: User, gaProps?: GoogleAnalyticsProps) => {return post(`${API_URL}/telemetry/identify`, {user,ga: {- client_id: gaProps?.clientId,screen_resolution: gaProps?.screenResolution,language: gaProps?.language,},diff --git a/studio/localStores/sqlEditor/QueryTab.js b/studio/localStores/sqlEditor/QueryTab.jsindex 343302bd27b..978683669a4 100644--- a/studio/localStores/sqlEditor/QueryTab.js+++ b/studio/localStores/sqlEditor/QueryTab.js@@ -103,6 +103,7 @@ class QueryTab extends Tab {this.finishExecuting(undefined, response.error)} else {this.finishExecuting(response)+ // TODO: missing ga propspost(`${API_URL}/telemetry/event`, { category: 'sql_editor', action: 'sql_query_run' })}}diff --git a/studio/stores/UiStore.ts b/studio/stores/UiStore.tsindex ac8ffd49acc..d28f7d44b35 100644--- a/studio/stores/UiStore.ts+++ b/studio/stores/UiStore.ts@@ -42,9 +42,6 @@ export default class UiStore implements IUiStore {profile?: Userpermissions?: Permission[] = []- // GA4 client id. It's synced with every Telemetry call- gaClientId?: string-constructor(rootStore: IRootStore) {this.rootStore = rootStoremakeAutoObservable(this, {@@ -106,7 +103,6 @@ export default class UiStore implements IUiStore {get googleAnalyticsProps() {return {- clientId: this.gaClientId,screenResolution: getScreenResolution(),language: this.language,}@@ -174,8 +170,6 @@ export default class UiStore implements IUiStore {}setGaClientId(clientId?: string) {- this.gaClientId = clientId-/*** We need to access ga client_id from base.constructHeaders method or from supabase.com* in order to set custom header('ga_client_id).