The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add some sentry filters (#27588)
Joshen Limf094813b3e50
diff --git a/apps/studio/components/grid/components/grid/Grid.tsx b/apps/studio/components/grid/components/grid/Grid.tsxindex dfd01db594a..49472b8ee28 100644--- a/apps/studio/components/grid/components/grid/Grid.tsx+++ b/apps/studio/components/grid/components/grid/Grid.tsx@@ -102,7 +102,8 @@ export const Grid = memo(const selectedCellRef = useRef<{ rowIdx: number; row: any; column: any } | null>(null)function copyCellValue() {- const selectedCellValue = selectedCellRef.current?.row[selectedCellRef.current?.column?.key]+ const selectedCellValue =+ selectedCellRef.current?.row?.[selectedCellRef.current?.column?.key]const text = formatClipboardValue(selectedCellValue)if (!text) returncopyToClipboard(text)diff --git a/apps/studio/components/grid/utils/common.ts b/apps/studio/components/grid/utils/common.tsindex 15b4a5e73fb..ad22480813b 100644--- a/apps/studio/components/grid/utils/common.ts+++ b/apps/studio/components/grid/utils/common.ts@@ -7,7 +7,7 @@ export function deepClone(obj: unknown) {}export function formatClipboardValue(value: any) {- if (value === null) return ''+ if (!value) return ''if (typeof value == 'object' || Array.isArray(value)) {return JSON.stringify(value)}diff --git a/apps/studio/sentry.client.config.ts b/apps/studio/sentry.client.config.tsindex a7a1d4be1eb..331dee293b4 100644--- a/apps/studio/sentry.client.config.ts+++ b/apps/studio/sentry.client.config.ts@@ -42,6 +42,8 @@ Sentry.init({ignoreErrors: [// Used exclusively in Monaco Editor.'ResizeObserver',+ 's.getModifierState is not a function',+ /^Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope'/,// [Joshen] We currently use stripe-js for customers to save their credit card data// I'm unable to reproduce this error on local, staging nor prod across chrome, safari or firefox// Based on https://github.com/stripe/stripe-js/issues/26, it seems like this error is safe to ignore,