Commit Graph
40502 Commits
Author SHA1 Message Date
anthony lio 02e61b9cda fix(docs): layout v2 reference fixtures (#54233)
## Problem

- after #53761 the option-1 sidebar reference list has no row for
server, middleware and tanstack db
- list marks no row as current on a library page, for example on
`/reference/javascript/select`
- management api intro shows its endpoint list in the right rail and its
toc in an extra column inside the content

## Solution

- adds the server, middleware and tanstack db rows with the new and
experimental badges of the current nav
- fixes the reference list so it marks the library of the current page
- changes the management api to open as its own sidebar level with the
endpoint list on the left
- moves the toc, the links and the feedback of the management api intro
into the right rail + removes the rail on endpoint pages
- adds the "on this page" menu to the management api intro below `lg`
- adds the reference library column to the option-1 nav size allowlist
because it is a list of peer libraries

| before | after |
| -------|------|
| <img width="2880" height="1800" alt="image"
src="https://github.com/user-attachments/assets/3a216c0b-31c1-4629-82a1-0590c7e639ae"
/> | <img width="2880" height="1800" alt="image"
src="https://github.com/user-attachments/assets/c53afc0e-8d15-45d7-9dc8-320443761ed2"
/> |

| before | after |
| -------|------|
| <img width="2880" height="1800" alt="image"
src="https://github.com/user-attachments/assets/5dc79bb9-b160-44e6-a3c5-39182fb71d4f"
/> | <img width="2880" height="1800" alt="image"
src="https://github.com/user-attachments/assets/9e0dff3c-5261-4c70-b1f1-f74314231a08"
/> |

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. open
[/docs/reference?docs-ia-mvp-v1=option-1](https://docs-ivb0vb1qq-supabase.vercel.app/docs/reference?docs-ia-mvp-v1=option-1)
and do all steps in the same tab because the flag override lasts only
for the tab
2. make sure that the reference list shows server and middleware
3. open
[/docs/reference/javascript/select](https://docs-ivb0vb1qq-supabase.vercel.app/docs/reference/javascript/select)
and make sure that the sidebar marks only the javascript row
4. click `Management API` in the sidebar and make sure that the sidebar
shows `< Management API` with the endpoint list
5. make sure that the right rail shows the toc, the additional links and
the feedback buttons
6. open
[/docs/guides/database/overview](https://docs-ivb0vb1qq-supabase.vercel.app/docs/guides/database/overview)
and make sure that the sidebar and the right rail did not change

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-30 20:19:04 +00:00
anthony lioandalexisintech 25ceafcb3f fix(kb): guide tabs (#54046)
## Problem

- on kb topic pages the guide row text is misaligned vs tab title
- community guide row shows the favicon and the author before the title
leading to inconsistence when among other list items
- kb guide list and the docs code tabs each keep a copy of the folder
tab indicator

## Solution

- extracts the folder tab indicator to `ui` + the curve variables to the
shared tailwind config
- changes the tab corner to follow the active tab because chrome does
not update a `:has()` rule on the tabs root
- fixes the square corner + the background flash on the active kb tab
before hydration
- changes the kb guide rows to align with the tab labels + adds padding
to the tabs and the row hover
- moves the community favicon and author after the title

| before | after |
| -------|------|
| <img width="2304" height="1533" alt="image"
src="https://github.com/user-attachments/assets/585a1b1c-0314-4708-818c-69b324028d18"
/> | <img width="2304" height="1517" alt="image"
src="https://github.com/user-attachments/assets/5eb9614f-1873-42ed-86f4-1f7c8fa5e4f6"
/> |

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. open the live and preview
[/kb/topics/database](https://kb-git-antlio-kb-guide-tabs-supabase.vercel.app/kb/topics/database)
2. make sure that the row titles start at the same position as the "All"
tab label

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)

---------

Co-authored-by: alexisintech <98043211+alexisintech@users.noreply.github.com>
2026-11-30 22:09:49 +02:00
anthony lio 77a62ffab4 fix(docs): sidebar section (#54251)
## Problem

- layout v2 nav (`?docs-ia-mvp-v1=option-1`) sidebar picks its section
from the url prefix and not from the tree that lists the page
- tree lists `/guides/platform/read-replicas` under database, but the
sidebar opens "projects, organizations and compute" and the page is not
in that list
- nine pages have this problem and on load or back the sidebar stays at
the top while the active link of a deep page is out of view

## Solution

- changes the sidebar to open the section whose tree lists the page +
uses the url prefix only for a page that no tree lists
- changes the header breadcrumbs to come from the same tree
- adds a scroll of the active link into view on load, reload and back or
forward, with no scroll when the link is already visible
- changes a closed sidebar group to open when the user goes to a page
inside it
- changes the default nav for one page:
`/guides/database/postgres/testing-row-level-security` now opens in
local development, the tree that lists it
- adds a test that resolves every option-1 guide page and checks that
its sidebar lists it

`read replicas`

| before | after |
|
---------------------------------------------------------------------------
|
--------------------------------------------------------------------------
|
| <img width="2880" height="1800" alt="image"
src="https://github.com/user-attachments/assets/7ac6eae2-9141-4f0b-9046-dbcf3c1fb5df"
/> | <img width="2880" height="1800" alt="image"
src="https://github.com/user-attachments/assets/98fbfffa-4141-416d-9c65-98dc3f1a8584"
/> |

`hypopg`

| before | after |
|
---------------------------------------------------------------------------
|
--------------------------------------------------------------------------
|
| <img width="2880" height="1800" alt="image"
src="https://github.com/user-attachments/assets/690b6b41-db7d-49af-99e2-126ee5ee9324"
/> | <img width="2880" height="1800" alt="image"
src="https://github.com/user-attachments/assets/52e15ad8-484a-4e37-860d-024da58dfe50"
/> |


<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. visit [read
replicas](https://docs-ka3i13eje-supabase.vercel.app/docs/guides/platform/read-replicas?docs-ia-mvp-v1=option-1)
and make sure that the sidebar shows "database" and highlights
"overview" under "read replicas"
2. make sure that the header breadcrumbs show "database replication",
"read replicas" and "about read replicas"
3. visit
[hypopg](https://docs-ka3i13eje-supabase.vercel.app/docs/guides/database/extensions/hypopg?docs-ia-mvp-v1=option-1)
and make sure that the sidebar scrolls to "hypopg: hypothetical indexes"
under "performance and monitoring"
4. reload the page and make sure that the active link stays in view

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-30 20:05:33 +00:00
anthony lio 5578904100 fix(docs): sidebar v2 nav polish (#54267)
## Problem

- layout v2 docs sidebar current page has only brighter text and users
in the friction log could not find their place
- section headings have the same gray as the rows under them and users
found the sections hard to tell apart
- in the light theme most provider icons on the auth pages do not load
because the sidebar lacks of a light version

## Solution

- fixes the provider icons in the light theme
- changes the current row in the page tree to a filled row with a
heavier weight
- changes the rows in the page tree to one step brighter so the section
headings read as labels
- fixes the overview row at the top of each product tree, which looked
like a second current row

| before | after |
| -------|------|
| <img width="560" height="1280" alt="image"
src="https://github.com/user-attachments/assets/d09afb9b-8d27-46f6-9e14-65b749d9ed5b"
/> | <img width="560" height="1280" alt="image"
src="https://github.com/user-attachments/assets/45a8cd1b-f2e9-4ac3-847c-97adc857cf72"
/> |

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. visit
[/docs/guides/auth/users?docs-ia-mvp-v1=option-1](https://docs-git-antlio-fix-docs-sidebar-nav-polish-supabase.vercel.app/docs/guides/auth/users?docs-ia-mvp-v1=option-1)
2. make sure that the `Users` row has a filled background and that
`Getting Started` has the same gray as the other rows
3. open
[/docs/guides/auth/sessions/pkce-flow?docs-ia-mvp-v1=option-1](https://docs-git-antlio-fix-docs-sidebar-nav-polish-supabase.vercel.app/docs/guides/auth/sessions/pkce-flow?docs-ia-mvp-v1=option-1)
and make sure that `PKCE flow` keeps the green line and has no fill
4. open
[/docs/guides/auth/social-sign-in/auth-google?docs-ia-mvp-v1=option-1](https://docs-git-antlio-fix-docs-sidebar-nav-polish-supabase.vercel.app/docs/guides/auth/social-sign-in/auth-google?docs-ia-mvp-v1=option-1)
in the light theme and make sure that each provider under `Social
Sign-in (OAuth)` shows an icon

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-30 21:44:15 +02:00
supabase-vercel-tedd[bot]andIvan Vasilov e3684c034c feat(studio): track usage on Project Settings: General (#54081)
## Problem

Project Settings → General has almost no usage tracking. We can't tell
how often users restart, pause, resume, or transfer projects from here.
We also can't tell how often they copy the project ID or region, use the
custom domain flow, or toggle high compliance mode.

## Solution

Adds six PostHog events to `packages/common/telemetry-constants.ts`:
`project_name_updated`, `project_settings_value_copied`,
`project_lifecycle_action_submitted`, `project_compliance_mode_updated`,
`custom_domain_step_submitted`, and `custom_domain_dns_record_copied`.
Each event fires from the user's submit, confirm, copy, or toggle
handler, never on render. Properties are only enums and booleans. No
project names, domains, DNS record contents, or other typed values are
sent.

`ResumeProjectButton` is shared between settings and the paused-project
home state, so it now takes a required `source` prop. The two call sites
pass `settings_general` and `project_home`. Restart fires from the
confirmation modal, with `restart_project` or `restart_database`
depending on the chosen restart type. `DNSRecord` now types its `type`
prop as `'CNAME' | 'TXT'`, so the copy event sends the record type as an
enum. No `data-attr` attributes are added, because PostHog autocapture
is off and they would not be collected.

## How to verify

1. On Project Settings → General, save a new project name. One
`project_name_updated` event fires.
2. Copy the project ID, then the region. Each copy fires one
`project_settings_value_copied` event, with `field` set to `projectRef`
and then `region`.
3. Open the restart modal, then cancel it. No event fires. Confirm a
restart (project or fast database reboot). One
`project_lifecycle_action_submitted` fires with `action:
restart_project` or `restart_database` and `source: settings_general`.
4. Confirm a pause, a resume, and a transfer. Each fires
`project_lifecycle_action_submitted` with the matching `action`. A
resume from settings sends `source: settings_general`; a resume from the
paused project home page sends `source: project_home`.
5. Toggle high compliance mode. One `project_compliance_mode_updated`
fires, with `isSensitive` set to the new value.
6. In the custom domain flow, Add, Verify, confirm Activate, and confirm
Delete each fire `custom_domain_step_submitted` with `step` set to
`configure`, `verify`, `activate`, and `remove`.
7. In the custom domain verification step, copy a DNS record's name,
then its value. Each copy fires one `custom_domain_dns_record_copied`
event, with `recordType` set to `CNAME` or `TXT` and `field` set to
`name` and then `value`.

## Checks

Ran `tsc --noEmit` in `apps/studio` and `packages/common`. Ran `eslint`
(default config and `eslint.type-checks.config.cjs`) on the changed
Studio files: no errors, only warnings that were already there. Ran
`oxfmt --check` on all changed files. Ran `vitest run` on
`General.test.tsx`, `Project.test.tsx`, `PauseProjectButton.test.tsx`,
and `RestartServerButton.test.tsx`: all pass.

## Checklist

- [x] I have read the [Contributing
Guidelines](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] I have checked that the change works in the preview deployment

## Feedback for Tedd

To ask Tedd for a change to this PR, reply in Tedd's session on
[FE-5029](https://linear.app/supabase/issue/FE-5029/track-usage-on-project-settings-general).
Tedd doesn't read comments on this PR.

---------

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2026-11-30 20:38:20 +01:00
Miranda Limonczenko 450939ce86 docs: fix the pages the Option 1 nav friction logs got stuck on (#53881)
Part of DOCS-1739

## Problem

People who tried the Option 1 navigation got stuck on these pages:

- **Slow queries:** readers looked for a way to debug a slow query and
didn't find the guide in the nav. Its title, "Log slow and failing
queries", names the mechanism, not the task.
- **JWT:** The Supabase way to build says Auth "issues a signed JWT"
without saying what a JWT is.
- **Docker self-hosting:** the guide opens with its own contents list,
which repeats the table of contents beside it.
- **Launch readiness:** readers who opened Deploy to production to ask
"am I ready to launch?" found a page about branching and environments.
Neither checklist is linked from it.

## Solution

- **Slow-query title.** The title becomes "Find slow and failing
queries", and the nav label in both navigations becomes "Find slow
queries". The description still says "log slow queries", so search keeps
matching. Five inbound links now use the new title.
- **JWT link.** The first mention reads "JSON Web Token (JWT)" and links
to the JWT guide.
- **Launch intro.** Two sentences near the top of Deploy to production
link the production checklist and the production security checklist.
- **Docker contents list.** The in-page list is gone. Nothing linked to
its anchor.


## Manual testing

1. Open [the slow-query guide on the
preview](https://docs-git-docs-nav-friction-content-supabase.vercel.app/docs/guides/observability/log-slow-queries).
The title reads "Find slow and failing queries", and the sidebar entry
reads "Find slow queries".
2. Open [The Supabase way to
build](https://docs-git-docs-nav-friction-content-supabase.vercel.app/docs/guides/getting-started/the-supabase-way-to-build).
Under Auth, "JSON Web Token (JWT)" links to the JWT guide.
3. Open [Deployment and
branching](https://docs-git-docs-nav-friction-content-supabase.vercel.app/docs/guides/deployment).
The third paragraph links both production checklists.

4. Open [Self-hosting with
Docker](https://docs-git-docs-nav-friction-content-supabase.vercel.app/docs/guides/self-hosting/docker).
The page goes from the intro straight to Before you begin, with no
Contents list.
2026-11-30 11:10:20 -08:00
Miranda Limonczenko 64051f3977 docs: move the Option 1 nav pages readers couldn't find (#53882)
Part of DOCS-1738

## Problem

People who tried the Option 1 navigation couldn't find some pages in the
nav:

- **Preview branches on Vercel:** five of eight readers struggled. The
item sat two rows below Vercel Marketplace and started with "Preview",
so a scan for "Vercel" stopped too early.
- **Rotate a leaked API key:** readers looked under Security and
compliance. The nav listed it under Start, inside API keys.
- **Pause a paid-plan project:** the page sat inside organization
transfers.
- **Start:** API keys came before the quickstarts and tutorials that new
readers come to Start for.
- **Realtime:** readers expected it next to Database, Auth and Storage,
in the home page's order. The nav put it inside "REST, GraphQL and
Realtime".
- **Auth sign-in providers:** about 20 OAuth providers filled the Auth
sidebar, above the other sign-in methods.
- **Observability:** Logs and monitoring kept the layout from before the
Observability regroup in #50074. It also left out the Observability
overview and Logs in the CLI.

## Solution

- **Vercel.** The item becomes "Vercel preview branches" and sits next
to Vercel Marketplace. The Marketplace page and Deploy to production
link to it. Those two page edits ship to all readers, not only Option 1.
- **Rotate a leaked API key.** The item moves to Security and
compliance. The API keys page already links to it.
- **Paid-plan pausing.** The item moves next to Free project pausing.
- **Start order.** Quickstarts and tutorials come first. API keys and
the legacy-key migration follow.
- **Realtime.** Realtime gets its own sidebar and sits after Storage in
Products. The APIs sidebar becomes "REST and GraphQL APIs". Products now
has 8 items, one over the proposal's 7-item rule, by decision.
- **Observability groups.** Logs and monitoring uses today's task
groups: Read project data, Detect and diagnose, Agent prompts, and
Configure and export. It lists the overview and Logs in the CLI again.
The label stays "Logs and monitoring". Metrics API and Platform webhooks
keep their own groups.
- **Auth SDK entries.** "Server SDK" and "Middleware SDK" become "Server
SDK reference" and "Middleware SDK reference", so readers know the link
leaves the guides. The Self-hosting reference entries already use that
pattern.
- **Sign-in options.** "Social sign-in (OAuth)" and "Other sign-in
methods" merge into one "Sign-in options" group. The providers sit in a
collapsible "Social sign-in (OAuth)" group inside it. The level-size
allowlist follows the new path.


## Manual testing

1. Open [Broadcast with Option 1 on the
preview](https://docs-git-docs-nav-page-moves-supabase.vercel.app/docs/guides/realtime/broadcast?docs-ia-mvp-v1=option-1).
The sidebar header reads "Realtime", with a button back to Products.
2. Open [Vercel Marketplace with Option
1](https://docs-git-docs-nav-page-moves-supabase.vercel.app/docs/guides/integrations/vercel-marketplace?docs-ia-mvp-v1=option-1).
The sidebar lists "Vercel preview branches" under Vercel Marketplace,
and the page links to Preview branches on Vercel.
3. Open [Logs in the CLI with Option
1](https://docs-git-docs-nav-page-moves-supabase.vercel.app/docs/guides/observability/cli-logs?docs-ia-mvp-v1=option-1).
The sidebar lists it under Logs and monitoring > Read project data.
4. Run `pnpm run -F docs test:local:unwatch features/IaNav
components/Navigation`. Expect all tests to pass.
5. Open [Vercel Marketplace without the
flag](https://docs-git-docs-nav-page-moves-supabase.vercel.app/docs/guides/integrations/vercel-marketplace).
The page links to Preview branches on Vercel.
2026-11-30 11:04:59 -08:00
Ali Waseem 0c5d4d1bc1 fix(studio): reset selected orgs when switching scoped token resource access (#54323)
Switching resource access on the scoped access token form now clears the
selected organizations as well as the selected projects, so a selection
made in one mode doesn't carry over to the other.

Adds a test covering the Project → Organization switch.
2026-11-30 13:00:37 -06:00
Miranda Limonczenko 7636e18f8d docs: shorten and sentence-case the Option 1 sidebar labels (#53880)
Part of DOCS-1737

## Problem

People who tried the Option 1 navigation reported labels that wrap onto
two lines, such as "Architecture, limits and pricing". The old
35-character limit let that label through at 32 characters.

They also reported labels that aren't in sentence case, such as
"Framework Quickstarts" and "ORM Quickstarts". The docs style guide asks
for sentence case.

## Solution

- **28-character limit, enforced.** A new test in `option1.test.ts`
fails on any Option 1 sidebar label over 28 characters. 97 labels were
over the limit. They're shortened.
- **Sentence case.** About 120 more labels are recased. Proper nouns and
product feature names keep their capitals, such as Edge Functions, Row
Level Security and Auth Hooks. "Self-Hosting" becomes "Self-hosting" in
the top nav and the sidebar title.
- **Parallel Start labels.** "Web app demos" becomes "Web app
tutorials", to match "Mobile tutorials".
- **Build becomes Products.** The tree test ran each candidate label
against the shipped Option 1 tree, with 93 tasks and 3 runs each.
Products raised direct success from 51% to 59%, and first clicks on the
right section from 78% to 88%.
- **Test fixtures.** `DocsSidebarNav.test.tsx` and the level-size
allowlist reference labels by name, so they change too.


## Manual testing

1. Open [Getting started with Option 1 on the
preview](https://docs-git-docs-nav-label-casing-supabase.vercel.app/docs/guides/getting-started?docs-ia-mvp-v1=option-1).
The sidebar shows "Framework quickstarts" and "Web app tutorials".
2. Run `pnpm run -F docs test:local:unwatch features/IaNav
components/Navigation`. Expect all tests to pass.
2026-11-30 11:00:01 -08:00
anthony lio 11943b34fe chore(studio): test setup polyfills (#54039)
## Problem

- `apps/studio/tests/setup/radix.js` holds the jsdom stubs for
`ResizeObserver` and `scrollIntoView` but nothing in it is specific to
radix
- studio already keeps its jsdom stubs in `tests/setup/polyfills.ts`

## Solution

- moves the `ResizeObserver` and `scrollIntoView` stubs into
`tests/setup/polyfills.ts` + removes `radix.js` from the vitest setup
files
- changes the studio-testing skill to name the one dom setup file that
remains

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. run `pnpm test:studio` and make sure that the run reports no
unhandled errors
2. make sure that the failures are the same as on `master`

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-30 20:40:38 +02:00
Francesco Sansalvadore a098c3be32 chore(studio): improve versioning onboarding comms (#54059)
## Problem

We're going to release versioning in Public Alpha instead of Private, so
we need to be more clear and loud about the new feature being
introduced.

## Solution

This PR makes a few changes mostly around communications and messaging:
- Update `Private Alpha` badges to `Public Alpha`
- Add admonitions in the feature preview modal
- Prompt confirmation before enabling versioning on a bucket
- Dedicated announcement banner in Storage layout
- shown only to users with `storage.capabilities.object_versioning`
enabled
- Popover card when hovering over the Public Alpha badge

See
[update](https://linear.app/supabase/project/storage-object-versioning-and-lifecycle-policies-b5e5809a718e/activity#project-update-e9a50e15)
for more context.

## Review instructions

Functionality changes are minor so mostly check the above mentioned
messaging and ui changes.
2026-11-30 18:18:41 +01:00
Jeremias Menichelli 132f6b6d08 test: Add minimal tests for redirects on apps/docs (#54071)
## Problem

We were lacking on redirect rules on apps/docs

## Solution

Added basic unit test for:
- Infinite redirects
- Redirect chains
- Missing redirects
- Invalid sources or destinations 

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

_Unit tests for redirects should run as part of our CI in PRs, including
this one._

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-30 18:07:34 +01:00
Terry SuttonandClaude Sonnet 5.5 a934f2b8f5 feat(www): show paused notice on SupaSquad page instead of apply CTA (#53976)
Replaces the "Apply to Join SupaSquad" button on
/open-source/contributing/supasquad with an "Applications are currently
paused" callout linking to Discord, upcoming events, and GitHub.

- `CtaSection` gains an optional `notice` prop; buttons are now
optional.
- To reopen applications, remove `notice` and restore `primaryCta` in
`data/open-source/contributing/supasquad.tsx`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 13:23:05 -03:30
Gildas Garcia 418d251abe fix(studio): ensure we allow partial grants on all projects (#54311)
## Problem

When users try to authorize all current and future projects with
unsufficient permissions for an app that allows partial grants, the
consent screen does not display the correct message and block them from
authorizing the app.

## Solution

Fix the conditions to display the proper message about missing features
and allow authorization with partial grants.

## Review instructions

- Configure an app that allows partial grants (must be member bound)
- Configure a user without enough permissions (Read-only for instance)
- Use the oauth example app to authorize the app with this user
- Check that you are warned about missing features but that you can
still authorize the app
2026-11-30 17:45:21 +01:00
Mert YEREKAPAN b1fe45c103 docs(kb): add egress quota and cost FAQs (#54221)
I added two knowledge base FAQs: one on what happens when an
organization goes over its egress quota, and one on what egress costs.
Both follow the existing FAQ shape, with the answer in the first
sentence, short prose, and links to the docs for detail.

**Changed:**
- **Going over the quota**: explains the email and grace period on the
Free plan and on Pro with the spend cap on, the 402 responses that
follow if usage stays over the quota, and how to lift a restriction.
- **Egress cost**: states the included quota per plan, the overage
rates, how cached egress differs, and that Pro pays for overage only
with the spend cap off.

## To test

Tested on the PR preview:
- [x] Open `/kb/faqs/platform/exceed-egress-quota`, expect the page to
render with the question as its title and four paragraphs of answer
- [x] Open `/kb/faqs/platform/egress-cost`, expect the page to render
with the question as its title and five paragraphs of answer
- [x] On each page, follow the link to the other FAQ, expect it to open
the other page with no 404

## Linear
- fixes GROWTH-1557
2026-11-30 15:56:41 +00:00
Mert YEREKAPAN fe8e912993 refactor(www): split redirects into static and dynamic files and add redirect checks (#54194)
## Problem

`apps/www/lib/redirects.js` was a single file with static and dynamic
rules mixed together, and the redirects had no automated checks. `/docs`
redirects already moved to `apps/docs/lib/redirects/`, so www was the
odd one out.

## Solution

I applied the docs layout to www without changing how redirects are
served:

- `apps/www/lib/redirects/static-redirects.json`: 220 one-to-one
entries, including fixed redirects to external `https://` URLs.
- `apps/www/lib/redirects/dynamic-redirects.js`: 14 entries with params,
splats, regex, escapes, or `has`.
- `apps/www/lib/redirects/index.js`: combines both (static first) for
`next.config.mjs` and `scripts/generateMdContent.mjs`.
- `apps/www/lib/redirects/redirects.test.ts`: checks for loops, chains,
duplicate sources, invalid sources and destinations (anchors, missing
`/` or `https://`), dynamic entries in the static file, and internal
destinations that do not exist.
- README for the folder, plus updates to `apps/www/README.md`,
`DEVELOPERS.md`, `CODEOWNERS`, and the `www-tests` path filter and
sparse checkout.

Bulk redirects are not part of this PR: www has 234 redirects, well
under the route limit, so they stay in `next.config.mjs`.

### Missing-destination check

Internal destinations are checked against the same sources the site
serves from:

- `app/` and `pages/` routes, and `public/` files.
- Blog, customer, event, and alternative slugs, derived the way
`lib/posts.tsx` derives them. Events with `disable_page_build` do not
count.
- Feature and `/go` page slugs.
- `.md` destinations must be a page that `generateMdContent.mjs`
publishes. An existing HTML page is not enough.
- `/docs/guides` destinations, against the docs content and guide
routes.

Other zones and build-generated files are not checked. A destination
with params is probed with one sample value, so value-specific loops or
chains are not caught. The README lists these limits.

### Behavior notes

- The rule set matches `master`, with one exception:
`/blog/2021/07/30/1-the-supabase-hackathon` now points at the canonical
slug `/blog/1-the-supabase-hackathon`. The old destination
`/blog/the-supabase-hackathon` also resolves today, because the blog
route matches posts by filename suffix. The check requires canonical
slugs.
- First-match results on `supabase.com` are identical on 241 probe
paths.
- Static entries now precede dynamic ones. On the `supabase.design`
host, 25 static sources that used to sit after its catch-all rule now
come before it. Those paths now take two hops to reach the design system
instead of one.
- Comments on static entries were dropped, because JSON has no comments.

## To test

1. Open the www preview and visit `/about`. It redirects to `/company`.
2. Visit `/buildersday`. It redirects to `/builderday`.
3. Visit `/sign-in`. It redirects to the dashboard sign-in page.
4. Visit `/blog/2021/07/30/1-the-supabase-hackathon`. It lands on the
hackathon post.

## Linear

- fixes GROWTH-1571
2026-11-30 15:52:59 +00:00
Jordi Enric c2edb29076 fix(studio): explain Supavisor session pool limits DEBUG-43 (#53930)
## Problem

When Supavisor rejects a session because its connection pool is full,
Studio shows the error without explaining how to recover.

## Fix

Show a troubleshooting step for the session-mode limit that explains how
pool size limits concurrent clients and links to the configuration
guide.

## Screenshot

The Table Editor’s troubleshooting step, rendered locally with a sample
session-pool error.

<img width="660" alt="Expanded Supavisor session pool limit guidance in
the Table Editor"
src="https://github.com/user-attachments/assets/6072eec4-e243-4d53-a40f-30fb14d21d05"
/>

## How to test

- Display a classified MaxClientsInSessionMode error in Studio and
expand its troubleshooting step. The link should open the pool size
section of the database connection management guide.
- Display a generic transaction-mode connection limit error. It should
keep its usual fallback.
- The pattern, classification and ErrorMatcher suites exercise these
paths (144 tests passed locally).

Fixes [DEBUG-43](https://linear.app/supabase/issue/DEBUG-43).
2026-11-30 16:49:05 +01:00
Andrey A. d65dacdb74 chore(self-hosted): update 2026-11-30 - 0.8.6 (#54296) self-hosted/v0.8.6 2026-11-30 16:47:56 +01:00
Pamela Chia f0a0a4f2fe docs(telemetry): add attempt and render-site rules (#54310)
I reviewed #54081 and found two tracking mistakes that the telemetry
skill had no concrete rule for. I added both rules, and pointed the
header of `telemetry-constants.ts` at the skill.

**Changed:**
- **Attempts named as results**: an event fired in a submit or confirm
handler before the request resolves also counts failed attempts. I added
a rule to name it `submitted`, or to move the call to where the request
has succeeded when a result verb such as `updated` is wanted.
- **Page-named values on shared components**: a value like `source:
'project_home'` is wrong on every other page the component renders on. I
added a rule to find every render site before hardcoding a page name,
and to pass the value as a prop or name it after the component when
there are several.
- **Conflicting verb guidance**: the header of
`packages/common/telemetry-constants.ts` told authors to reuse verbs
already in that file, while the skill names its own list as the
authority. I replaced the header's naming text with a pointer to the
skill.

**Note:** both files are also changed in #54081 (the skill's `data-attr`
paragraph and new events in the constants file), on different lines from
mine.

## Linear
- fixes GROWTH-1596
2026-11-30 23:05:47 +08:00
Monica Khoury 5d6b070942 feat(studio): add Permission issue option to the support form (FE-5101) (#54079)
## Problem

The support form's "What issue are you having?" dropdown has no option
for permission problems. Users who are blocked by a permission error
can't tell us that's what they're hitting, so the backend can't treat
those submissions differently.

Linear: https://linear.app/supabase/issue/FE-5101

## Solution

Adds a `Permission issue` option to the category dropdown. It is sent to
`POST /platform/feedback/send` as `category: 'Permission_issue'`, the
same way the other categories are.

- `@supabase/shared-types` is an external package, so I followed the
existing `Plan_upgrade` and `Others` approach and added the value to the
local `ExtendedSupportCategories` type instead of the shared enum.
- Added the new value to the assistant handoff zod schema so a handoff
carrying this category passes validation.
- Added a component test that selects the option and checks the
submitted payload.

This PR is frontend only. No backend behavior changes here.

## Review instructions

  1. Open the support form (`/support/new`).
2. Open the "What issue are you having?" dropdown and check that
`Permission issue` is listed after "Issues with logging in", with the
description "Issues accessing an organization or project you should have
access to".
3. Select it, fill in the summary and message, and submit. In the
browser network tab, check the `POST /platform/feedback/send` request
body contains "category": "Permission_issue"`.
2026-11-30 17:04:58 +02:00
claude[bot]andClaude c4bbd65acb chore: add growth-eng as code owner on core telemetry senders (#54207)
<!-- claude-slack-attribution -->
_Requested by **Pam Chia** · [Slack
thread](https://supabase.slack.com/archives/C076KTY11DF/p1795791803872399)_

## Problem

**Before:** Growth Eng owns only the event catalog
(`packages/common/telemetry-constants.ts`). Changes to the PostHog
client (including the per-experiment `<experiment>_experiment_exposed`
events), the shared telemetry event sender and the telemetry standards
skill don't need a Growth Eng review. They can start new event streams
or sharply increase volume, and Growth Eng only sees the volume and cost
after they ship.

**After:** Growth Eng is a code owner on these core telemetry senders
and the telemetry standards skill, so GitHub requests a Growth Eng
review on these changes before merge.

## Solution

This PR changes only `.github/CODEOWNERS`. It adds three rules directly
under the existing `telemetry-constants.ts` line, which is unchanged. No
later rule matches any of these files, so Growth Eng is their owner.

- `/packages/common/posthog-client*` → `posthog-client.ts` and its test.
Sends `$pageview`, `$pageleave` and the `_experiment_exposed` events
directly to PostHog. Owner: growth-eng (no owner before).
- `/packages/common/telemetry-event*` → `telemetry-event.ts` and its
test. Builds every `/telemetry/event` request. Owner: growth-eng (no
owner before).
- `/.agents/skills/telemetry-standards/` → `SKILL.md`, the rules for
adding events. Owner: growth-eng (no owner before).

`GET
/repos/supabase/supabase/codeowners/errors?ref=growth/codeowners-telemetry-events`
returns no errors.

Not covered: individual `track(...)` and `sendTelemetryEvent(...)` call
sites in components, because CODEOWNERS works by path. New event names
still go through `telemetry-constants.ts`, which Growth Eng already
owns.

## Review instructions

1. Read the three rules under `telemetry-constants.ts` in
`.github/CODEOWNERS`.

## Checklist

Check all before review:

- [ ] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_011aGhS9n5Vh49BK2WMq9h4Q

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-30 23:04:39 +08:00
39b359a70e chore: keep db partner roles out of picker (#54019)
## Problem

Newly added trusted partner roles appear as user selectable /
manageable. Resolves DEPR-735.

## Solution

Trusted partner roles should not be selectable in temporary access. And
should not appear as modifiable in the database roles tab.

| Before | After |
| --- | --- |
| <img width="553" height="398" alt="CleanShot 2026-11-27 at 12 24 43"
src="https://github.com/user-attachments/assets/14affc16-2f00-496f-a124-d918acd93bf0"
/> | <img width="553" height="363" alt="CleanShot 2026-11-27 at 12 25
00"
src="https://github.com/user-attachments/assets/de06002f-d063-453e-a9da-00eee8e0616d"
/> |
| _This partner role `this_is_a_test` shouldn’t be here._ | _Partner
role `this_is_a_test` is no longer in the list of options._ |
| <img width="940" height="305" alt="CleanShot 2026-11-30 at 10 34 52"
src="https://github.com/user-attachments/assets/bdface9f-b3f4-4620-b567-cba8d829205e"
/> | <img width="935" height="299" alt="CleanShot 2026-11-30 at 10 37
40"
src="https://github.com/user-attachments/assets/da1abaa3-5a98-4837-9e8f-35be84b6be4c"
/> |
| _Previous definition._ | _Broadened definition to better encompass
roles we generally manage
([context](https://github.com/supabase/supabase/pull/54019#discussion_r4716757425))._
|

## How to test

1. Open the [Studio staging
preview](https://studio-staging-git-chore-depr-735-supabase.vercel.app)
and select a staging test project. If **Temporary access** is off in
**Feature previews**, enable it there. Then go to **Database → Settings
→ Temporary access** and make sure it is enabled for the test project.
2. Go to **Database → Roles**. Open Chrome DevTools, select **Network**,
and reload. Filter for `key=database-roles`. Right-click the matching
request and select **Override content**.
3. Append this test role to the roles array. Save the override and
reload.

```json
{
  "id": 99999,
  "name": "this_is_a_test",
  "isSuperuser": false,
  "canCreateDb": false,
  "canCreateRole": false,
  "inheritRole": true,
  "canLogin": true,
  "isReplicationRole": false,
  "canBypassRls": false,
  "activeConnections": 0,
  "connectionLimit": 90,
  "validUntil": null,
  "comment": "{\"_supabase\":{\"oauth_app_id\":\"app\"}}",
  "config": {}
}
```

4. In **Database → Roles**, make sure that `this_is_a_test` appears
under **Supabase managed roles** without edit or delete controls.
5. Go to **Database → Settings → Temporary access**, select **Add
rule**, and open the role picker. The test role should be absent.
6. Set the test role's `comment` to `null` in the override and reload.
Open **Add rule** again and make sure that the role is now selectable.
Close the form without saving and remove the override.

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2026-11-30 15:35:30 +01:00
Pamela Chia c1a71cb1d7 docs(cli): clarify telemetry data and opt-out value (#54172)
The CLI telemetry section said only that the CLI collects "general
usage" data, and it named the opt-out variables without saying the value
must be exactly `1`. I tightened it to one sentence on what the data is
and what it is linked to, the exact-`1` rule, and the switch for the
release check.

**Changed:**
- **What is collected**: I replaced "general usage" with a short
summary: usage data such as the commands you run, linked to a device ID
and, when you authenticate the CLI, to your Supabase account.
Authenticating covers both `supabase login` and an access token in CI.
- **Opt-out value**: I added that `SUPABASE_TELEMETRY_DISABLED` and
`DO_NOT_TRACK` must be exactly `1`. Other values, such as `true`, leave
telemetry on.
- **Release check**: the check for a newer CLI release is separate from
telemetry and its switch, `SUPABASE_NO_UPDATE_NOTIFIER=1`, had no docs.
I added two sentences.

**Note:** every statement on the page holds for the current stable CLI,
so this does not wait on supabase/cli#7811 reaching a stable release. I
left out a link to the CLI repository's analytics reference because that
file tracks the development branch and already describes behavior the
stable CLI does not have. The `Telemetry` and `How to opt out` headings
are unchanged, so existing links to those anchors keep working.

## To test

Tested on the PR preview:
- [x] Open
`/docs/guides/local-development/cli/getting-started#telemetry`, expect
the page to scroll to Telemetry and the first paragraph to mention a
device ID and your Supabase account. Observed: the Telemetry heading is
in view (the section sits near the end of the page, so it lands
mid-viewport) and the paragraph reads as written in the diff.
- [x] Open
`/docs/guides/local-development/cli/getting-started#how-to-opt-out`,
expect the opt-out steps, then "The value must be exactly `1`.", then a
paragraph naming `SUPABASE_NO_UPDATE_NOTIFIER=1`. Observed: the heading
lands at the top of the viewport and the three paragraphs follow the
steps in that order, with the variables rendered as inline code.

## Linear
- fixes GROWTH-1573
2026-11-30 22:21:25 +08:00
supabase-vercel-tedd[bot]andAli Waseem 08753bf24f docs: remove 90-day restore window screenshots from pausing guides (#54302)
## Problem

The docs state that a paused Free plan project can be restored for 1
year. Screenshots on the Upgrading guide and the local backup restore
guide still showed the old 90-day restore window, which contradicts the
text.

## Solution

The Upgrading guide drops the paused-project screenshot that showed a
90-day countdown. The download-backups screenshots on the Upgrading
guide and the "Restoring a downloaded backup locally" guide are cropped
to the Download backups menu, so they keep the useful part (where to
download the backup and find its Postgres version) without the outdated
90-day banner. Both images get alt text that describes what they show.
The `#90-day-window-to-restore` anchor on the Project Pausing page stays
as it is, so existing links keep working.

## How to verify

1. Open
https://docs-git-tedd-paused-restore-window-screenshots-supabase.vercel.app/docs/guides/platform/upgrading#time-limits
and
https://docs-git-tedd-paused-restore-window-screenshots-supabase.vercel.app/docs/guides/local-development/restoring-downloaded-backup#downloading-your-backup.
2. The Time limits section shows no "90 Days Remaining" screenshot, and
its one remaining backup screenshot shows only the Download backups
menu.
3. The Downloading your backup section shows the Download backups menu
with the Postgres version highlighted, and no "90 days" text.
4.
https://docs-git-tedd-paused-restore-window-screenshots-supabase.vercel.app/docs/guides/platform/free-project-pausing#90-day-window-to-restore
still jumps to the Restore window section.

## Checks

Ran `pnpm exec oxfmt --check` on both changed MDX files. Searched
`apps/docs/content` for remaining 90-day restore references and the repo
for references to the removed image. Checked the 1-year window against
the Studio paused-project screens (`PauseDisabledState.tsx`,
`formatRestoreWindow`). No TypeScript changed, so typecheck and lint
were not affected; `build:guides-markdown` was not run in this
environment.

## Checklist

- [x] I have read the [Contributing
Guidelines](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] I have checked that the change works in the preview deployment

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
Co-authored-by: Ali Waseem <waseema393@gmail.com>
2026-11-30 14:07:11 +00:00
Kody Jackson dbbfac7be1 chore(kb) - add breadcrumbs to faqs json ld structured data (#53947)
## Problem

Missing Breadcrumb schema from FAQ entries

## Preview links


https://kb-git-kody-devrel-752-faq-breadcrumb-structured-data-supabase.vercel.app/kb/faqs/auth/amazon-cognito-third-party-auth


[validation](https://validator.schema.org/#url=https%3A%2F%2Fkb-git-kody-devrel-752-faq-breadcrumb-structured-data-supabase.vercel.app%2Fkb%2Ffaqs%2Fauth%2Famazon-cognito-third-party-auth)

<img width="1528" height="904" alt="image"
src="https://github.com/user-attachments/assets/f67f9a19-e6b2-47c1-8fa6-ba2dd14b17ad"
/>
2026-11-30 08:05:23 -06:00
Kody JacksonandClaude Sonnet 5.5 f96a6daba2 chore(kb): redirect /kb/sitemap.xml to /kb/sitemap-index.xml (#53099)
## What

Adds a permanent redirect in `apps/kb/vercel.json` from
`/kb/sitemap.xml` to `/kb/sitemap-index.xml`.

## Why

Astro's sitemap integration emits `sitemap-index.xml`, but crawlers and
tools commonly look for `sitemap.xml` at a predictable location, which
currently 404s.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 08:05:08 -06:00
Saxon Fletcher a39014264b feat(studio): make add-ons findable from the command menu (#54286)
Stacked on #54186, which should merge first. It adds the section anchors the new results link to.

## What's added

Search results in the command menu (⌘K) for every add-on on the add-ons
page that didn't have one:

| Result | Goes to |
| --- | --- |
| Infrastructure | Settings → Infrastructure |
| Compute size | Infrastructure, `#compute` |
| Read replicas | Infrastructure, `#read-replicas` (read replicas
feature only) |
| Advanced disk | Infrastructure, `#advanced` (AWS projects only) |
| Dedicated IPv4 address | Add-ons, IPv4 panel open (IPv4 feature only)
|
| Point in time recovery | Database → Backups → PITR |
| SMS multi-factor authentication | Auth → MFA, `#sms-mfa` |

Also adds search keywords to the existing Custom domains, Log drains,
Pipelines and MFA results, and fixes a typo in the MFA result's search
value.

## How to test

1. Open a project and press ⌘K.
2. Search for each result above and check it lands on the right page and
section, for example `read replica`, `iops`, `static ip`, `pitr`, `sms
mfa`, `cpu`.
3. Try a keyword for an existing result, for example `cname` finds
Custom domains and `etl` finds Pipelines.
4. On a non-AWS project, `advanced disk` shouldn't appear.
2026-11-30 22:02:06 +08:00
K-Dog (Kevin) 27c4433a3e feat: revised project add-ons page (#54186)
The current add-ons page only lists a subset of available add-ons, which
often causes confusion with things like Advanced MFA Auth (customers
cant find where to configure it).

The revised add-on page covers all potentially configured project
add-ons including replicas and advanced disk. This should help the
customer locate configured add-ons and at the same time discover
potentially interesting add-ons. This can be enhanced further in the
future with "smart" suggestions based on usage.
2026-11-30 21:54:44 +08:00
supabase-vercel-tedd[bot] d86bc8fb9d fix(studio): keep the new MFA factor when clicking outside the verify dialog (#54223)
## Problem

On the account Security page, when you set up an authenticator app, a
click outside the "Verify authenticator app" dialog counts as a cancel
and unenrolls the factor that was just created. The dialog stays open
while that request runs, so you can still type a code and click Confirm,
and verification then fails with an unexpected server error. A page
element that stays clickable above the dialog, such as a consent banner,
triggers this easily.

## Solution

`ConfirmationModal` gets an optional `dismissOnInteractOutside` prop
(default `true`, so no other dialog changes). The authenticator verify
step turns it off. Only Cancel, the close button, or Escape cancel setup
and remove the unverified factor. The verify step also stays in its
loading state while an unenroll is in flight, so Confirm can't run
against a factor that is being deleted.

## How to verify

1. Open Account → Security and click Set up MFA. Enter a name and click
Generate QR code.
2. Click anywhere outside the "Verify authenticator app" dialog. The
dialog stays open, and the QR code and secret do not change.
3. Enter a valid code from the authenticator app and click Confirm. The
method is added ("MFA method added").
4. Repeat steps 1–2, enter a wrong code, and click Confirm. The toast
reports an invalid TOTP code, not an unexpected failure.
5. Repeat step 1, then click Cancel. The dialog closes and no unverified
authenticator remains in the list.
6. Open any other confirmation dialog in Studio and click outside it. It
still closes as before.

## Checks

Ran `pnpm turbo run typecheck --filter=studio --filter=ui-patterns`,
`eslint` (default and type-checks configs) on the changed Studio files,
`oxfmt --check` on the changed files, and `vitest run
components/interfaces/Account/TOTPFactors/AddNewFactorModal.test.tsx`.
The new test checks that an outside pointer or focus event does not
unenroll the factor and that Confirm then verifies it. It fails without
the fix.

## Checklist

- [x] I have read the [Contributing
Guidelines](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] I have checked that the change works in the preview deployment
- [x] I have added or updated tests where applicable

## Feedback for Tedd

To ask Tedd for a change to this PR, reply in Tedd's session on
[FE-5246](https://linear.app/supabase/issue/FE-5246/clicking-outside-the-mfa-setup-dialog-deletes-the-new-factor-so).
Tedd doesn't read comments on this PR.

---------

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-11-30 13:39:16 +00:00
Jordi Enric dbe2237ad3 fix(studio): let Back leave a deleted project FE-5235 (#54293)
## Problem

If a project was deleted while its Observability page was open, Studio
redirected to the project list. Pressing Back reopened the deleted
project and triggered the redirect again.

[FE-5235](https://linear.app/supabase/issue/FE-5235)

## Fix

Replace the inaccessible project’s browser history entry when
redirecting to the dashboard. Back can then reach the page visited
before the project.

## How to test

1. Open an account page and then navigate to a project’s Observability
page.
2. Simulate a 404 for the project details request and refocus the tab so
Studio revalidates the project.
3. After Studio redirects to the project list, press Back once. The
account page should open.

## QA

On the signed-in Studio staging preview for `ab907b13c0`, I opened a
nonexistent project’s Observability URL from a healthy project. Studio
redirected to the organization’s project list. One browser Back press
restored the healthy project, and Forward reopened the project list.
2026-11-30 13:13:52 +01:00
Tyler HilleryandClaude d7ad2cdb32 fix(studio): order object versions by archived_at (#54104)
## Problem

Object versions are sorted by `created_at`, but a version's `created_at`
doesn't always reflect when it was written. When a bucket is suspended,
an upload replaces the null version in place and keeps that row's
original `created_at`, so the current version can show up below older
ones in the versions panel.

## Solution

Sort by `archived_at`. The current version has no `archived_at`, so it
comes first, followed by the most recently archived.

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-30 12:55:14 +01:00
Gildas Garcia ce6c5e71fa feat(studio): OAuth app consent screen support for partial grants (#54213)
## Problem

Supabase admins can enable support for partial grants on some apps but
the consent screen doesn't support this scenario

## Solution

Detect partial grant support and warn users when they lack some
permissions, allowing them to confirm they want to authorize the app
anyway

<img width="846" height="2150" alt="image"
src="https://github.com/user-attachments/assets/37c48da9-395b-4425-b33d-7acdc8f3dcc1"
/>
2026-11-30 10:13:26 +01:00
Alaister YoungandAlaister Young c59821fde6 [FE-5109] (part 2) refactor(studio): migrate shared UI components off next/router (#54054)
Part 2 of a 6-PR stack migrating all `next/router` and
`next/compat/router` imports in `apps/studio` onto TanStack Router hooks
and removing the router shims.

| Part | PR | Scope |
| --- | --- | --- |
| 1 | #54053 | Core navigation helpers, `hooks/**`, `lib/**`,
`data/prefetchers/**` |
| **2** | **#54054 ← this PR** | **`components/ui/**`** |
| 3 | #54055 | `components/layouts/**` and `state/tabs.tsx` |
| 4 | #54056 | Database, Branching, Compute, Edge Functions, Explorer,
SQL Editor, Storage, Table Editor |
| 5 | #54057 | Remaining `components/interfaces/**` and
`QueryInsightsTable` router events |
| 6 | #54058 | Remove `next/router` & `next/compat/router` shims,
`_router-events.ts`, Vite aliases, and test mocks |

Migrates all 15 `apps/studio/components/ui/**` files off `next/router`.

**Changed:**

- Replaced `useRouter` across `AIAssistantPanel` (`AIAssistant`,
`ModelSelector`), `Charts/ComposedChartHandler`, `EditorPanel`,
`ErrorBoundary` (`ClientSideExceptionHandler`,
`GlobalErrorBoundaryState`, `InsertBeforeRemoveChildErrorHandler`),
`GlobalShortcuts/ShortcutsReferenceSheet`, `HelpPanel`
(`HelpOptionsList`, `HelpPanel`), `ProductMenu/ProductMenuShortcuts`,
`QueryBlock/EditQueryButton`, and `ResourceExhaustionWarningBanner` with
TanStack's `useNavigate`, `useLocation`, `useRoutePattern`, and
`useParams` from `common`
- Updated `AIAssistant.test.tsx`, `HelpOptionsList.test.tsx`, and
`ProductMenuShortcuts.test.tsx` to use TanStack Router instead of
`next/router` mocks

**Simplified:**

- `EditQueryButton` and `ShortcutsReferenceSheet` match against
`useRoutePattern()` instead of the real pathname, as `router.pathname`
did before. A ref or slug containing `sql` or `advisors` no longer
misfires.
- Removed the unused `restrictToRoutes` field from
`ResourceExhaustionWarningBanner` (no warning sets it)
- `AIAssistant` clears the handoff param with `navigate({ to: '.' })`,
dropping a pathname subscription and an `AnyRouter` cast
- `ProductMenuShortcuts` inlines its handler (`useShortcut` always calls
the latest callback)
- Moved the `AdvisorsNavigationShortcuts.test.tsx` fix into this PR so
it passes on its own
- Tests use the shared `createTestRouter` and `customRender` router

Addresses
[FE-5109](https://linear.app/supabase/issue/FE-5109/replace-the-nextrouter-shims-with-tanstack-router-hooks)

## To test

- [ ] AI Assistant panel links, model selector navigation, and "Edit in
SQL Editor" (`EditQueryButton`) navigate cleanly
- [ ] Keyboard shortcuts in `ProductMenuShortcuts` and the shortcuts
reference sheet (`?`) match the active section and navigate as expected
- [ ] Error boundary recovery ("Reload page" / navigation actions) and
Help panel links still work
- [ ] Resource exhaustion warning banner matches project routes as
before

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-11-30 14:49:15 +08:00
Joshen Lim 15e95ab013 Joshenlim/fe 5242 jit db access show assigned role (#54214)
## Context

Building on top of https://github.com/supabase/supabase/pull/54192,
there was a missing piece to the JIT DB access UI which was showing the
assigned access to the user if any (On staging it just shows an error,
on the previous PR we show a "Contact your project admin" CTA).

So this PR addresses that - there's a couple of cases to consider and
I'd love for design to feedback / adjust as well as I'm not convinced
this is the best way to do things. Am deliberately leaving out the
"copyable connection strings" part for now as Danny's investigating into
that one

### If you're a non-owner

If not assigned a role:
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/111d7c4f-0083-4bd5-88d5-ec45974ccf4d"
/>

If assigned a single role:
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/1b4b1f3c-9a20-4010-bff8-7bf68a455e26"
/>

If assigned multiple roles:
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/42cc66f6-4604-42eb-ab30-f58b1396ca6b"
/>
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/0914e1a3-9c7d-463e-851d-65f6b9793bb7"
/>

If (all) access expired:
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/bda0fc65-e22a-49d9-b444-fc5d58a4745a"
/>

### If you're an owner

If not assigned a role: Status quo
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/435abe70-ae88-49bb-86b9-7a03963b5b66"
/>

If yourself is assigned a role:
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/9fafc74a-1a33-489e-a7da-70f57356a034"
/>

If yourself is assigned multiple roles:
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/f4af901b-a24e-4272-b573-9ccb474bb7e2"
/>

If (all) access expired: Same as not assigned a role, just refer back to
the table
2026-11-30 12:57:24 +07:00
Danny White daef6f6e8d fix(studio): align scoped token permission controls (#54164)
## Problem

The scoped token editor uses different access labels from OAuth. Its
permission descriptions are smaller, and the accordion headers can cut
across the rounded corners.

## Solution

Use **No access**, **Read only**, and **Read and write** in the scoped
token editor. Each permission keeps its existing access levels. Make
descriptions easier to read, keep space around badges, and align
selectors in a column on wider screens. Use the same colour for borders
and dividers, and round the outside edges of the permission list and
capability cards.

Use sentence case for permission names in the picker and matching
documentation.

| Before | After |
| --- | --- |
| <img width="767" height="536" alt="CleanShot 2026-11-27 at 11 53 58"
src="https://github.com/user-attachments/assets/f2c36703-9383-49cb-89f0-86f3da0de10c"
/> | <img width="765" height="549" alt="CleanShot 2026-11-27 at 11 53
18"
src="https://github.com/user-attachments/assets/c5abe728-47c9-4594-9787-aff2bc54efec"
/> |

## Review instructions

1. With scoped tokens enabled, open **Account → Access Tokens** and
click **Generate new token**.
2. Choose a resource and expand a permission group. Check the available
access levels, the spacing around badges, and the selector alignment at
desktop and narrow widths.
3. Expand and collapse the first and last permission groups. Open a
scoped token’s details and check the capability card corners.
2026-11-30 16:18:31 +11:00
Joshen Lim bef044891b Improve UI for JIT DB access for non owners + use proper perms check (#54192)
## Context

For the Temporary database access feature preview, non project
owners/admins are unable to view or manage the JIT db access section,
but we currently don't guard properly against that. So this PR addresses
this by showing an Admonition instead + guard the relevant react queries
against the perms check to prevent unnecessary calls. We were also using
`FGA_PERMISSIONS.PROJECT.ADMIN_WRITE` incorrectly as there's
`FGA_PERMISSIONS.PROJECT.DATABASE_JIT_WRITE` that we can use

### Before
<img width="788" height="602" alt="image"
src="https://github.com/user-attachments/assets/90458c5a-5994-4812-abe1-17f0d3782f70"
/>

### After
<img width="836" height="284" alt="image"
src="https://github.com/user-attachments/assets/ba08aa55-6b2a-49e5-8fc0-709c7b41cd72"
/>
2026-11-30 12:15:55 +07:00
Timothy LimandClaude Sonnet 5.5 2135b29416 docs(storage): add upload FAQ (#53737)
## Problem

Recent tickets asking for some upload details and nuances of the storage
system

## Solution

Add a Upload FAQ page

## Review instructions

Just content changes but added new sidebar item so would need to check
to ensure that works as expected

## Checklist

Check all before review:

- [X] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [X] If I wrote a new docs topic or edited an existing topic, I used
the `/review-the-docs`
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 07:00:58 +08:00
AnaandAna a2e41ea71b feat(www): add .NET client library to features page (#51919)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

- Adds a `Client Library - .NET` entry to `apps/www/data/features.tsx`,
next to the JavaScript, Flutter, Swift, and Python entries
- Adds a `CsharpIcon` to `apps/www/components/svg-icons.tsx`, reusing
the C# icon from the docs navigation

## What is the current behavior?

The features page has no entry for the .NET SDK, and
`/features/client-library-dotnet` returns 404.

## What is the new behavior?

- `/features/client-library-dotnet` describes the officially supported
.NET SDK: key benefits, when to use it, and how to get started
- The entry is marked General Availability and available on self-hosted,
and links to the C# reference docs

## Additional context

N/A

Co-authored-by: Ana <ana1337x@users.noreply.github.com>
2026-11-29 18:48:28 +00:00
anthony lio fa9594b213 feat(kb): use the ui scroll area in the guide sidebar (#54026)
## Problem

- kb article sidebar scrolls as a native `overflow-y-auto` box and shows
the os scroll bar
- kb sidebar shows a wide os bar while the docs sidebar shows the thin
`ui` scroll bar

## Solution

- replaces the native sidebar scroll with the `ui` scroll area, as in
the docs sidebar
- changes the article sidebar to fill the viewport height under the
header

| before | after |
| -------|------|
| <img width="530" height="423" alt="image"
src="https://github.com/user-attachments/assets/93a1ee19-f0d3-4a35-a290-10a133eabe48"
/> |<img width="530" height="423" alt="image"
src="https://github.com/user-attachments/assets/54210c58-5c19-4e1b-840e-21461bc475b8"
/> |

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

1. open the preview
[/kb/guides/migrate-from-auth0](https://kb-git-antlio-kb-guide-sidebar-scroll-area-supabase.vercel.app/kb/guides/migrate-from-auth0)
in safari with a mouse
2. make sure that the sidebar shows the thin scroll bar

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-28 13:25:55 +02:00
anthony lio f05fe34966 feat(ui): scroll area (#54023)
## Problem

- on `/kb/guides/migrate-from-auth0` in safari 27 on macos, the mouse
wheel does not scroll the page and a trackpad does
- radix scroll area bar in the table of contents adds a non-passive
`wheel` listener on `document`
- webkit stops mouse-wheel page scroll when that listener meets
`overscroll-behavior-y: none` on `html`, which kb sets

## Solution

- replaces radix with base ui in the `ui` scroll area parts because base
ui binds its wheel listener to the scrollbar element
- replaces the radix `display: table` workarounds in the studio token
sheets and the connect sheet with a reset of the base ui content
`min-width`
- changes the docs ask ai scroll area to use the `ui` scroll area
- adds an inset focus ring to the scroll area viewport because base ui
makes an overflowing viewport focusable
- adds a `getAnimations` stub to the jsdom test setups because the base
ui viewport calls it
- adds `@base-ui/react` to the pnpm catalog + points the design system
scroll area page at the base ui docs

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. open the preview
[/kb/guides/migrate-from-auth0](https://kb-git-antlio-ui-scroll-area-supabase.vercel.app/kb/guides/migrate-from-auth0)
in safari on macos with a mouse
2. turn the mouse wheel and make sure that the page scrolls and the
table of contents marks the active heading
3. open the preview
[/design-system/docs/components/scroll-area](https://design-system-git-antlio-ui-scroll-area-supabase.vercel.app/design-system/docs/components/scroll-area)
and make sure that each demo shows its bar on hover and scrolls with the
wheel
4. make sure that the horizontal demo scrolls sideways
5. press `tab` until a demo takes focus and make sure that it shows an
inset focus ring
6. open a project in the [studio
preview](https://studio-staging-git-antlio-ui-scroll-area-supabase.vercel.app/dashboard),
click `Connect` and make sure that a long code line scrolls inside its
code block and the sheet body does not scroll sideways
7. open the [docs
preview](https://docs-git-antlio-ui-scroll-area-supabase.vercel.app/docs),
press `cmd+k`, search for `auth` and make sure that the results list
scrolls

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-28 13:25:55 +02:00
K-Dog (Kevin) 4e589266af chore(billing): revised card errors (#54179)
- Improved error messaging around card errors and toast position to be
closer to the actual action (customers often miss it in the top right)
- For card errors when setting up payment methods with a direct error
via the Stripe API, map to an appropriate actionable error message
2026-11-28 12:57:32 +08:00
claude[bot] 5760d8981a chore(www): bump MCP server card to 0.21.0 (#54227) 2026-11-28 10:49:29 +08:00
Ali Waseem c78476711e fix(ui-patterns): use FrameworkImage in ExpandableVideo dialog (#54224)
Fixes the docs build on master, which fails type checking with `TS2607`
in `ExpandableVideo/index.tsx`.

#53906 replaced the `next/image` import with `FrameworkImage`, and
#53981 (merged after it) added a new `<Image>` that still relied on the
old import. With no import, `Image` resolves to the browser's global
`Image` constructor. This swaps it for `FrameworkImage`, which the file
already uses with the same props.
2026-11-27 21:54:58 +02:00
anthony lio 5b31e21ddb feat(docs): guide video preview (#53981)
## Problem

* video card in the docs guide sidebar blurs the thumbnail making it
hard to preview
* users cannot see which video the card opens before they click it

## Solution

* adds a `GlassLens` filter wrapper to `ui-patterns` with lens curvature
and color fringe settings
* replaces the video card in both docs sidebars with a sharp thumbnail
* changes the video dialog in docs and www to fade the backdrop + skip
the zoom when reduced motion is on
* fixes the white iframe in dark mode + a one-frame backdrop flash at
the end of the close animation
* adds autoplay on open + the card thumbnail behind the iframe while the
video loads
* adds a hidden dialog title for screen readers

<!-- linear:table-colwidths:801 -->
<table>
<thead>
<tr>
<th>preview</th>
</tr>
</thead>
<tbody>
<tr>
<td>


https://github.com/user-attachments/assets/b41b3b8a-4d3e-47b3-92ea-3b2cd7629494

</td>
</tr>
</tbody>
</table>

## Review instructions

1. open
[/docs/guides/database/overview](<https://docs-git-antlio-docs-video-preview-supabase.vercel.app/docs/guides/database/overview>)
in dark mode
2. make sure that the video card shows a thumbnail
3. make sure it feels better :)

## Checklist

Check all before review:

- [X] I have read
[CONTRIBUTING.md](<https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md>)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](<https://github.com/supabase/supabase/tree/master/apps/docs/style-guide>)
2026-11-27 21:44:17 +02:00
Tina HaandClaude Sonnet 5.5 653104a8bf docs: clarify disk IOPS and throughput are provisioned separately from compute capacity (#54073)
## Problem

The Compute size section of the Compute and Disk guide says the table
values are minimums that "every project of a given compute size gets".
Readers could easily take the table as the IOPS and throughput their
project gets. The page already says elsewhere that effective IOPS and
throughput are the lower of the instance limit and the provisioned disk
values (gp3 defaults to 3,000 IOPS and 125 MB/s), but that rule sits far
from the table, so the two read as contradicting each other. The same
confusion has come up several times in slack threads.

## Changes

- Compute size intro: describe the table as what the compute instance
can deliver, say it does not set the disk's IOPS or throughput, and link
to the provisioned disk section. The 8XL example now says "supports"
instead of "has".
- New note under the table: effective IOPS and throughput are the lower
of the instance limits and the provisioned disk values, with the gp3
defaults, and a pointer to Disk types for pricing.
- 4XL and above paragraph: the "configure" link pointed at a billing
page. It now points to Infrastructure settings, with the IOPS and
throughput usage pages linked for pricing.
- Corrects "From 8XL, baseline and maximum are the same" to "On larger
sizes like 4XL and above", which matches the compute table.

## Notes

- Docs prose only. No change to the table or shared data.
- The new statements restate text already on this page. The 4XL example
follows from the gp3 default and the effective-is-the-lower rule.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 14:40:17 -05:00
46727fa89b docs: add guide for managing remote config as code (#50353)
## I have read the CONTRIBUTING.md file.

YES

## What kind of change does this PR introduce?

Docs. A new guide for `supabase config diff`, `config pull`, and `config
push`, written for CLI v3. Relates to MARKET-1590.

## What is the current behavior?

The CLI reference lists the three commands, but no guide explains the
workflow. The Select 2026 recap blog tells users to run `config pull`
with nothing to link to.

## What is the new behavior?

- New guide at `/docs/guides/local-development/config-as-code`, in the
nav after "Managing config and secrets".
- Covers diff (labels, `--exit-code` for CI), pull (preview, git check,
where values go), push (one consent question, `--yes` for CI and agents,
the `init` defaults risk), and what push can and cannot write.
- Links to `local-and-hosted-projects` and `migrating-to-v3` for the
shared v3 target and consent rules.

## Additional context

All behavior claims are checked against `supabase/cli` `v3.4.0`.

**Related:** #50594 by @Sweta0519 adds a `config push` section to
`managing-config.mdx`. This guide includes its `[group-write]` and
`init` defaults points, with credit. It might be good to ask if we can
shrink #50594 to a short pointer to this guide, so the two do not repeat
each other.

**Needs review:** one inline `NEEDS REVIEW` comment. "The Dashboard
stays editable" is product intent from the PRFAQ, not confirmed in
platform code.

**Verified:** MDX compiles, internal links and anchors resolve, and the
preview page returns 200 and shows in the nav.

| Before (net-new page) | [After (PR
preview)](https://docs-git-nikrichers-market-1590-launch-config-d-a8be81-supabase.vercel.app/docs/guides/local-development/config-as-code)
|
| ------------------------------ | --- |
| _No production URL, new page._ |
![config-as-code-after](https://moijyfpvgnmgoxvwcikq.supabase.co/storage/v1/object/public/pr-proof/supabase/supabase/pr50353/config-as-code-after-v3-865d0b89.png)
|

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Nik Richers <nik@validmind.ai>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 13:01:58 -06:00
Maksym Ionutsa 028d329417 Fix/studio observability timezone labels (#54198)
## Problem

Observability date labels ignore the timezone set in the profile. They
always show the browser timezone or UTC. The header range label (for
example "Nov 27, 12:40pm → 12:50pm") uses bare `dayjs()`. The Data API
charts (Total Requests, Error Counts, Response Speed, Network Traffic)
pass `displayDateInUtc`, so the first and last timestamps under each
chart always show UTC.

## Solution

- Format the header range label with `useFormatDateTime()` on the
Database, Auth, Storage, Realtime, PostgREST and Edge Functions
observability pages.
- Remove `displayDateInUtc` from the four Data API charts in
`ApiRenderers.tsx`.
- Use `text-xs` for the date labels in `BarChart`, so they match
`ComposedChart` and `StackedBarChart`. This is a separate commit.

## Review instructions

1. Open Observability, Database, and set a timezone in your profile that
differs from your browser.
2. Check that the range label next to the date picker and the tooltip
show the same timezone.
3. Open Observability, Data API. Check that the labels under each chart
follow the profile timezone and use the same font size as the Database
charts.

<details>
<summary>Screenshots</summary>

<img width="1124" height="844" alt="CleanShot 2026-11-27 at 13 37 14@2x"
src="https://github.com/user-attachments/assets/e3d29c77-317a-4489-aa4c-1fbf4783cb57"
/>


font in Data API
<img width="318" height="72" alt="CleanShot 2026-11-27 at 13 40 19@2x"
src="https://github.com/user-attachments/assets/06e4d12f-245f-4d4e-9dc9-b7f2f7879e52"
/>
font in Database
<img width="342" height="66" alt="CleanShot 2026-11-27 at 13 41 08@2x"
src="https://github.com/user-attachments/assets/de200eb2-4351-471d-a220-bacea142b0d9"
/>


</details>


## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill (not applicable, no docs
changes)
2026-11-27 16:39:47 +01:00
Maksym Ionutsa cddcdf5b41 Feat/studio observability chart grids (#54202)
## Problem

Observability chart grids use a window breakpoint (`md:`), so with a
side panel open the charts stay in two narrow columns. Several pages
also stack every chart in one long column.

## Solution

- Auth and Realtime: switch the chart grid from `md:` to a container
query (`@4xl:`), so it follows the width of the content area.
- Edge Functions, Storage and the shared API report (Data API, API
Gateway sections): use the same two-column grid at `@4xl:`.
- Database: two columns at `@6xl:`, because some charts are hard to read
at half of 56rem.

<details>
<summary>Before</summary>

<img width="3262" height="2168" alt="CleanShot 2026-11-27 at 15 05
58@2x"
src="https://github.com/user-attachments/assets/8b7eb4da-f8c8-477d-861a-ecc5717867fb"
/>
<img width="3206" height="2544" alt="CleanShot 2026-11-27 at 15 06
23@2x"
src="https://github.com/user-attachments/assets/de09dcdd-574a-433e-8bcd-a84e66352bfe"
/>
<img width="1146" height="1766" alt="CleanShot 2026-11-27 at 15 07
03@2x"
src="https://github.com/user-attachments/assets/93a3a5e4-90cf-4876-847a-fa9cb96e88d5"
/>

</details>

<details>
<summary>After</summary>

<img width="3146" height="2134" alt="CleanShot 2026-11-27 at 15 08
13@2x"
src="https://github.com/user-attachments/assets/ef46c6b1-f9de-4256-b7ad-6d20e1d3e030"
/>
<img width="3168" height="2212" alt="CleanShot 2026-11-27 at 15 08
26@2x"
src="https://github.com/user-attachments/assets/b83b0d8a-77f6-4ae4-a908-b29b55450e21"
/>
<img width="1084" height="2138" alt="CleanShot 2026-11-27 at 15 09
58@2x"
src="https://github.com/user-attachments/assets/9d3b6e48-f2ef-42d2-91cf-e076136c8bcb"
/>

</details>

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
2026-11-27 16:24:33 +01:00
Maksym Ionutsa d1c9d05335 fix(studio): correct PITR scheduled backups copy (#50861)
with PITR enabled scheduled backups copy states incorrect information
that might (and already have) confuse the customers

The backups are still taken and the WAL is archived. 

There's just no point exposing regular backups when the customer is
paying for a pretty expensive add-on, might as well point them at it
2026-11-27 16:07:04 +01:00
Wendie CheungandClaude Sonnet 5.5 0a44bbe8c2 fix(www): list "Supports AWS PrivateLink" once on Team and on Enterprise (#54206)
## What kind of change does this PR introduce?

Content fix on /pricing.

## What is the current behavior?

- The Team plan card lists "Supports AWS PrivateLink" twice (after "SSO
for Supabase Dashboard" and after "Priority email support & SLAs").
- The Enterprise plan card doesn't list it, even though the comparison
table shows PrivateLink on both Team and Enterprise.

## What is the new behavior?

- Team card lists "Supports AWS PrivateLink" once, after "SSO for
Supabase Dashboard".
- Enterprise card lists "Supports AWS PrivateLink" once, after "Private
Slack channel".

## Additional context

Data-only change in `packages/shared-data/plans.ts`. The duplicate
showed up on `master` after #53689 and #53670 both touched this file.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 15:04:18 +00:00