The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: rm feature flag in sql editor charts (#22093)
Jordi Enricfbe6d15b53a3
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsxindex 7077a5ff1d1..ae96a7e4f5d 100644--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityPanel.tsx@@ -28,8 +28,6 @@ const UtilityPanel = ({const snap = useSqlEditorStateSnapshot()const result = snap.results[id]?.[0]- const showCharts = useFlag('showSQLEditorCharts')-const [config, setConfig] = useState<ChartConfig>({type: 'bar',cumulative: false,@@ -47,11 +45,10 @@ const UtilityPanel = ({(result?.rows ?? []).length > 0 &&`(${result.rows.length.toLocaleString()})`}</TabsTrigger_Shadcn_>- {showCharts && (- <TabsTrigger_Shadcn_ className="py-3 text-xs" value="chart">- Chart- </TabsTrigger_Shadcn_>- )}++ <TabsTrigger_Shadcn_ className="py-3 text-xs" value="chart">+ Chart+ </TabsTrigger_Shadcn_></div><div className="flex gap-1 h-full">{result && result.rows && <ResultsDropdown id={id} />}@@ -68,11 +65,10 @@ const UtilityPanel = ({<TabsContent_Shadcn_ className="mt-0 h-full" value="results"><UtilityTabResults id={id} isExecuting={isExecuting} /></TabsContent_Shadcn_>- {showCharts && (- <TabsContent_Shadcn_ className="mt-0 h-full" value="chart">- <ChartConfig results={result} config={config} onConfigChange={setConfig} />- </TabsContent_Shadcn_>- )}++ <TabsContent_Shadcn_ className="mt-0 h-full" value="chart">+ <ChartConfig results={result} config={config} onConfigChange={setConfig} />+ </TabsContent_Shadcn_></Tabs_Shadcn_>)}