The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix query perf v1 (#22648)
Joshen Lim3f957bc2a171
diff --git a/apps/studio/components/interfaces/QueryPerformance/QueryPerformance.tsx b/apps/studio/components/interfaces/QueryPerformance/QueryPerformance.tsxindex 5014a36812d..0a302a2646c 100644--- a/apps/studio/components/interfaces/QueryPerformance/QueryPerformance.tsx+++ b/apps/studio/components/interfaces/QueryPerformance/QueryPerformance.tsx@@ -9,6 +9,7 @@ import { PresetHookResult } from '../Reports/Reports.utils'import { QueryPerformanceFilterBar } from '../QueryPerformanceV2/QueryPerformanceFilterBar'import { ResetAnalysisNotice } from './ResetAnalysisNotice'import ShimmeringLoader from 'ui-patterns/ShimmeringLoader'+import { QUERY_PERFORMANCE_REPORT_TYPES } from '../QueryPerformanceV2/QueryPerformance.constants'type QueryPerformancePreset = 'time' | 'frequent' | 'slowest'@@ -77,7 +78,11 @@ export const QueryPerformance = ({})}}>- <Tabs.Panel key="time" id="time" label="Most time consuming">+ <Tabs.Panel+ key="time"+ id={QUERY_PERFORMANCE_REPORT_TYPES.MOST_TIME_CONSUMING}+ label="Most time consuming"+ ><div className={panelClassNames}><Markdowncontent={TimeConsumingHelperText}@@ -128,7 +133,11 @@ export const QueryPerformance = ({</div></div></Tabs.Panel>- <Tabs.Panel key="frequent" id="frequent" label="Most frequent">+ <Tabs.Panel+ key="frequent"+ id={QUERY_PERFORMANCE_REPORT_TYPES.MOST_FREQUENT}+ label="Most frequent"+ ><div className={panelClassNames}><Markdowncontent={MostFrequentHelperText}@@ -190,7 +199,11 @@ export const QueryPerformance = ({</div></div></Tabs.Panel>- <Tabs.Panel key="slowest" id="slowest" label="Slowest execution time">+ <Tabs.Panel+ key="slowest"+ id={QUERY_PERFORMANCE_REPORT_TYPES.SLOWEST_EXECUTION}+ label="Slowest execution time"+ ><div className={panelClassNames}><Markdowncontent={SlowestExecutionHelperText}