The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(studio): query performance query column truncation (#45878)
kemal.earth376d85d7b281
diff --git a/apps/studio/components/interfaces/QueryPerformance/QueryPerformance.constants.ts b/apps/studio/components/interfaces/QueryPerformance/QueryPerformance.constants.tsindex 14170d2bd59..1db7baf5732 100644--- a/apps/studio/components/interfaces/QueryPerformance/QueryPerformance.constants.ts+++ b/apps/studio/components/interfaces/QueryPerformance/QueryPerformance.constants.ts@@ -13,7 +13,7 @@ export const QUERY_PERFORMANCE_PRESET_MAP = {} as constexport const QUERY_PERFORMANCE_COLUMNS = [- { id: 'query', name: 'Query', description: undefined, minWidth: 500 },+ { id: 'query', name: 'Query', description: undefined, minWidth: 450 },{ id: 'prop_total_time', name: 'Time consumed', description: undefined, minWidth: 150 },{ id: 'calls', name: 'Calls', description: undefined, minWidth: 100 },{ id: 'max_time', name: 'Max time', description: undefined, minWidth: 100 },diff --git a/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceGrid.tsx b/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceGrid.tsxindex 5115ebec593..5bfb6e69c73 100644--- a/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceGrid.tsx+++ b/apps/studio/components/interfaces/QueryPerformance/QueryPerformanceGrid.tsx@@ -187,11 +187,11 @@ export const QueryPerformanceGrid = ({</div><CodeBlocklanguage="pgsql"- className="bg-transparent! p-0! m-0! border-none! whitespace-nowrap! [&>code]:whitespace-nowrap! [&>code]:wrap-break-word overflow-visible! truncate! w-full! pr-20! pointer-events-none"- wrapperClassName="max-w-full! flex-1"+ className="bg-transparent! p-0! m-0! border-none! truncate! whitespace-nowrap! w-full! pr-20! pointer-events-none"+ wrapperClassName="flex-1 min-w-0 max-w-full overflow-hidden!"hideLineNumbershideCopy- value={value.replace(/\s+/g, ' ').trim() as string}+ value={typeof value === 'string' ? value.replace(/\s+/g, ' ').trim() : ''}wrapLines={false}/>{onCurrentSelectQuery && (