mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 23:49:03 +00:00
create-pull-request/patch
40517
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
abd8594ff8 |
chore(telemetry): remove dead 'troubleshooting' MarkdownAffordancePageType (#52630)
<!-- claude-slack-attribution --> _Requested via [Slack thread](https://supabase.slack.com/archives/C076KTY11DF/p1793582563464379?thread_ts=1793582563.464379&cid=C076KTY11DF)_ ## Problem **Before:** `MarkdownAffordancePageType` in `packages/common/telemetry-constants.ts` allowed `'troubleshooting'` as a `pageType` for `copy_as_markdown_clicked`, `preferred_source_clicked`, and `ask_ai_clicked`. No call site passes it: the docs troubleshooting pages were removed and now redirect to `/kb`, and the KB app does not render these affordances. The dead value implies a page class that can never report. **After:** The union lists only the page types that are actually sent (`blog`, `customers`, `events`, `pricing`, `changelog`, `guide`, `ask_ai_answer`), so the type documents reality and any future use of `'troubleshooting'` is a type error. Linear: GROWTH-1411 ## Solution Removed the `'troubleshooting'` literal from the union. Type-only change: no event names change and there is no runtime behavior change. Checked current `master` across `apps/docs`, `apps/www`, `apps/kb`, and `packages` for `pageType` values and `MarkdownAffordancePageType` consumers (`apps/docs/components/AiTools.tsx`, `apps/www/components/AiTools.tsx`, `AskAiPanel.tsx`, `ChangelogLlmMarkdownButton.tsx`); none use `'troubleshooting'`. ## Review instructions 1. Confirm the diff only removes `| 'troubleshooting'` from `MarkdownAffordancePageType`. 2. Optionally run `grep -rn "pageType" apps/docs apps/www apps/kb packages` and confirm no call site passes `'troubleshooting'`. 3. CI typecheck passes. ## Checklist - [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) (n/a: no docs content changes) --- _Generated by [Claude Code](https://claude.ai/code/session_011aGhSDuN9F7AXVEcUdXBKE)_ Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
6ec1b8a918 |
chore(telemetry): add Event suffix to account recovery event interfaces (#52624)
<!-- claude-slack-attribution --> _Requested via [Slack thread](https://supabase.slack.com/archives/C076KTY11DF/p1793582042354949?thread_ts=1793582042.354949&cid=C076KTY11DF)_ ## Problem **Before:** Four account recovery event interfaces in `packages/common/telemetry-constants.ts` were named without the `Event` suffix that every other event interface in the catalog uses: `AccountRecoveryReminderExposed`, `AccountRecoveryActionClicked`, `AccountRecoveryTaskCompleted` and `AccountRecoveryReminderClosed`. The PostHog Event Review flagged this as a MEDIUM naming finding. **After:** They are `AccountRecoveryReminderExposedEvent`, `AccountRecoveryActionClickedEvent`, `AccountRecoveryTaskCompletedEvent` and `AccountRecoveryReminderClosedEvent`, matching the rest of the catalog. ## Solution Type-only rename. The four interface declarations and their four entries in the `TelemetryEvent` union are the only references in the repo (checked with a word-boundary grep of `packages/` and `apps/studio/`, plus GitHub code search across the whole repo). The `action` event name strings (`account_recovery_reminder_exposed`, `account_recovery_action_clicked`, `account_recovery_task_completed`, `account_recovery_reminder_closed`) and all call sites are unchanged, so no live PostHog event changes. ## Review instructions 1. Check the diff: 8 lines in `packages/common/telemetry-constants.ts`, no `action` string touched. 2. CI typecheck passes. Checks run locally: - `pnpm --filter common typecheck` (`tsc --noEmit`): passed, exit 0. - `prettier --check` with the repo config: passed. - `apps/studio` typecheck: could not run here. `tsc` was OOM-killed at about 13.7 GB in this environment, so CI is the first full studio typecheck. Studio has no references to the old or new names. - ESLint: not run. `packages/common` has no ESLint config. ## Checklist - [ ] 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) ## Linear - fixes [GROWTH-1410](https://linear.app/supabase/issue/GROWTH-1410/add-event-suffix-to-account-recovery-telemetry-event-interfaces) --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011aGhS9a5vY8KKFX991yzem Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
5bb549efae |
feat(studio): allow setting a password when enabling login on an existing role (#52505)
## What kind of change does this PR introduce? Feature. ## What is the current behavior? Turning on "User can login" for an existing role that couldn't log in gives no way to set a password. Users have to run `alter role ... password` in the SQL editor. ## What is the new behavior? In Database > Roles, turning on "User can login" for a role that couldn't log in now shows the same optional password field as the create panel, including the generate and copy actions. - The field only shows for roles that don't currently have login. Roles that can already log in don't get one. - The password is sent only when login is gained in that save and the field isn't empty. An empty field turns on login without a password, as in create mode. - The password is kept out of the "changed fields" diff, so unrelated edits never send `password ''`. - The password field is extracted from the create panel into a shared `RolePasswordField`, which also owns the "Password generated" announcement state. Follow-up to #52463. Changing the password of a role that can already log in is tracked separately and is the next PR in this stack. <img width="840" height="655" alt="Screenshot 2026-10-29 at 15 47 33" src="https://github.com/user-attachments/assets/8bb52e86-7b1e-4911-b625-2532fb7dfa25" /> ## Testing - New `RoleRow` component tests cover the field's visibility, sending the password, and omitting it when empty or for roles that already have login. - Existing `CreateRolePanel` tests still pass. Part of FE-4763. |
||
|
|
48bc6ef4a5 |
fix: log meter alarm (#52393)
I am updating these meters to make them not so elevated, to reduce customer alarm. I am improving the query info to reduce alarm, and adding a GH discussion link to help route customers to a central location to give feedback for us to consider while improving the product ahead of launch. ## Problem The upcoming meters for ingest and logs work well, but are increasing support ticket volume in a manner that is counter productive to our ability to address the issues, while trying to tend to customer concern and sentiment. ## Solution Addresses customer concern by reducing visibility and adding a GH discussion link to cusotmers can be routed to a cnetral place where we can provide updates and we can collect feedback publicly to address any customer concerns. We still want feedback and to address them, we just need to control the volume. Includes: - removing upcoming pill from both meters - moving the meters lower - adjusting the query text to add more confidence around billing timeline enforcement - added link to the GH discussion to route feedback before: sudio: usage <img width="1284" height="424" alt="image" src="https://github.com/user-attachments/assets/0587f2a9-be6d-4a11-8e33-64b6354bc41d" /> and after: <img width="861" height="448" alt="image" src="https://github.com/user-attachments/assets/708497af-eda9-478f-ad84-f29196f2f01f" /> |
||
|
|
1a2db3779e |
feat(docs): ask ai v2 (#52459)
## Problem - the change is a follow-up to search v2 (#51175, #52233), which runs as the `docs-search-v2` experiment - in the `search-v2-active` group, `cmd+k` opens the new search instead of the legacy command menu, so readers lose ask ai - a search with no results stops at "No results found." and gives no next step ## Solution - adds an ask ai panel and a `cmd+i` shortcut to search v2, so the `search-v2-active` group can ask supabase ai - adds ask ai entries to the top nav, the results footer and empty results, so readers can ask from search - changes search and ask ai to use one dialog for the page, so two dialogs never open together - adds `renderNoResults` and `renderFooterStart` slots to the `docs-search` panel, so the package has no ask ai code - nit: adds a `keycaps` variant to `KeyboardShortcut` with a design-system example, and uses it in the search trigger and footers | state | preview | | -------|------| | after | <video src="https://github.com/user-attachments/assets/6681fcba-6267-4ee1-b9e0-154b5f45091d" /> | <!-- ## 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?docs-search-v2=search-v2-active](https://docs-git-antlio-feat-docs-ask-ai-supabase.vercel.app/docs?docs-search-v2=search-v2-active) 2. make sure that the top nav shows the search box and an `Ask AI` button 3. press `cmd+i` (`ctrl+i` on windows and linux), and make sure that the ask ai dialog opens with example questions 4. select an example question, and make sure that the bolt icon changes from gray to color while the answer loads 5. press `cmd+k`, and make sure that the same dialog changes to search 6. search for `zzqqxx`, select `Ask Supabase AI: zzqqxx`, and make sure that ask ai opens and sends the question 7. search for `auth`, and make sure that the results footer shows `Ask Supabase AI` and the keycap hints ## 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) |
||
|
|
a05e7ec1d7 |
refactor(studio): move self-hosted Assistant tools to contracts (#52468)
Stacked on supabase/supabase#52422. ## What The self-hosted Assistant tools become contracts, so every tool the Assistant can call now comes from the registry and the allowlist is derived from it. * The fallback tools (`getSchemaTables`, `getRlsKnowledge`, `getFunctions`, `getEdgeFunctionKnowledge`) are deleted. Self-hosted now gets the shared tools plus: * `list_tables`: a local contract with the same input as the MCP tool and a similar output, built from pg-meta. It shares its prompt guidance with the remote contract, which moves to `list-tables.remote.ts`. On platform the remote contract is still used. * `list_functions`: self-hosted only, filtered by schema in SQL. * `list_policies`: now available in both environments. * `runPgMetaQuery` (`tool-sql.server.ts`) runs pg-meta-built SQL and validates the rows with the builder's zod schema. Off platform it calls `executeQuery` directly, because the default fetcher goes through a relative API URL that doesn't resolve server-side. * The allowlist comes from the registry: * `ToolName` and the tool set validation schema are built from the contract keys. The tool category map is removed. * `mcp-tools.ts` keeps only tools with a remote contract, before opt-in filtering, so `UI_EXECUTED_TOOLS` is gone. `EXPECTED_MCP_TOOLS` is derived from the contracts and type-checked against the MCP package. * Saved chats: the legacy contracts now trim replayed outputs. `getRlsKnowledge` replays only the saved policy list, without the stale RLS instructions. `getEdgeFunctionKnowledge` replays a pointer to `load_knowledge`. * The logs reference text no longer names `query_logs`. ## Behavior changes * `list_policies` on platform validates rows before formatting, so a row that fails pg-meta's schema now errors the tool call instead of returning text. * `list_tables` on self-hosted doesn't include the MCP tool's optional `advisory` field. * `list_functions` with an empty `schemas` list returns every non-system schema. * On platform, if the MCP tools fail to load, `list_tables` is dropped from the tool set like the other remote tools. ## Tests * Unit tests for `runPgMetaQuery`, the local `list_tables` and `list_functions`, and the output mapping. The SQL boundary is mocked; not yet run against a live self-hosted database. * Legacy contract tests cover trimming, the empty and missing policy cases, and that replaying an already-trimmed output leaves it unchanged. ## 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>) |
||
|
|
7837277084 |
fix(studio): correct grammar in organization not found message (#52276)
## Problem The Studio error shown when an organization does not exist, or the user lacks permission to view it, has two grammar mistakes: "permission to access to it" and "Contact the the owner". ## Solution Changed the copy to "permission to access it" and "Contact the owner". This is a text-only change in `OrgNotFound.tsx`, reformatted with the repo's Prettier config. No logic changed. ## Review instructions 1. Open `/dashboard/org/<a-slug-that-does-not-exist>` on the Studio preview. 2. Confirm the message reads: "This organization does not exist or you do not have permission to access it. Contact the owner if you believe this is a mistake." ## Checklist - [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 (not applicable, no docs changed) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
63ea299a2b |
docs(auth): clarify ip_address is not included in audit logs (#43005)
Fixes #42997 Removed `ip_address` from the audit log example and clarified that client IP addresses are stored in `auth.sessions`, but are not currently included in Auth audit logs. This aligns the documentation with the current behavior. --- ## I have read the CONTRIBUTING.md file. YES ## What kind of change does this PR introduce? Docs update ## What is the current behavior? The documentation example includes `ip_address` in Auth audit logs, but this field is not actually present in the audit logs. ## What is the new behavior? The example no longer includes `ip_address`, and a note clarifies that IP addresses are stored in `auth.sessions`, but not included in audit logs. ## Additional context N/A --------- Co-authored-by: hallidayo <22655069+Hallidayo@users.noreply.github.com> Co-authored-by: Nik Richers <nrichers@gmail.com> Co-authored-by: Nik Richers <nik@validmind.ai> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
a19cfc54eb |
fix(docs): use string for smtp_port in custom SMTP example (#52418)
## Problem
The custom SMTP Management API example in the Auth documentation sends
`smtp_port` as a number (`587`). The API expects a string and rejects
the numeric value with:
```json
{"message":"smtp_port: Invalid input, expected string, received number"}
```
Fixes #52384.
## Solution
Change `smtp_port` from `587` to `"587"` in the `curl` example in
`apps/docs/content/guides/auth/auth-smtp.mdx`, matching the API's
expected string type.
## Review instructions
1. Open `apps/docs/content/guides/auth/auth-smtp.mdx`.
2. Find the custom SMTP Management API example.
3. Verify that `smtp_port` is `"587"` and that the rest of the example
remains unchanged.
## Validation
- `git diff --check` — passed.
- JSON payload parsing — passed; `smtp_port` is a string.
- Prettier check for the modified MDX file — passed.
- Full monorepo build — not run; this is a one-line documentation
change.
- Live API snippet test — deferred because it would target the
production Management API.
## Checklist
- [x] I have read
[[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md).
- [ ] If I edited an existing docs topic, I used the `/edit-the-docs`
skill, which applies the docs [[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide).
Co-authored-by: Nik Richers <nrichers@gmail.com>
|
||
|
|
4bec330f74 |
docs(i18n): fix broken image references in the Croatian and Sinhala READMEs (#50300)
## 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? Docs fix. Fixes #50296, reported by @auroraxo, who offered to send this and was waiting on a maintainer's go-ahead. Opening it since the finding checks out and the change is small — happy to close in favor of theirs if they'd prefer. ## What is the current behavior? `i18n/README.hr.md` and `i18n/README.si.md` each carry three image references copied from the root README without adjusting for their location: | reference | resolves from `i18n/` to | exists | | --- | --- | --- | | `apps/docs/public/img/supabase-architecture.svg` | `i18n/apps/docs/public/img/supabase-architecture.svg` | no | | `./apps/www/public/badge-made-with-supabase.svg` | `i18n/apps/www/public/badge-made-with-supabase.svg` | no | | `./apps/www/public/badge-made-with-supabase-dark.svg` | `i18n/apps/www/public/badge-made-with-supabase-dark.svg` | no | Those paths are correct in the root `README.md`, which is one directory up. There is no `i18n/apps/` directory, so six images are broken across the two files. ## What is the new behavior? Each reference now points at a URL that was checked to return an actual image: - **architecture diagram** → `https://raw.githubusercontent.com/supabase/supabase/master/apps/docs/public/img/supabase-architecture.svg`, the same `raw.githubusercontent.com` form these two files already use for the dashboard screenshot at the top - **badge previews** → `https://supabase.com/badge-made-with-supabase.svg` and `-dark.svg`, which is exactly what the markdown and HTML samples directly beneath them already tell readers to copy Only the rendered previews change. The samples inside the fenced code blocks are untouched. Verified with a request per URL: ``` raw.githubusercontent.com/.../supabase-architecture.svg 200 image/svg+xml raw.githubusercontent.com/.../supabase-dashboard.png 200 image/png supabase.com/badge-made-with-supabase.svg 200 image/svg+xml supabase.com/badge-made-with-supabase-dark.svg 200 image/svg+xml ``` Every image reference in both files now resolves. ## Additional context Worth flagging separately, and deliberately **not** changed here: most of the other translations reference the diagram as ``` https://github.com/supabase/supabase/blob/master/apps/docs/public/img/supabase-architecture.svg ``` That URL responds `200 text/html`, not an image — a `/blob/` link is the file-viewer page rather than the file. So the majority convention appears to be broken too, just in a different way, which is why this PR did not adopt it. That affects roughly fifty files and felt like scope creep on a two-file fix; happy to send a follow-up if you'd like it swept. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated Croatian and Sinhala README images and badges to use hosted URLs. * Improved the reliability of architecture diagrams and light/dark “Made with Supabase” badges across documentation. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Nik Richers <nrichers@gmail.com> |
||
|
|
5d74fe0dff |
fix(realtime-prompt): use WITH CHECK for INSERT policy (#51212)
## Description Fixes #51206 The Realtime prompt example currently uses `USING` for an `INSERT` RLS policy. PostgreSQL requires `WITH CHECK` for validating rows being inserted. The current example therefore cannot be created as written. This change replaces `USING` with `WITH CHECK` in the `room_members_can_write` policy. ## Changes - Changed `USING` to `WITH CHECK` for the `INSERT` RLS policy. - No other documentation or behavior was changed. ## Verification - Verified the affected example against PostgreSQL RLS policy syntax. - Confirmed the change is limited to the affected `INSERT` policy. Closes #51206 |
||
|
|
bc1104398b |
Update monthly-active-users.mdx code formatting (#37651)
* Update monthly-active-users.mdx * fix: formatting --------- Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com> |
||
|
|
53890ec291 |
docs: rename inbucket CLI config keys to local_smtp (#50538)
## 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? docs update ## What is the current behavior? The CLI config reference still documents the `inbucket.*` keys and links to inbucket.org. Since supabase/cli#5333 the preferred key is `local_smtp`, `inbucket` only survives as a deprecated alias that prints a warning, and `supabase init` writes `[local_smtp]` into new config files. So anyone following the reference page ends up with a deprecated key. Fixes #50530 ## What is the new behavior? The six entries are renamed to `local_smtp.*` and their links point at the Mailpit docs, which is what the CLI's own schema annotations use. `local_smtp.enabled` now reads "Enable the local SMTP testing server." instead of naming InBucket. `auth.email.smtp.host` also claimed a default of `inbucket`, so the word was still showing up in a Default column on this page. The CLI declares that field as optional with no default at all, so I dropped the value rather than invent a new one and the column now reads None, matching `auth.email.smtp.user` just below it. ## Additional context The spec file is only read by `apps/docs/app/guides/local-development/cli/config/page.tsx`, so renaming the keys affects the rendered page and nothing else. I left the `inbucket` entries out rather than listing both names, since the CLI schema itself exposes only `local_smtp` and rewrites the old section name before validation. One thing I left alone: `local_smtp.smtp_port`, `pop3_port`, `admin_email` and `sender_name` are documented with defaults of 54325, 54326, `admin@email.com` and `Admin`, but the CLI has no defaults for any of them. They are commented-out suggestions in the generated config.toml, and an unset `smtp_port` means the port is not exposed rather than 54325. That predates this PR and felt like a separate change, though I am happy to fix it here if you would rather it went in together. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Documentation** * Renamed local email testing configuration keys from `inbucket.*` to `local_smtp.*`. * Updated related documentation links to reference Mailpit. * For CLI versions before v2.108.0, use the `[inbucket]` section; newer versions still accept it with a deprecation warning. * Removed the documented default for `auth.email.smtp.host`. Ports and other defaults remain unchanged. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Nik Richers <nrichers@gmail.com> |
||
|
|
7e5748ba6b |
docs: move team member role mapping to its own page (#52476)
Closes DOCS-1498 ## Problem The Configure user access section of Temporary access is split out as a part of the Information Architecture plan laid out in Option 1 of the [Docs navigation architecture proposal](https://app.notion.com/p/supabase/Q4-2027-Proposal-Docs-navigation-architecture-3f25004b775f81f49dbad710a732ef61). ## Solution - **Structure:** move `## Configure user access` to `guides/platform/team-database-access`. Temporary access keeps the heading and its anchor, with a one-sentence pointer. The page is in the Platform sidebar after Temporary Access. - **Option 1 navigation:** the "Map team members to Postgres roles" entry in Run and manage, Team, points to the new page. The Option 1 test no longer expects the anchor. Today's navigation uses the same label, at 34 characters. - **Guide shape:** a value-statement opener with a short definition of a role mapping, Prerequisites, then steps to authorize a team member and to restrict their access. Each list has a lead-in. - **Sample fixes:** - The request sent the role list as `user_roles`. The Management API requires `roles`. - `expires_at` was in milliseconds. It takes Unix seconds, which the Dashboard sends. - A new step looks up the team member's user ID through the organization members endpoint. The old sample used a placeholder with no way to find the value. ### Not verified - **Samples:** the Management API calls need a hosted project, so `test-the-docs` can't run them. I ran them by hand against a hosted project. ## Manual testing 1. Open [Map team members to Postgres roles](https://docs-git-docs-team-database-access-supabase.vercel.app/docs/guides/platform/team-database-access). See the prerequisites, the steps to authorize a team member, and the restrictions. 2. Open [Temporary access](https://docs-git-docs-team-database-access-supabase.vercel.app/docs/guides/platform/temporary-access#configure-user-access). See the Configure user access heading with a one-sentence pointer to the new page. 3. In the Platform sidebar, click **Map team members to Postgres roles**. See the new page open. |
||
|
|
4eab2bdbc6 |
docs(style-guide): say how to introduce a link (#52578)
## Problem The style guide says to write "For more information about X, see Y," which is too prescriptive and not nuanced. ## Solution - **Introduce a link:** replace "Introduce a link with `see`" with a table of three forms. These are `See [Title].`, `For more information, see [Title].`, and `For more information about X, see [Title].` Each row says when to use the form. It's funny. By making something 'looser', it still feels quite prescriptive. But now there is at least options and nuance. ## Manual testing 1. Read [Introduce a link](https://github.com/supabase/supabase/blob/docs/style-guide-about-clause/apps/docs/style-guide/02-elements.md#introduce-a-link). See the three forms and three examples. 2. Read [Put the condition before the instruction](https://github.com/supabase/supabase/blob/docs/style-guide-about-clause/apps/docs/style-guide/01-voice-and-tone.md#put-the-condition-before-the-instruction). See that its `For more information, see [Row Level Security]` example matches the second form. |
||
|
|
07ab3f99fc |
docs: point Grafana Cloud links to the one-click integration (#52580)
## Problem Grafana reported that many Grafana Cloud orgs connect Supabase without using the 1-click integration, and far more of them than come through it. Likely causes: pages that send people to grafana.com instead of the integration, and users assuming they need a Grafana Cloud account first. ## Solution Point Grafana-related links and copy at the one-click integration, with `utm_medium` set per surface (`docs`, `blog`) so Grafana can attribute traffic. - **Metrics API docs page:** add a bullet to "What you can do" for the one-click integration, and reword the Grafana Cloud link under "Additional resources". - **Grafana Cloud guide:** add a note that you can add the integration without a Grafana Cloud account (confirmed with Grafana), and point manual step 1 to the one-click integration for readers who don't need manual control. - **Metrics API blog post:** link the Grafana Cloud bullet and the "Grafana Cloud setup" list item to the integration and guide. The `supabase-grafana` README is a separate repo, covered in https://github.com/supabase/supabase-grafana/pull/93. ## Review instructions 1. Open the Metrics API docs page and confirm the third bullet links to the Grafana Cloud integration. 2. Open the Grafana Cloud guide and confirm the note and the step 1 copy. 3. Open the blog post and confirm both Grafana Cloud links. ## 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, which applies the docs [style guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide) |
||
|
|
364b5968be |
Fix punctuation in README.md checklist (#48085)
Added a period to the end of the 'Edge Functions' and 'Dashboard' entries for consistency. ## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES/NO ## What kind of change does this PR introduce? Bug fix, feature, docs update, ... ## What is the current behavior? Please link any relevant issues here. ## What is the new behavior? Feel free to include screenshots if it includes visual changes. ## Additional context Add any other context or screenshots. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated the Supabase feature checklist formatting for the Edge Functions documentation link. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
55798f7054 |
docs: fix missing verb in README architecture section (#52266)
Add missing "is" in the pg_graphql description: "[pg_graphql](...) a PostgreSQL extension" → "[pg_graphql](...) is a PostgreSQL extension". --------- Co-authored-by: pei711 <pei711@users.noreply.github.com> |
||
|
|
60bd28fd80 |
docs: fix grammar in Partner Catalog listing criteria (#48736)
Three small grammar fixes in the listing criteria section of the Partner Catalog page: - "we welcome everyone to built an integration" → "build" - "We require this criteria" → "these criteria" - "the company may be assessed on your ability" → "its ability" (the sentence starts with "the company" then switches to second person) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Corrected grammar and clarified assessment criteria descriptions in the Partner Catalog guide. * Updated the Maintainability guidance to refer to a company’s capabilities. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
238f8c87b1 |
blog(www): add dbarena post (#52330)
## 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? - Blog post: Introducing DBArena (publishes Oct 30, 2026) ## What is the current behavior? N/A ## What is the new behavior? - Adds the DBArena launch blog post and its images ## Additional context - Draft while final content checks finish --------- Co-authored-by: Ana <ana1337x@users.noreply.github.com> |
||
|
|
ab448c11af |
feat(kb): send PostHog pageview and pageleave after consent (#52533)
## Problem The KB has a consent banner but sends no pageviews. `PageTelemetry` imports Next modules, so it can't run in Astro. Part of [GROWTH-1352](https://linear.app/supabase/issue/GROWTH-1352/add-consent-posthog-tracking-to-new-kb-app). ## Solution - Moved `handlePageTelemetry`, `handlePageLeaveTelemetry` and their first-touch helper into `common/page-telemetry.ts`, with no Next imports. Other apps are unchanged. - Added `PageTelemetryIsland` to the KB layout. After consent it sends one `$pageview` per page load and `$pageleave` on `beforeunload`. First-touch UTMs and the `_sb_first_referrer` and mw-diag cookies go only on a tab's first pageview after consent (a `sessionStorage` flag) or on arrival from an external site. - Needs `NEXT_PUBLIC_POSTHOG_KEY` and `NEXT_PUBLIC_POSTHOG_HOST` (`https://ph.supabase.com`) on the KB Vercel project. Both are set on Preview and Production. ## Review instructions 1. Check the `telemetry.tsx` removals match `page-telemetry.ts`. 2. On a KB preview page, accept cookies and check the network tab for `$pageview`, then `$pageleave` after navigating. KB and studio telemetry tests pass. From the kb preview, PostHog prod received `$pageview` on `/kb`, `$pageleave` on `/kb`, then `$pageview` on `/kb/guides/migrate-from-neon`. ## Checklist - [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) |
||
|
|
215b302dca |
blog(www): add video to supabase compute private alpha post (#52569)
## 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 the Supabase Compute launch video to the Supabase Compute private alpha blog post ## What is the current behavior? The Supabase Compute private alpha blog post has no video. ## What is the new behavior? - Embeds the "Announcing Supabase Compute" video below the intro, using the same `video-container` embed as other recent blog posts ## Additional context Video: https://www.youtube.com/watch?v=c3U3kgrihdI Co-authored-by: Ana <ana1337x@users.noreply.github.com> |
||
|
|
6aefa45d2b |
refactor(studio): build the Assistant tool prompt from contracts (#52422)
Stacked on supabase/supabase#52398. ## What The chat system prompt's tool guidance now comes from the contracts available to the request, so the prompt never names a tool the request doesn't have. * `ToolContract` and `RemoteToolContract` gain an optional `promptGuidance`: rules for using the tool that its description doesn't cover. * `buildToolsPrompt` generates a `## Tools` section: every available tool by name, sorted, plus a section with the guidance of each tool that has any. Tool descriptions aren't repeated, since the model already gets them in the tool definitions. * `getToolRequest` computes the environment and satisfied requirements once, for both `getTools` and the prompt. * `buildSystemPrompt` assembles the full chat system prompt, used by `generateAssistantResponse` and by the tests. * Rules that named a tool move out of `GENERAL_PROMPT`, `CHAT_PROMPT`, `LIMITATIONS_PROMPT`, `NOTEBOOKS_PROMPT` (deleted), the hardcoded Available Knowledge list, and the opt-in, support-mode, and logs-snippet context messages into the `promptGuidance` of the tool each rule is about. * `SECURITY_PROMPT` is unchanged because it's shared with code completion. ## Prompt changes * Platform: the same guidance, reorganized under the tool it applies to. Small rewording: the two `search_docs` rules are merged, the opt-in rule no longer starts with "if `update_opt_in_level` is available", and two typos are fixed. The tool list also names tools the old prompt didn't mention. * Self-hosted: the prompt lists only `execute_sql`, `load_knowledge`, and `rename_chat`, and no longer mentions platform-only tools like `search_docs`, `query_logs`, notebooks, or the opt-in tool. The self-hosted fallback tools aren't listed until they become contracts in a later PR. ## Prompt caching The tools section varies with the actual provided tools. That adds no cache misses: providers cache tool definitions before the system prompt, so a change to the tool set already invalidates the cached system prompt ([Anthropic](<https://platform.claude.com/docs/en/build-with-claude/prompt-caching#what-invalidates-the-cache>), [Bedrock](<https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html#prompt-caching-converse>), [OpenAI](<https://developers.openai.com/api/docs/guides/prompt-caching>)). ## Tests * For every combination of environment, Explorer, support mode, and base URL, the system prompt and context messages name only tools available to that request. * Outside its generated section, the system prompt names no tools except `execute_sql` in the shared `SECURITY_PROMPT`. * Labeled `run-evals` to check the reworded prompt for regressions. ## 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>) |
||
|
|
28d9157aab |
docs: stop guide subtitles from repeating the first sentence (#52568)
Closes DOCS-1553 ## Problem Some guides set a subtitle that says almost exactly what the first sentence of the page says, so the reader reads the same line twice. ## Solution - Add a **Write good frontmatter** section to the style guide, with **Title**, **Subtitle**, and **Description** subsections. A title is 35 characters or fewer, in sentence case, and follows the Google developer style guide's title rules. A subtitle is optional and decorative. If it matches the first sentence, leave it out. A description is 150–160 characters, with relevant keywords. - Remove the subtitle on 12 guides where it repeated the first sentence. On the 6 of those with no description, move the subtitle to `description` so the meta description doesn't change. - Change the Vault subtitle to `Manage secrets in Postgres` to match the rule's example. - In `CONTRIBUTING.md`, mark `description` as required and link to the new section. ## Manual testing 1. Open [Creating a client](https://docs-git-docs-guide-subtitles-supabase.vercel.app/docs/guides/auth/server-side/creating-a-client). See no subtitle under the title. 2. Open [Vault](https://docs-git-docs-guide-subtitles-supabase.vercel.app/docs/guides/database/vault). See `Manage secrets in Postgres` under the title. 3. Read [Write good frontmatter](https://github.com/supabase/supabase/blob/docs/guide-subtitles/apps/docs/style-guide/03-page-structure.md#write-good-frontmatter). |
||
|
|
5bbddd5f01 |
docs(mcp): document feedback tools and feature group (#52557)
## Problem [MCP 0.15.0](https://github.com/supabase/mcp/releases/tag/mcp-server-supabase-v0.15.0) adds `submit_feedback` and `delete_feedback` in a new `feedback` group. The MCP docs page doesn't mention them, and the configuration panel always sends an explicit `features` list without `feedback`, so hosted users who set up through the panel never get these tools. ## Solution Document both tools on the MCP page: the `feedback` value, that they're hidden in read-only mode, what data is sent, and how hosted, project-scoped, and local connections differ. Update the "Available tools" intro. ## Verification [MCP Tools docs page Preview](https://docs-git-pedrorodrigues-ai-1387-2d-optional-doc-f3ca8e-supabase.vercel.app/docs/guides/ai-tools/mcp) <img width="792" height="890" alt="image" src="https://github.com/user-attachments/assets/74dbe7fd-b1e2-48bf-8b87-403800c8076f" /> <img width="792" height="747" alt="Screenshot 2026-10-30 at 15 30 05" src="https://github.com/user-attachments/assets/bc61ee27-58ba-45b7-bd19-99676035c21d" /> Closes AI-1387 |
||
|
|
340101642a |
docs: move preview branches on Vercel to its own page (#52473)
Closes DOCS-1497 ## Problem The Vercel section of Branching integrations is split out as a part of the Information Architecture plan laid out in Option 1 of the [Docs navigation architecture proposal](https://app.notion.com/p/supabase/Q4-2027-Proposal-Docs-navigation-architecture-3f25004b775f81f49dbad710a732ef61). ## Solution Split out the old section into a new one with `/edit-the-docs` and `/test-the-docs`. ## Manual testing 1. Open [Preview branches on Vercel](https://docs-git-docs-vercel-preview-branches-supabase.vercel.app/docs/guides/integrations/vercel-preview-branches). See the prerequisites, two steps, and the After you connect section. 2. Open [Branching integrations](https://docs-git-docs-vercel-preview-branches-supabase.vercel.app/docs/guides/deployment/branching/integrations). Under **Hosting providers**, see a one-sentence pointer to the new page, with no Vercel heading. 3. In the Branching sidebar, click **Preview branches on Vercel**. See the new page open. 4. In the Integrations sidebar, click **Preview branches on Vercel**, after **Vercel Marketplace**. See the new page open with the Integrations sidebar. |
||
|
|
2afde3d093 | fix(deps): bump node-forge to 1.4.2 (#52562) | ||
|
|
17c2985e16 |
fix(kb) - include faqs in sitemap.md (#52559)
## Problem 2 gaps: - Missing FAQs in the sitemap.md - Experiment to redirect requests to the homepage to sitemap.md ## Preview links ### FAQ addition Now includes faqs in https://kb-git-kody-devrel-813-sitemapmd-tweaks-supabase.vercel.app/kb/markdown/sitemap.md <img width="1338" height="669" alt="image" src="https://github.com/user-attachments/assets/fb5174f7-23f4-4187-8fed-1fb7ca9fa216" /> ### markdown behavior ``` curl "https://kb-git-kody-devrel-813-sitemapmd-tweaks-supabase.vercel.app/kb" \ -H "Accept: text/markdown" ``` ``` # Supabase Knowledge Base In-depth guides, tutorials, troubleshooting, and explainers for best practices for Supabase ## Topics - [Migration](https://supabase.com/kb/topics/migration.md) - [Comparison](https://supabase.com/kb/topics/comparison.md) - [Rundowns](https://supabase.com/kb/topics/rundowns.md) - [Troubleshooting](https://supabase.com/kb/topics/troubleshooting.md) - [Tutorials](https://supabase.com/kb/topics/tutorials.md) - [Storage](https://supabase.com/kb/topics/storage.md) - [Auth](https://supabase.com/kb/topics/auth.md) - [Database](https://supabase.com/kb/topics/database.md) - [Edge Functions](https://supabase.com/kb/topics/edge-functions.md) - [Queues](https://supabase.com/kb/topics/queues.md) .... ``` --------- Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com> |
||
|
|
01a2d1748f |
fix(www): update rand arete's author title to product (#51362)
## 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? - Updates Rand Arete's `position` in `apps/www/lib/authors.json` from "Engineering" to "Product" ## What is the current behavior? Rand Arete's blog byline shows "Engineering". ## What is the new behavior? - Rand Arete's blog byline shows "Product" ## Additional context N/A Co-authored-by: Ana <ana1337x@users.noreply.github.com> |
||
|
|
b7144f7ff0 |
docs: clarify pool size scope and override behavior (#50521)
## 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? Docs update ## Additional context Clarifications on pooler settings override behavior <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated pool-size guidance to link default values to Compute Add-On limits. * Added default pool-size values for each Compute instance size. * Removed guidance stating that manually configured pool sizes remain fixed after Compute resizing. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
2641cd817c |
chore(www): add Explorer and Notebooks launch blog post (#52543)
## Problem The Explorer and Notebooks launch blog post (scheduled for 2026-10-30, 9am PT) needs to be added to the www blog. ## Solution - Adds `2026-10-30-explorer-and-notebooks-investigations-your-team-can-rerun.mdx` with the launch copy and the in-body Notebooks screenshot. - Adds Charis Lam to `authors.json`, since she is a co-author and had no entry. - Adds the header (`thumb.png`) and OG (`og.png`) images, and the launch video embed after the intro. ## Review instructions 1. Open the preview and go to `/blog/explorer-and-notebooks-investigations-your-team-can-rerun`. 2. Confirm the copy, the Notebooks screenshot, and the four authors render correctly. 3. Confirm the header shows on the `/blog` index card and the OG image in the page meta tags. 4. Confirm the YouTube video plays under the intro. ## Checklist - [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) |
||
|
|
6a1a1bf23e |
feat(kb): add guides on moving data, backups, migrations, and branching (#51346)
## Summary Adds 6 question-and-answer guides to the knowledge base about moving data and deploying: SQLite to Postgres, going to production, CSV imports, backups, local development, and branching. Each guide answers one question: the description is the short answer, and the body adds the details and links into the docs. Ref: GROWTH-1191 ## Guides - How do I move an app from SQLite to hosted Postgres for production? - How do I put my app's database online so other people can use my app? - How do I import a CSV file into Postgres? - How do I back up and restore a Supabase database? - How do I develop locally and deploy Postgres migrations? - Can I get a separate Postgres database for each pull request? ## Notes - Links to the docs and the dashboard use absolute `https://supabase.com/...` URLs, so they also work on previews. - Some guides link to guides added in #51345. Those links resolve once those PRs are merged. - Related guides proposed in #50472, in case you'd rather merge or drop any of these: `download-logical-backups`, `new-branch-doesnt-copy-database`. --------- Co-authored-by: Kody Jackson <kody.jackson@supabase.io> |
||
|
|
da15db871c |
feat(kb): add guides on Postgres features, multi-tenancy, and custom auth (#51348)
## Summary Adds 7 question-and-answer guides to the knowledge base about Postgres features on Supabase: vector and full text search, realtime updates, scheduled jobs, queues, multi-tenant isolation, and bringing your own auth. Each guide answers one question: the description is the short answer, and the body adds the details and links into the docs. Ref: GROWTH-1191 ## Guides - How do I add vector search to Postgres? - How do I add full text search to Postgres? - How do I get realtime updates when rows change in Postgres? - How do I run scheduled jobs in Postgres? - Can I use Postgres as a message queue? - How do I isolate tenant data in a multi-tenant SaaS on Postgres? - Can I use my own auth library or provider with a Supabase database? ## Notes - Links to the docs and the dashboard use absolute `https://supabase.com/...` URLs, so they also work on previews. - Related guides proposed in #50472, in case you'd rather merge or drop any of these: `increase-vector-lookup-speeds-by-applying-an-hsnw-index-ohLHUM`, `rls-simplified-BJTcS8`. --------- Co-authored-by: kodster28 <kody.jackson@supabase.io> |
||
|
|
552312507f |
fix(studio): storage policy footer (#52531)
## Problem Footer is hidden when reviewing a policy for storage. ## Solution The footer is now fixed and sticks so that the user can see the buttons at all times: <img width="1152" height="712" alt="Screenshot 2026-10-29 at 20 07 32" src="https://github.com/user-attachments/assets/87e97afd-fb33-4e63-a67d-fb9861449a20" /> Closes #52520 ## 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) |
||
|
|
30d618dc47 |
chore: remove small compute requirement from HIPAA docs (#52553)
Small compute add-on is no longer required. |
||
|
|
ab175516ba |
chore: Bump seroval vuln dependency (#52517)
Bumps `seroval` in the lockfile to a patched version, using `scripts/fix-audit-vulnerability.ts`. **Why** `pnpm audit` reports `seroval` as vulnerable (high). Advisories: GHSA-f86p-h4j2-7qgj, GHSA-9wx9-5pv9-3349, GHSA-97r2-qh9m-474h, GHSA-wp97-x4hv-qvhp and GHSA-7rv5-mrxv-xcr9 (code and script injection, and deserialization DoS). Patched in `>=1.6.11`. **Package and versions** - `seroval` 1.6.7 -> 1.6.12 - `seroval` 1.6.9 -> 1.7.2 Both versions are at or above the patched release. Only `pnpm-lock.yaml` changes (transitive dependency, no override needed). `pnpm audit` no longer lists `seroval`. **Validation** - `pnpm audit --json` has no `seroval` entry. - `pnpm --filter studio lint`: 0 errors. - `pnpm --filter studio typecheck`: the local sandbox ran out of memory (exit 137) twice, so it relies on CI. [FE-4819](https://linear.app/supabase/issue/FE-4819/bump-a-single-vulnerable-dependency) --------- Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com> Co-authored-by: tedd <tedd@users.noreply.github.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com> |
||
|
|
1915615dca |
fix: clamp Popover/Select/DropdownMenu content to viewport height (#49233)
## 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? Bug fix. ## What is the current behavior? Fixes #49155. The three dropdowns in the issue (Edge Function Logs Severity filter, and the two dropdowns in the "Add foreign key relationship" modal) all get clipped by the viewport with no way to scroll to the rest of the content, in some cases making buttons unreachable. All three share the same root cause: `PopoverContent`, `SelectContent`, and `DropdownMenuContent` in `packages/ui/src/components/shadcn/ui/` each cap their max height with either a hardcoded pixel value (`max-h-96`, `max-h-[300px]`) or nothing at all, instead of using the available-height CSS variable Radix's Popper already computes and exposes for exactly this purpose. When the real available space is smaller than the hardcoded cap, the content still renders at the larger size and overflows past the edge of the screen. ## What is the new behavior? Swapped the fixed `max-h-*` values for the matching `--radix-*-content-available-height` variable on all three components, and changed `overflow-hidden` to `overflow-y-auto` so any content that still doesn't fully fit gets an internal scrollbar instead of clipping off-screen. ## Additional context **On verification:** I wasn't able to get an actual visual click-through of this fix. Locally, `apps/design-system` (the component demo site) hits a known contentlayer2 issue on Windows that leaves every `/docs/*` page 404ing regardless of this change. The CI preview deployment for `design-system` did build successfully, but it's gated behind Vercel SSO (team-only), which I don't have access to as an external contributor. What I did verify directly: - `pnpm --filter=ui typecheck` passes clean. - The three CSS variable names I'm referencing (`--radix-select-content-available-height`, `--radix-popover-content-available-height`, `--radix-dropdown-menu-content-available-height`) are real — confirmed by reading the installed `@radix-ui/react-select`, `@radix-ui/react-popover`, and `@radix-ui/react-dropdown-menu` source directly, where each one aliases its own variable to the underlying `--radix-popper-available-height` that Popper computes. - Compiled the exact new classes through this repo's pinned Tailwind version (4.2.4) via `@tailwindcss/postcss` directly, and confirmed each one generates the expected rule, e.g. `.max-h-\(--radix-popover-content-available-height\) { max-height: var(--radix-popover-content-available-height); }` — so there's no syntax mistake in the arbitrary-value class. Happy to have someone with repo access check the design-system preview, or I can revisit this once I have another way to view it. There's also a fourth spot in the report — the Severity filter's option list (`packages/ui-patterns/src/FilterBar/DefaultCommandList.tsx`), which hardcodes its own `max-h-[300px]` on an inner div rather than the `PopoverContent` primitive directly. That div renders inside the now-fixed `PopoverContent`, so it may already be covered by this change since CSS custom properties inherit to descendants — but since I couldn't confirm that visually either, I've left it untouched for now rather than guess. --------- Co-authored-by: Drew McLellan <drew.mclellan@gmail.com> |
||
|
|
189ade6bc3 |
fix(reports): use minute buckets for short ranges DEBUG-95 (#52145)
## Problem The last 60 minutes in Shared API Report collapses requests, errors, response speed, and network traffic into hourly points. This affects the Data API, Auth, and Realtime reports using ClickHouse. ## Fix Choose minute buckets for short ClickHouse report ranges and retain hourly buckets for longer ranges. Existing preset consumers keep their hourly defaults, and route summaries retain their current behavior. ## How to test - Open Observability → Data API and select Last 60 minutes. With requests across the hour, the charts should show minute-level data. - Switch to Last 24 hours and confirm the charts retain hourly grouping. - Apply a report filter and confirm the charts and route summaries respect it. - Repeat the short-range check on Auth or Realtime. Validation: 80 focused report tests passed with retries disabled and shuffled order. The ClickHouse boundary tests failed when the 60-minute cutoff was deliberately broken, then passed after restoring the fix. Studio typecheck and changed-file formatting passed. Independent review found no issues. The ClickHouse behavior was verified in the preview: minute buckets for Last 60 minutes on Data API and Auth, hourly buckets for Last 24 hours, and route filtering on charts and summaries. Fixes https://linear.app/supabase/issue/DEBUG-95 |
||
|
|
e928d28e69 |
feat(ui-patterns): top nav menu (#52501)
## Problem - kb and docs each keep their own copy of the top bar menu and its buttons - the kb bar has no search box, and the docs bar has one on the right ## Solution - adds a shared top nav to `ui-patterns`, so kb and docs use one megamenu and one set of bar buttons - replaces the docs desktop dropdowns with the megamenu, so docs and kb show the same menu design - adds a heading to the first column of each docs menu, so the reader sees which group a list belongs to - adds the search box and a "sign up" button label to the kb bar, so it matches docs | state | preview | | -------|------| | before | <img width="1506" height="350" alt="image" src="https://github.com/user-attachments/assets/3045d400-4ac0-41d7-a94f-acc23fa919fa" /> | | after | <img width="1506" height="350" alt="image" src="https://github.com/user-attachments/assets/334e5130-611a-4eb7-a95a-c796e2bbcf80" /> | <!-- ## 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 kb and docs preview links above in desktop 2. on kb, hover "topics" and make sure that the panel opens under the bar 3. click the search box and make sure that the kb search dialog opens 4. on docs, open [/docs/guides/auth](https://docs-git-antlio-feat-shared-top-nav-supabase.vercel.app/docs/guides/auth) and make sure that the "products" label has an underline 5. open each docs menu and make sure that the first column has a heading 6. make sure that the menu button opens and closes the mobile menu in kb and docs ## 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) |
||
|
|
65217161af |
fix(studio): prevent ghost redirects on unmounted SignInPartner (#46594)
## 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? Bug fix ## What is the current behavior? Please link any relevant issues here: Resolves **#46593** There is a navigation race condition in `apps/studio/components/interfaces/SignIn/SignInPartner.tsx`. On mount, an IIFE fetches `auth.getSession()` and potentially `auth.signInWithIdToken()`. If the user navigates away from the page (unmounting the component) while these network promises are still pending, the `finally` or `else` blocks will still execute `router.replace()`. This forces an unintended "ghost redirect" that hijacks the user's active session and pulls them away from their current page. ## What is the new behavior? This PR introduces a standard `isMounted` flag to guard the asynchronous operations inside the `useEffect` hook. * A cleanup function now correctly flips the `isMounted` flag to `false` when the component unmounts. * An early exit `if (!isMounted) return` prevents unnecessary execution if the component is destroyed during the initial session fetch. * The `router.replace()` calls are now wrapped in `if (isMounted)` checks, ensuring that redirects only trigger if the component is still active in the DOM. ## Additional context This is an isolated frontend lifecycle patch. Local pre-flight checks (`pnpm typecheck`, `pnpm lint --filter=studio`, and `pnpm test:studio`) have all passed successfully. --------- Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com> |
||
|
|
fd8f75e578 |
fix(www): restore /features/* pages in sitemap after Next 16.4 adapter build (#52508)
<!-- claude-slack-attribution --> _Requested by **Pam Chia, Kody Jackson** · [Slack thread](https://supabase.slack.com/archives/C07P3AU3J2D/p1793284217443139)_ Since the Next 16.4.3 bump in #52438, https://supabase.com/sitemap_www.xml has no `/features/<slug>` URLs. `generate-sitemap.mjs` found them by globbing `.next/server/pages/features/*.html`, and adapter builds (as on Vercel) now write that HTML under `.next/server/route-cache/` instead, so the glob comes back empty. Local builds without an adapter still use the old path, which is why the sitemap looked fine locally. **Changed:** - **Feature pages are back in `sitemap_www.xml`**: the script reads the `/features/[slug]` routes from `.next/prerender-manifest.json`, which lists them in both build modes. If a Vercel build finds none, the sitemap step throws and fails the build instead of shipping a sitemap without them. - **Dead partner globs removed**: the three `.next/server/pages/partners/**` globs have matched nothing since partners moved to the App Router, so they and the `.next/server/pages` path handling are gone. **Note:** partner catalog detail pages (`/partners/catalog/<slug>`) are still in no sitemap. I removed the runtime partner sitemap an earlier commit added, because `/partners/catalog` has linked every listed partner in its server HTML since #51950, that sitemap carried no `lastmod`, and a marketplace query error would have produced an empty sitemap. I'll decide from crawler data whether those pages need a sitemap. ## To test Tested on the PR preview: - [x] Open `/sitemap_www.xml`, expect one `https://supabase.com/features/<slug>` entry per slug in `apps/www/data/features.tsx` (the live site currently has none). Every slug is present once, and every listed feature URL returns 200. - [x] Open `/sitemap.xml`, expect the index to list only the www, docs and kb sitemaps - [x] Open `/partners/catalog/sitemap.xml`, expect a 404 ## Linear - part of GROWTH-1401 --- _Generated by [Claude Code](https://claude.ai/code/session_01EXs9Z8YKWKFjEKKZBCe9ab)_ --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com> |
||
|
|
632989957b |
fix(pg-meta): pass encrypted FDW server options through format() as %L (#52540)
## What kind of change does this PR introduce? Bug fix ## What is the current behavior? `getCreateFDWSql` in `packages/pg-meta/src/sql/studio/database/fdw.ts` splices encrypted server option values into the `execute format(...)` statement as `''%s''`, filled from a PL/pgSQL variable that holds the Vault secret id. - `''%s''` relies on the secret id never containing a quote, and if the Vault lookup returns NULL it silently creates the server with an empty option value. - The update path in the same file already uses `%L` for this (`alter server ... options (add ... %L)`), so the create path was inconsistent with it. - Multigres's gateway only admits a runtime-built `EXECUTE` inside a PL/pgSQL body when `format()` uses `%I`/`%L` conversions. With `''%s''` it rejects the statement with `0A000: EXECUTE of a runtime-built statement inside a PL/pgSQL body is not supported`, so creating any wrapper that has an encrypted option (Slack, Stripe, ...) fails from Studio on a Multigres-backed project. Every other statement Studio's wrapper flows emit (create wrapper, secrets, foreign tables, import schema, all update and delete paths) already passes that check. ## What is the new behavior? The encrypted-option placeholder is `%L`, format()'s injection-safe literal conversion. A NULL secret id now renders as `NULL` and fails the `CREATE SERVER` instead of silently succeeding with an empty value, and the statement passes Multigres's gateway check. The unencrypted-option branch (already `%L`) and the update and delete builders are unchanged. The test that pinned the old placeholder now pins `%L`. ## Additional context `pnpm exec vitest run test/sql/studio/fdw.test.ts` in `packages/pg-meta`: 18 passed. Signed-off-by: Haritabh Gupta <20576107+haritabh17@users.noreply.github.com> |
||
|
|
57b659d47f |
docs: move slow and failing query logging to its own page (#52469)
Closes DOCS-1495 ## Problem The `log_min_duration_statement`, `auto_explain.*`, and `log_min_error_statement` sections of Postgres log configurations are split out as a part of the Information Architecture plan laid out in Option 1 of the [Docs navigation architecture proposal](https://app.notion.com/p/supabase/Q4-2027-Proposal-Docs-navigation-architecture-3f25004b775f81f49dbad710a732ef61). ## Solution - **Structure:** move `log_min_duration_statement`, `auto_explain.*`, and `log_min_error_statement` to `guides/observability/log-slow-queries`. Postgres log configurations keeps each heading and its anchor, with a one-sentence pointer. The page is in the Database sidebar after Postgres log configuration. - **Option 1 navigation:** the "Log slow and failing queries" entry in Run and manage points to the new page. The Option 1 test no longer expects the anchor. `/edit-the-docs` and `/test-the-docs` ran as well. - **Cross-links:** the Customizing Postgres config table links this guide from its `auto_explain.*`, `log_min_duration_statement`, and `log_min_error_statement` rows, and the intro links Query logs with SQL for searching the logs. ## Manual testing 1. Open [Log slow and failing queries](https://docs-git-docs-log-slow-queries-supabase.vercel.app/docs/guides/observability/log-slow-queries). See the slow queries, query plans, errors, and restore-defaults sections. 2. Open [Postgres log configurations](https://docs-git-docs-log-slow-queries-supabase.vercel.app/docs/guides/database/postgres/postgres-log-config#logmindurationstatement). See the heading with a one-sentence pointer to the new page. 3. In the Database sidebar, click **Log slow and failing queries**. See the new page open. |
||
|
|
e79adc4a42 |
docs: move leaked API key rotation to its own page (#52465)
Closes DOCS-1493 ## Problem The Rotate a leaked or compromised key section of API keys is split out as a part of the Information Architecture plan laid out in Option 1 of the [Docs navigation architecture proposal](https://app.notion.com/p/supabase/Q4-2027-Proposal-Docs-navigation-architecture-3f25004b775f81f49dbad710a732ef61). ## Solution - **Structure:** move `### Rotate a leaked or compromised key` to `guides/security/rotate-leaked-api-keys`. API keys keeps the heading and its `#leaked-key` id, with a one-sentence pointer. The page is in the Security sidebar under Guides, since its URL selects that sidebar. - **Option 1 navigation:** the "Rotate a leaked API key" entry in Run and manage, Security and compliance, points to the new page. The Option 1 test no longer expects the anchor. Run /test-the-docs and /edit-the-docs. ## Manual testing 1. Open [Rotate a leaked or compromised API key](https://docs-git-docs-rotate-leaked-api-keys-supabase.vercel.app/docs/guides/security/rotate-leaked-api-keys). See the create, replace, and retire sections, with Dashboard and Management API tabs. 2. Open [API keys](https://docs-git-docs-rotate-leaked-api-keys-supabase.vercel.app/docs/guides/getting-started/api-keys#leaked-key). See the heading with a one-sentence pointer to the new page. 3. In the Security sidebar under Guides, click **Rotate a leaked or compromised API key**. See the new page open. |
||
|
|
76f3d06a8b |
docs: add Test Row Level Security policies with pgTAP guide (#52344)
Closes DOCS-1499 ## Problem The testing overview teaches RLS tests, in pgTAP and from application code, in sections that have grown into their own task. ## Solution This goes above and beyond the initial ask, which was just to move a section into a new topic. Because I was here anyway, I aimed to improve the experience and improve our RLS Evals score on tests. A companion Evals PR will split out a new Eval for the new topic, migrating the checks that were in the RLS guide. Some fixes are also included from running our docs skills, including: - **Structure:** move the pgTAP example and the Application-Level testing section to `guides/database/postgres/testing-row-level-security`. The overview keeps both headings, each with a short pointer. The "RLS policies testing" nav entry points to the new page, and so does "Test RLS policies with pgTAP" in the Option 1 nav. - **Style:** a value-statement opener, lowercase SQL, and the command split from its output. - **Technical fixes:** test 2 asserts the `returning` value. Test 4 uses `is_empty`. The output is the output `supabase test db` prints. - **Additions:** `supabase start`, the table as a migration applied with `supabase db reset`, and two sentences on how the test isolates its data and user. A note for readers who use an agent to write their tests, linking to a `## Write quality tests with agents` reference section. One sentence in the RLS guide's `### Run the test suite` links to that section. ## Review instructions 1. Open [Test Row Level Security policies with pgTAP](https://docs-git-docs-test-rls-pgtap-supabase.vercel.app/docs/guides/database/postgres/testing-row-level-security) on the preview. See five steps and a passing `Tests=4` output. 2. Open [Testing overview](https://docs-git-docs-test-rls-pgtap-supabase.vercel.app/docs/guides/local-development/testing/overview#database-unit-testing-with-pgtap). See the heading with a one-sentence pointer to the new page. 3. In the sidebar under Local development, Testing, click **RLS policies testing**. See the new page open. 4. On the [Testing overview](https://docs-git-docs-test-rls-pgtap-supabase.vercel.app/docs/guides/local-development/testing/overview#application-level-testing), click **Test the policy from your application**. See the TypeScript suite on the new page. 5. On the new page, click **Write quality tests with agents** in the agent note's prompt. See the five rules for agents near the bottom of the page. 6. On [Row Level Security](https://docs-git-docs-test-rls-pgtap-supabase.vercel.app/docs/guides/database/postgres/row-level-security#run-the-test-suite), click **Write quality tests with agents** under Run the test suite. See the new page open at that section. 7. Open the [Database guides with the Option 1 nav](https://docs-git-docs-test-rls-pgtap-supabase.vercel.app/docs/guides/database/overview?docs-ia-mvp-v1=option-1). Under Row Level Security, roles and Vault, click **Test RLS policies with pgTAP**. See the new page open. |
||
|
|
aec7aed134 |
ci(docs): fail PRs that remove a linked guide section (#52100)
Closes DOCS-1486 ## Problem Agents are slow to update what they remember about the docs, and nothing protects a section when it moves to another page. This leaves a trail when sections move: the PR fails unless the heading stays with a summary and a link to where the content went. ## Solution A new `Docs removed anchors` workflow runs `pnpm check:removed-anchors` from `apps/docs`. - **What it compares:** H2 and H3 anchors between the base branch and the PR, only on changed guide pages and pages that include a changed partial. Partials are expanded, nested ones too. - **When it fails:** a file anywhere in `apps`, `packages`, or `examples` still links to a removed anchor. That covers docs content, Studio, www and the blog, and kb, plus same-page `#anchor` links. Test files and generated output are skipped. The failure names each anchor and every linking `file:line`, and annotates those lines. - **How anchors are computed:** with `getAnchor` from `packages/ui`, the same function that sets rendered heading ids, so `## Title [#custom-id]` matches on the custom id. - **Bypass:** the `skip-anchor-check` label turns the errors into warnings and passes the check. The failure message names the label and the fixes. - **No `paths` filter:** a required check whose workflow never starts leaves unrelated PRs waiting. The job runs on every PR and exits before installing anything when docs content is unchanged. Out of scope: deleted or moved pages, and links from outside this repo. The workflow checks out text files across `apps`, `packages`, and `examples`, and skips images and video, so the search doesn't download them. The check only blocks merges once it's a required status check on `master`. That needs a repo admin. ## Skip the check For a deliberate removal: 1. Add the `skip-anchor-check` label to the PR. 2. The check re-runs and passes. The links it would have failed on show as warnings. Remove the label to turn the check back on. ## Manual testing 1. From `apps/docs`, delete `[#leaked-key]` from the heading in `content/guides/getting-started/api-keys.mdx`. 2. Run `pnpm check:removed-anchors`. It exits 1 and names `troubleshooting/rotating-anon-service-and-jwt-secrets-1Jq6yd.mdx:39`. 3. Run `PR_LABELS='["skip-anchor-check"]' pnpm check:removed-anchors`. It prints the same report and exits 0. 4. Run `pnpm vitest run scripts/check-removed-anchors.test.ts`. All tests pass. |
||
|
|
3d76559cec |
chore(studio): remove logs.all deprecation banner (#52491)
## Problem The `logs.all` Management API endpoint retired on September 23, and the deprecation banner stopped rendering on September 24 because of its hardcoded expiry. The banner's code is now dead weight in the bundle. Resolves GROWTH-1104. ## Solution Removes the banner and everything it pulled in: - Deletes `BannerLogsAllDeprecation.tsx`, plus its mount effect, expiry timer, and exposure tracking in `AppBannerWrapper.tsx`. - Removes `isLogsOrObservabilityPath` (only this banner used it) and its tests. - Removes `BANNER_ID.LOGS_ALL_DEPRECATION`. `BannerStackProvider.test.tsx` used it as an arbitrary ID, so those tests now use `BANNER_ID.EXPLORER`. The tests themselves are unchanged. - Removes the `LOGS_ALL_DEPRECATION_2026_09_23` local storage key and the two `logs_all_deprecation_banner_*` telemetry events. The dismissal key stays in users' browsers, which is harmless because nothing reads it anymore. ## Review instructions 1. Open a project's Logs or Observability page on the preview and confirm no `logs.all` notice appears and the page renders normally. 2. Open an organization's landing page and confirm the Terms of Service banner still behaves as before. ## 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) |
||
|
|
9e3471dcbb |
docs(storage): add information about rotating url signing keys (#52522)
## Problem No docs for self-serve storage url signing key rotation ## Solution Add docs for self-serve storage url signing key rotation via dashboard |
||
|
|
804a3c0969 |
chore(docs) - add in unique titles where appropriate (#52452)
## Problem Dupe titles in docs. ## Solution Adds unique titles where appropriate + high confidence. ## Preview links | Before | After | |---|---| | [Database Migrations \| Supabase Docs](https://supabase.com/docs/guides/deployment/database-migrations) | [Deploy Database Migrations \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/deployment/database-migrations) | | [Database Migrations \| Supabase Docs](https://supabase.com/docs/guides/local-development/database-migrations) | [Local Database Migrations \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/local-development/database-migrations) | | [Limits \| Supabase Docs](https://supabase.com/docs/guides/storage/uploads/file-limits) | [Storage Upload Limits \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/storage/uploads/file-limits) | | [Limits \| Supabase Docs](https://supabase.com/docs/guides/functions/limits) | [Edge Functions Limits \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/functions/limits) | | [Error Codes \| Supabase Docs](https://supabase.com/docs/guides/storage/debugging/error-codes) | [Storage Error Codes \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/storage/debugging/error-codes) | | [Views \| Supabase Docs](https://supabase.com/docs/guides/database/views) | [Database Views \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/database/views) | | [Self-Hosting \| Supabase Docs](https://supabase.com/docs/reference/self-hosting-auth/introduction) | [Self-Hosting Auth \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/reference/self-hosting-auth/introduction) | | [Supabase Docs](https://supabase.com/docs/reference) | [Supabase API references ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/reference) | --------- Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com> |
||
|
|
ff12dda7ea |
refactor(kb): read og image function url from env (#52182)
## Problem - #52096 adds the kb og image with the function url of the misc project written in `Layout.astro` ## Solution - replaces the url in `apps/kb/src/layouts/Layout.astro` with `MISC_URL` - adds `MISC_URL` to `apps/kb/.env.example` <!-- ## 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 Provide a clear numbered procedure that the PR reviewer can walk through. 1. visit /kb 2. inspect og image ## 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) |