From 0a96a5d0ceb2759a33effbb45a57054861f901a0 Mon Sep 17 00:00:00 2001
From: Danny White <3104761+dnywh@users.noreply.github.com>
Date: Fri, 27 Feb 2026 11:16:02 +1100
Subject: [PATCH] chore(studio): polish database settings (#42970)
## What kind of change does this PR introduce?
UI update
## What is the current behavior?
- Database settings uses an older, much wider, layout
- This will become problematic later on as more complex elements are
added to the page
- Titles and descriptions are inconsistently formatted
## What is the new behavior?
| Before | After |
| --- | --- |
| {ip} {ip} Connection pooling configuration
If your network only supports IPv4, consider purchasing the{' '}
|
|
---
.../guides/database/connection-management.mdx | 2 +-
.../DiskManagementPanelForm.tsx | 2 +-
.../Settings/Database/BannedIPs.tsx | 103 +++--
.../ConnectionPooling/ConnectionPooling.tsx | 351 +++++++++---------
.../DatabaseSettings/ResetDbPassword.tsx | 50 ++-
.../NetworkRestrictions.tsx | 6 +-
.../Settings/Database/SSLConfiguration.tsx | 2 +-
.../CustomDomainConfig/CustomDomainConfig.tsx | 4 +-
.../DeleteProjectPanel/DeleteProjectPanel.tsx | 4 +-
.../interfaces/Settings/General/General.tsx | 5 +-
.../TransferProjectPanel.tsx | 5 +-
.../pages/project/[ref]/database/settings.tsx | 20 +-
.../pages/project/[ref]/settings/general.tsx | 2 +-
13 files changed, 291 insertions(+), 265 deletions(-)
diff --git a/apps/docs/content/guides/database/connection-management.mdx b/apps/docs/content/guides/database/connection-management.mdx
index 62a011328fbac..eab783c29286f 100644
--- a/apps/docs/content/guides/database/connection-management.mdx
+++ b/apps/docs/content/guides/database/connection-management.mdx
@@ -11,7 +11,7 @@ Every [Compute Add-On](/docs/guides/platform/compute-add-ons) has a pre-configur
### Configuring Supavisor's pool size
-You can change how many database connections Supavisor can manage by altering the pool size in the "Connection pooling configuration" section of the [Database Settings](/dashboard/project/_/database/settings):
+You can change how many database connections Supavisor can manage by altering the pool size in the "Connection pooling" section of the [Database Settings](/dashboard/project/_/database/settings):

diff --git a/apps/studio/components/interfaces/DiskManagement/DiskManagementPanelForm.tsx b/apps/studio/components/interfaces/DiskManagement/DiskManagementPanelForm.tsx
index 6cd8e9ae65ada..ad6188313281d 100644
--- a/apps/studio/components/interfaces/DiskManagement/DiskManagementPanelForm.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/DiskManagementPanelForm.tsx
@@ -21,7 +21,7 @@ export function DiskManagementPanelForm() {
+ Configuration is shared across all connection poolers. +
+
+ The maximum number of concurrent client connections allowed. This
+ value is fixed at {defaultMaxClientConn} based on your compute size
+ of {computeSize} and cannot be changed.{' '}
+
+ The database password isn’t viewable after creation. Resetting it will break any + existing connections. +
++
Your database can be accessed by all IP addresses
diff --git a/apps/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx b/apps/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
index 36d1028933d72..7caf8352e6d1a 100644
--- a/apps/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
+++ b/apps/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
@@ -114,7 +114,7 @@ const SSLConfiguration = () => {