Skip to content

Commit d914b81

Browse files
dnywhjoshenlim
andauthored
feat: consolidate settings (supabase#37580)
* feat: move storage settings * feat: redirect * feat: database settings in service area * feat: move data api settings * fix: revert data API placement * feat: minor UX touches * fix: simplify configuration group * feat: references to database settings * feat: references to storage settings * fix: redirects and formatting * fix: Import StorageMenu dynamically to avoid SSR issues with useLocalStorage * fix: move Data API closer to semantic siblings * fix: revert smart comma * Shift bucket sort logic into storage explorer store --------- Co-authored-by: Joshen Lim <[email protected]>
1 parent 61ccc28 commit d914b81

File tree

82 files changed

+203
-250
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+203
-250
lines changed

apps/docs/content/_partials/database_setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ Your database will be available in less than a minute.
1212
You can find your project credentials on the dashboard:
1313

1414
- [Database connection strings](https://supabase.com/dashboard/project/_/settings/api?showConnect=true): Direct and Pooler connection details including the connection string and parameters.
15-
- [Database password](https://supabase.com/dashboard/project/_/settings/database): Reset database password here if you do not have it.
15+
- [Database password](https://supabase.com/dashboard/project/_/database/settings): Reset database password here if you do not have it.
1616
- [API credentials](https://supabase.com/dashboard/project/_/settings/api): your serverless API URL and `anon` / `service_role` keys.

apps/docs/content/guides/ai/python-clients.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ For data science or ephemeral workloads, the [Supabase Vecs](https://supabase.gi
1111

1212
<Admonition type="tip">
1313

14-
You can get your connection string from the [**Database Settings**](https://supabase.com/dashboard/project/_/settings/database) page in your dashboard. Make sure to check **Use connection pooling**, then copy the URI. Also, change the URI scheme from `postgres` to `postgresql`. `vecs` uses SQLAlchemy under the hood, which only supports `postgresql` as a dialect.
14+
You can get your connection string from the [**Database Settings**](https://supabase.com/dashboard/project/_/database/settings) page in your dashboard. Make sure to check **Use connection pooling**, then copy the URI. Also, change the URI scheme from `postgres` to `postgresql`. `vecs` uses SQLAlchemy under the hood, which only supports `postgresql` as a dialect.
1515

1616
</Admonition>
1717

apps/docs/content/guides/ai/rag-with-permissions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Since we're managing users and authentication outside of Supabase, we have two o
189189

190190
#### Direct Postgres connection
191191

192-
You can directly connect to your Supabase Postgres DB using the [connection info](/dashboard/project/_/settings/database) on your project's database settings page. To use RLS with this method, we use a custom session variable that contains the current user's ID:
192+
You can directly connect to your Supabase Postgres DB using the [connection info](/dashboard/project/_/database/settings) on your project's Database Settings page. To use RLS with this method, we use a custom session variable that contains the current user's ID:
193193

194194
```sql
195195
-- enable row level security

apps/docs/content/guides/database/beekeeper-studio.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ hideToc: true
2828

2929
<StepHikeCompact.Details title="Get your connection credentials">
3030

31-
Get your connection credentials from the [`Database Settings`](https://supabase.com/dashboard/project/_/settings/database). You will need:
31+
Get your connection credentials from the [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings). You will need:
3232
- host
3333
- username
3434
- password
@@ -50,7 +50,7 @@ hideToc: true
5050

5151
<StepHikeCompact.Details title="Download your SSL Certificate">
5252

53-
Download your SSL certificate from the Dashboard's [`Database Settings`](https://supabase.com/dashboard/project/_/settings/database)
53+
Download your SSL certificate from the Dashboard's [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings)
5454
![SSL](/docs/img/guides/database/connecting-to-postgres/beekeeper-studio/certificate.png)
5555
</StepHikeCompact.Details>
5656

apps/docs/content/guides/database/connecting-to-postgres/serverless-drivers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Choose one of these Vercel Deploy Templates which use our [Vercel Deploy Integra
6464

6565
### Manual configuration
6666

67-
In your [`Database Settings`](https://supabase.com/dashboard/project/_/settings/database), make sure `Use connection pooler` is checked and `Transaction` mode is selected, then copy the URI and save it as the `POSTGRES_URL` environment variable. Remember to replace the password placeholder with your actual database password and add the following suffix `?workaround=supabase-pooler.vercel`.
67+
In your [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings), make sure `Use connection pooler` is checked and `Transaction` mode is selected, then copy the URI and save it as the `POSTGRES_URL` environment variable. Remember to replace the password placeholder with your actual database password and add the following suffix `?workaround=supabase-pooler.vercel`.
6868

6969
```txt .env.local
7070
POSTGRES_URL="postgres://postgres.cfcxynqnhdybqtbhjemm:[YOUR-PASSWORD]@aws-0-ap-southeast-1.pooler.supabase.com:6543/postgres?workaround=supabase-pooler.vercel"

apps/docs/content/guides/database/connection-management.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Every [Compute Add-On](/docs/guides/platform/compute-add-ons) has a pre-configur
1111

1212
### Configuring Supavisor's pool size
1313

14-
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/_/settings/database):
14+
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):
1515

1616
![Connection Info and Certificate.](/docs/img/database/pool-size.png)
1717

apps/docs/content/guides/database/dbeaver.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ If you do not have DBeaver, you can download it from its [website](https://dbeav
6464

6565
<StepHikeCompact.Step step={5}>
6666
<StepHikeCompact.Details title="Download certificate">
67-
In the [Database Settings](https://supabase.com/dashboard/project/_/settings/database), download your SSL certificate.
67+
In the [Database Settings](https://supabase.com/dashboard/project/_/database/settings), download your SSL certificate.
6868
</StepHikeCompact.Details>
6969

7070
<StepHikeCompact.Code>

apps/docs/content/guides/database/drizzle.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ If you plan on solely using Drizzle instead of the Supabase Data API (PostgREST)
6666

6767
Connect to your database using the Connection Pooler.
6868

69-
In your [`Database Settings`](https://supabase.com/dashboard/project/_/settings/database), make sure `Use connection pooler` is checked, then copy the URI and save it as the `DATABASE_URL` environment variable. Remember to replace the password placeholder with your actual database password.
69+
In your [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings), make sure `Use connection pooler` is checked, then copy the URI and save it as the `DATABASE_URL` environment variable. Remember to replace the password placeholder with your actual database password.
7070

7171
</StepHikeCompact.Details>
7272

apps/docs/content/guides/database/import-data.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ By default, Supabase enforces query statement timeouts to ensure fair resource a
9898

9999
### 3. Estimate your required disk size
100100

101-
Large datasets consume disk space. Ensure your Supabase project has sufficient disk capacity to accommodate the imported data. If you know how big your database is going to be, you can manually increase the size in your [projects database settings](/dashboard/project/_/settings/database).
101+
Large datasets consume disk space. Ensure your Supabase project has sufficient disk capacity to accommodate the imported data. If you know how big your database is going to be, you can manually increase the size in your [projects database settings](/dashboard/project/_/database/settings).
102102

103103
Read more about [disk management](/docs/guides/platform/database-size#disk-management).
104104

apps/docs/content/guides/database/pgadmin.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ hideToc: true
7272

7373
<StepHikeCompact.Details title="SSL">
7474

75-
Download your SSL certificate from Dashboard's [`Database Settings`](https://supabase.com/dashboard/project/_/settings/database).
75+
Download your SSL certificate from Dashboard's [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings).
7676

7777
In pgAdmin, navigate to the Parameters tab and select connection parameter as Root Certificate. Next navigate to the Root certificate input, it will open up a file-picker modal. Select the certificate you downloaded earlier and save the server details. pgAdmin should now be able to connect to your Postgres via SSL.
7878

0 commit comments

Comments
 (0)