The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Flip show tooltip to true for supavisor connections chart (#47730)
Joshen Lim0421b1001d1d
diff --git a/apps/studio/components/ui/Charts/ChartHeader.tsx b/apps/studio/components/ui/Charts/ChartHeader.tsxindex 8a6e276819e..d896e2f92b2 100644--- a/apps/studio/components/ui/Charts/ChartHeader.tsx+++ b/apps/studio/components/ui/Charts/ChartHeader.tsx@@ -195,7 +195,7 @@ export const ChartHeader = ({<TooltipTrigger asChild><InfoIcon className="w-4 h-4 text-foreground-lighter" /></TooltipTrigger>- <TooltipContent side="top" className="max-w-xs">+ <TooltipContent side="bottom" className="max-w-xs">{titleTooltip}{docsUrl && (<>diff --git a/apps/studio/components/ui/Charts/ComposedChart.tsx b/apps/studio/components/ui/Charts/ComposedChart.tsxindex f7567480aa5..a539204af78 100644--- a/apps/studio/components/ui/Charts/ComposedChart.tsx+++ b/apps/studio/components/ui/Charts/ComposedChart.tsx@@ -424,6 +424,7 @@ export function ComposedChart({className={className}attribute={title}format={format}+ docsUrl={docsUrl}titleTooltip={titleTooltip}/>)diff --git a/apps/studio/components/ui/Charts/NoDataPlaceholder.tsx b/apps/studio/components/ui/Charts/NoDataPlaceholder.tsxindex a876a59cf71..c09ad190ded 100644--- a/apps/studio/components/ui/Charts/NoDataPlaceholder.tsx+++ b/apps/studio/components/ui/Charts/NoDataPlaceholder.tsx@@ -15,6 +15,7 @@ interface NoDataPlaceholderProps {isFullHeight?: booleantitleTooltip?: stringhideTotalPlaceholder?: boolean+ docsUrl?: string}const NoDataPlaceholder = ({attribute,@@ -26,6 +27,7 @@ const NoDataPlaceholder = ({isFullHeight = false,titleTooltip,hideTotalPlaceholder = false,+ docsUrl,}: NoDataPlaceholderProps) => {const { minHeight } = useChartSize(size)@@ -37,6 +39,7 @@ const NoDataPlaceholder = ({format={format}highlightedValue={hideTotalPlaceholder ? undefined : 0}titleTooltip={titleTooltip}+ docsUrl={docsUrl}/>)}<divdiff --git a/apps/studio/data/reports/database-charts.ts b/apps/studio/data/reports/database-charts.tsindex 9618ff3f69f..fff4b328a18 100644--- a/apps/studio/data/reports/database-charts.ts+++ b/apps/studio/data/reports/database-charts.ts@@ -529,7 +529,7 @@ export const getReportAttributesV2: (entitlement: 'database',requiredPlan: 'Pro',hide: !entitledFeatures.includes('database'),- showTooltip: false,+ showTooltip: true,showLegend: false,showMaxValue: false,showGrid: true,