Commit Graph
1296 Commits
Author SHA1 Message Date
anthony lio b610d677c5 feat(www): lw16 launch week rewrite (#54315)
## Problem

- supabase.com/launch-week shows the lw15 page, and the lw16 card app
runs as a separate vercel app
- a forward rule for all of `/launch-week/*` also covers the www pages
of past launch weeks, and www does not add its security headers to
forwarded paths

## Solution

- moves the lw15 page to `/launch-week/15`
- adds rewrites that forward `/launch-week` and its other paths to the
lw16 card app at `launch-week-16.vercel.app/launch-week/`
- changes the root rule to target `/launch-week/` directly because www
removes the trailing slash and the app adds it, a loop otherwise
- keeps `/launch-week/7`, `/8`, `/15`, `/ticket` and `/tickets/*` on www
with the www security headers
- adds the launch week paths to the security header tests
- adds `/launch-week` to the paths that the redirect checks leave to
other apps

## Preview links

| Site | Live | Preview | Search for |
| ---- | ---- | ------- | ---------- |
| WWW | [/launch-week](https://supabase.com/launch-week) |
[/launch-week](https://zone-www-dot-com-git-antlio-lw16-launch-week-rewrite-supabase.vercel.app/launch-week)
| Claim your card |
| WWW | [/launch-week/15](https://supabase.com/launch-week/15) |
[/launch-week/15](https://zone-www-dot-com-git-antlio-lw16-launch-week-rewrite-supabase.vercel.app/launch-week/15)
| Launch Week 15 |

## Review instructions

1. run `pnpm --filter www exec vitest run lib/security-headers.test.ts`
and make sure that all tests pass
2. open the preview
[/launch-week](https://zone-www-dot-com-git-antlio-lw16-launch-week-rewrite-supabase.vercel.app/launch-week)
and make sure that the lw16 card page loads with no redirect loop
3. open the preview
[/launch-week/](https://zone-www-dot-com-git-antlio-lw16-launch-week-rewrite-supabase.vercel.app/launch-week/)
and make sure that www redirects it to `/launch-week` once

## 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-12-01 14:45:55 -06:00
Charis fd01db4691 feat(www): send pageview and global crash metrics on preview (#54425)
## Problem

Studio sends pageview and global crash counters to the frontend metrics
endpoint on non-production deployments (#54331), and docs is getting the
same in #54424. The marketing site sends neither.

## Solution

Port the same implementation to `apps/www`:

- **Gate**: the existing `IS_PREVIEW` constant (`NEXT_PUBLIC_VERCEL_ENV
=== 'preview'`). Nothing is sent in production or local dev.
- **Sender**: `lib/frontend-metrics.ts`, the same fire-and-forget
`text/plain` POST as Studio, tagged `app: 'www'`.
- **Pageview**: `usePageviewMetric` sends one count on hydration and on
each pathname change, and skips while the pathname is not yet available.
It is mounted once per router: through a small client component in
`app/layout.tsx`, and directly in `pages/_app.tsx`. A page is served by
only one router, so it is never mounted twice.
- **Crash**: `app/global-error.tsx` sends one `global_crash` per error
object. `pages/_error.tsx` sends one when the status code is unset or
5xx, so 404s and other 4xx responses are not counted.

No CSP change is needed because www does not set a
Content-Security-Policy. No turbo change is needed because the www build
env already passes `NEXT_PUBLIC_*`.

## Additional context

`app/global-error.tsx`, `pages/_error.tsx`, and
`lib/frontend-metrics.ts` use relative imports because the
`sentry-browser` vitest project, which renders the two error files, has
no path-alias resolution.

## Review instructions

1. Open the www preview deployment for this PR with the network tab
open.
2. Load an app-router page and a pages-router page. Confirm each sends
one POST to the metrics endpoint with `metric_name: "pageview"` and
`app: "www"`.
3. Navigate client-side and confirm one more POST per pathname change.
4. In `apps/www`, run `pnpm exec vitest run lib/frontend-metrics.test.ts
hooks/usePageviewMetric.test.tsx` and `pnpm exec vitest run --project
sentry-browser`.
2026-12-01 12:15:58 -05:00
claude[bot] 5be070974d Add Data Processing Addendum v2 (effective December 1, 2026) (#54301) 2026-12-01 09:59:17 +01:00
claude[bot]andClaude 9a25d270f4 docs(legal): Privacy Policy v6 (telemetry cookies, California opt-out, subprocessors) (#54090)
<!-- claude-slack-attribution -->
_Requested by **Drew McLellan**, **Ali Waseem** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1795452919979329?thread_ts=1795452919.979329&cid=C0161K73J1J)_

## Problem

**Before:** The latest Privacy Policy is Version 5 (effective November
2, 2026). Its cookie table has no entries for the extra PostHog
telemetry (session replay), Usercentrics, ConfigCat, Stape, Vercel or
LinkedIn, and it lists Fly.io and Tableau as recipients.

## Solution

**After:** Adds Privacy Policy Version 6 as
`apps/www/data/legal/privacy/v6.mdx` (a copy of v5 plus the changes
below) and registers it first in the `versions` list in
`apps/www/pages/privacy.tsx`, effective **November 25, 2026** (confirmed
by Legal). v1 to v5 stay available in the version switcher.

This publishes Legal's updated policy (Sofia Calado, "Supabase Privacy
Policy version Nov 25, 2026.docx") so the policy text covers the extra
PostHog telemetry the team needs to collect.

**How:** Changes applied from the docx (tracked changes plus two
untracked edits; the chapter 3 opt-out edit was withdrawn by Legal),
wording kept as written by Legal:

1. Intro: removed the duplicated `"personal information",`.
2. California bullet: the "You can manage your preferences" sentence is
replaced by a new paragraph on "sale"/"sharing" with advertising
partners, the opt-out route (Privacy Settings or privacy@supabase.com)
and Global Privacy Control.
3. User Content: "AI-powered support tools" becomes "AI-powered
services".
4. EEA recipients tables: removed Fly.io (5 tables) and Tableau (3
tables) from the service provider lists; "we may share..." in the law
enforcement row now starts with a capital W.
5. Cookie table (chapter 8): new rows Usercentrics, Vercel (untracked in
the docx, Legal comment: "This is also a new line."), ConfigCat,
Supabase (replaces `_sb_first_referrer`), Stape, PostHog session replay
(30 days) and LinkedIn; YouTube moved from Strictly necessary to
Functional; Cloudflare cookie names added (`_cf_bm`, `__cflb`); Stripe
purpose reworded to "To detect and prevent..." on all three rows; Google
Analytics 4 and Google Ads purposes and cookie names updated; "Google
ads" replaces "one of our ads".
6. Text after the table: adds "We use Functional cookies to help the
Site work more smoothly and consistently." and drops "and, where
applicable, to deliver personalized ads" (an untracked edit in the
docx).

Skipped as docx export artifacts: the "Supabase Pte. Ltd. | Source"
header line, "Contents" list wording, "(at the end of this document)"
instead of the anchor link, heading capitalization/trailing period,
whitespace-only tracked edits ("available here"), curly quotes. Typo
fixed: the docx drops the space in "prevent fraudulent" and in
`"personal information" or`.

Chapter 3 (Modifying Account Information) is unchanged from v5 per
Legal: the consent sentence about sharing data with third-party partners
for AI-powered services stays as it was, so the redline's opt-out
wording is not applied.

Confirmed by Legal: the effective date. The Usercentrics, ConfigCat,
Stape and LinkedIn cells are linked to the vendor policies Legal
supplied; the Supabase row's "This Privacy Policy applies" intentionally
has no extra link (it refers to this policy).

Cloudflare cookie name corrected to `__cflb` (the docx had a stray
space; confirmed by Legal).

The third Stripe row (2 years) was also reworded to "To detect and
prevent fraudulent payments and transactions." to match the other two
(confirmed by Legal). Nothing is left unconfirmed.

## Review instructions

1. Diff `apps/www/data/legal/privacy/v6.mdx` against `v5.mdx` (ignore
table column padding from the formatter) and check it matches the list
above.
2. Check `apps/www/pages/privacy.tsx` lists Version 6 first with
November 25, 2026.
3. Open the Vercel preview of `/privacy` and confirm v6 renders
(California bullet, cookie table) and the switcher still shows v5 to v1.
I could not open previews from the agent session.

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] N/A: no docs topic written or edited (legal page content only)

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

https://claude.ai/code/session_01VBvtQX8X7t7w71qMkTvoXp

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-26 10:16:47 +00:00
Alaister YoungandAlaister Young d6e4089b1a feat(common): add FrameworkProvider and remove next imports (#53905)
Introduces a lightweight `FrameworkProvider` React context in
`packages/common` (`Link`, `Image`, `pathname`, `asPath`, `isReady`,
`params`, `push`), wires it up in the consuming apps, and removes the
`next` dependency from `packages/common`.

**Added:**

- `FrameworkProvider`, `useFramework`, `FrameworkLink`, and
`FrameworkImage` in `packages/common/framework.tsx`, with plain HTML
defaults (`DefaultFrameworkLink` / `DefaultFrameworkImage`).
`useFramework().push` always exists and falls back to
`window.location.assign`
- App-level framework providers wiring `next/link`, `next/image`, and
router state in `www` (App + Pages routers), `docs`, `design-system`,
`learn`, and `ui-library`, and native TanStack Router bindings in
`studio` (`StudioFrameworkProvider`)
- `StudioFrameworkProvider` reuses the common defaults (its image only
applies the basePath) and reports `isReady` once the first route load
commits, so the first page view carries the final route after any
redirect
- Unit tests for `StudioFrameworkProvider` (`useParams`,
`FrameworkLink`, `FrameworkImage`, query/hash-only navigation,
`isReady`) and for `PageTelemetry` route-change sends and the
`TelemetryTagManager` consent gate

**Changed:**

- `common/hooks/useParams.ts`: read params from `useFramework()` instead
of `next/compat/router`
- `common/telemetry.tsx`: replace `next/script` in `TelemetryTagManager`
with `useEffect` script injection, and read route state from
`useFramework()` in `PageTelemetry`
- `common/MetaFavicons/app-router.ts`: drop type-only `Metadata` import
from `next`
- Moved `MetaFaviconsPagesRouter` to
`apps/www/components/MetaFaviconsPagesRouter.tsx` (its sole consumer)
- Studio: `toRoutePattern` and `applyBasePath` now live once in
`lib/internal-url.ts`, shared by the provider and the `compat/next`
shims
- `PageTelemetry` throws outside production when no `FrameworkProvider`
is mounted, since it would otherwise send only the landing pageview.
`useFramework()` itself still falls back to the defaults
- `ui-library`: renamed its code-sample framework context to
`FrameworkPreferenceProvider` / `useFrameworkPreference` so
`FrameworkProvider` only means the `common` one

**Removed:**

- `learn`'s unused copy of that context (`useCourse` had no callers)

- `next` from `packages/common/package.json` peerDependencies

App Router adapters set `asPath` to the pathname only, same as the
`usePathname`-based telemetry on master (reading search params at the
root would opt static pages out of static rendering).

## To test

- Run `packages/common` tests and typecheck, and `apps/studio`
`StudioFrameworkProvider` / `route-render` / `telemetry` tests
- Navigate between routes in Studio, Docs, and WWW and confirm page
telemetry fires once per navigation (and does not duplicate on hash-only
changes)
- Load Studio at `/` (which redirects) and confirm the first page event
has the final route
- Verify URL params (`useParams`) continue resolving route and search
params in Studio

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-11-25 20:13:22 +08:00
supabase-vercel-tedd[bot] 1f6ee9e8b9 chore(www): replace markdown-toc with the local TOC helper to drop vulnerable toml (#53879)
## Problem

`markdown-toc@1.2.0` (its latest release) depends on
`gray-matter@2.1.1`, which pins `toml@^2.3.2`. That leaves `toml@2.3.6`
in the lockfile, and `pnpm audit` flags it with several high-severity
advisories (fixed in `>=5.0.1`). Neither parent has a release that moves
off toml 2.x, so a lockfile-only bump or a temporary override can't
remove it.

## Solution

The customer story (`/customers/[slug]`) and alternatives
(`/alternatives/[slug]`) pages built a `toc` prop at build time, but
neither page nor `LayoutComparison` ever read it. This PR removes that
prop, the `markdown-toc` dependency, and `apps/www/lib/toc.ts`, which
had no other callers. With `markdown-toc` gone from
`apps/www/package.json`, `gray-matter@2.1.1` and `toml` leave the
dependency tree. www keeps using `gray-matter@4.0.3` directly. The
lockfile change only removes entries.

## Review instructions

1. Run `pnpm why toml --recursive` and check it finds no `toml`.
2. Run `pnpm tsx scripts/fix-audit-vulnerability.ts --json` and check
`toml` is not in `vulnerabilities`.
3. Open a customer story on the preview, for example
`/customers/asap-work`, and an alternatives page, for example
`/alternatives/supabase-vs-auth0`. Each page builds and renders as it
does on production.

Checks run: `pnpm install --frozen-lockfile`, `pnpm run typecheck` in
`apps/www` (next typegen + tsc), eslint on both changed pages (no
errors), and `oxfmt --check` on the changed files.

## 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)


[FE-5192](https://linear.app/supabase/issue/FE-5192/bump-a-single-vulnerable-dependency)

## Feedback for Tedd

To ask Tedd for a change to this PR, reply in Tedd's session on
[FE-5192](https://linear.app/supabase/issue/FE-5192/bump-a-single-vulnerable-dependency).
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-24 16:44:02 +01:00
anthony lio d885fc7458 feat(www): shared account menu (#53666)
## Problem

- www keeps its own copy of the account menu items separate from the
shared top nav menu in kb and docs
- www header buttons stay hidden until auth loads and the mobile menu
shows no account links during that time
- on app router page such as the home page sign out does not reload the
page

## Solution

- moves the www desktop account menu onto the shared top nav menu so www
docs and kb show the same account items
- fixes "Command Menu" shortcut label to follow the platform, so windows
and linux readers see "Ctrl K"
- changes the header and the mobile menu to read the signed-in mark
while auth loads
- moves the mobile menu account links onto the shared mobile actions, so
www, docs and kb use one component
- changes the desktop "Sign in" links to open the sign-in page, so
desktop and mobile open the same page
- fixes sign out on app router pages so the page reloads after sign out
on every page

<!--
## 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
[homepage](https://zone-www-dot-com-git-antlio-fix-www-shared-account-menu-supabase.vercel.app/)
2. open the browser console, and run this snippet, which stores a fake
dashboard session with no real token:
   ```js
const user = { id: 'test', aud: 'authenticated', email:
'you@example.com', user_metadata: { avatar_url:
'https://github.com/supabase.png' } }
   const key = 'supabase.dashboard.auth.token'
localStorage.setItem(key, JSON.stringify({ access_token: 'a.b.c',
refresh_token: 'r', token_type: 'bearer', expires_in: 3600, expires_at:
Math.floor(Date.now() / 1000) + 3600, user }))
   localStorage.setItem(`${key}-user`, JSON.stringify({ user }))```
3. reload the page

## 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-24 16:08:54 +02:00
claude[bot]andClaude d6c9751f16 legal: add Supplemental Terms version 2 (November 24, 2026) (#53944)
<!-- claude-slack-attribution -->
_Requested by **Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1795524649703999)_

**Before:** The hidden Supplemental Terms page
(`/legal/customer-resources/supplemental-terms`) lists only Version 1
(October 27, 2026).

**After:** The page lists Version 2 (November 24, 2026) first, with
Version 1 still available in the version list. The page remains unlinked
from navigation and `noindex`/`nofollow`.

Adds version 2 of the Supplemental Terms (Germany: Professional Secrecy)
from the supplied Word file.

**How:** The docx was converted with `pandoc -f docx -t gfm --wrap=none`
and written to `v2.mdx` following the v1 conventions (Heading 1 becomes
`##`, Heading 2 becomes `###`, no title heading, no `_Last Modified:_`
line, the Google Form link kept as `[url](url)`). Text is verbatim from
the source. `supplemental-terms.tsx` imports `V2` and adds it as the
first entry in `versions`; the v1 entry is unchanged.

## Review instructions

1. Open the preview at `/legal/customer-resources/supplemental-terms`
and confirm Version 2 is the default and Version 1 is selectable.
2. Compare `v2.mdx` against the source docx for text accuracy.

---
_Generated by [Claude Code](https://claude.ai/code)_

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-24 13:09:59 +00:00
Alaister YoungandAlaister Young fcbdda8107 chore: migrate formatter from Prettier to oxfmt (#53835)
Migrate code formatting across the monorepo from Prettier to `oxfmt`
(`0.79.0`, pinned) for much faster formatting checks locally and in CI
while keeping code churn minimal (78 files total, 0.7% of the repo).

Studio's `@ianvs/prettier-plugin-sort-imports` ordering
(`<BUILTIN_MODULES>`, `<THIRD_PARTY_MODULES>`, blank line, then `@/` and
relative imports) is preserved via `oxfmt`'s native `sortImports`
override for `apps/studio/**/*.{js,jsx,ts,tsx}`.

### Performance (before vs after, uncached)

| Benchmark | Prettier (`3.8.x`) | oxfmt (`0.79.0`) | Speedup |
| --- | ---: | ---: | ---: |
| CI formatting step (`blacksmith-4vcpu-ubuntu-2404`, full repo) | `73s`
| **`7s`** | **~10×** |
| Local `apps/studio` JS/TS (`5,157` files) | `17.74s` | **`0.36s`** |
**~49×** |
| Local full monorepo (`11,131` files) | — | **`2.39s`** | — |

**Added:**

- `.oxfmtrc.jsonc` at repo root with Prettier-matching options,
`sortPackageJson: false`, the Studio `sortImports` override, and ignore
patterns migrated from `.prettierignore`
- `oxfmt` (`0.79.0` exact pin) in `pnpm-workspace.yaml` catalog and
workspace `devDependencies` / `dependencies`
- Shared `.agents/scripts/format_and_lint.sh` hook script and
`.agents/hooks.json` (used by both Claude Code and Antigravity)

**Changed:**

- Replaced `test:prettier` with `format:check` and switched `format` in
root `package.json` to `oxfmt`
- Updated `packages/api-types` (`codegen`,
`verify-production-types.mjs`), `apps/design-system` (`build:registry`),
`apps/docs` (`CodeSample.ts`, `generate-sitemap.ts`, `next.config.mjs`,
`spec/Makefile`), `apps/www` (`generate-sitemap.mjs`), and
`packages/build-icons` (`generateIconFiles.mjs`) from Prettier to
`oxfmt`
- Updated `.github/workflows/prettier.yml` (keeping the `format` job ID
intact), `.github/workflows/autofix_linters.yml`,
`.claude/settings.json`, `AGENTS.md`, `CONTRIBUTING.md`, and
`.github/copilot-instructions.md`
- Applied one-time `oxfmt` formatting pass in a separate commit (78
files: 30 `i18n/README.*.md` trailing spaces, 19 Studio files, 17 other
TS/TSX/generated types, 8 MD/MDX, 3 `package.json`, 2 example CSS files)

**Removed:**

- `prettier`, `@ianvs/prettier-plugin-sort-imports`, and
`prettier-plugin-sql-cst` from `devDependencies` (note: `.sql` files
were not part of the CI formatting glob; `eslint-config-prettier` is
kept for ESLint)
- `prettier.config.mjs`, `.prettierignore`, and
`.claude/scripts/format_and_lint.sh`

## To test

- Run `pnpm run format:check` and confirm it passes cleanly across all
matched files
- Run `pnpm --filter api-types test`, `pnpm --filter docs exec vitest
run features/directives/CodeSample.test.ts`, and `pnpm --filter www exec
vitest run generate-sitemap.test.ts`
- Edit an `apps/studio` file with out-of-order imports and run `pnpm run
format` to confirm builtin/third-party vs `@/`/relative grouping matches
prior behavior
- Check that the `Check Code Formatting` CI workflow passes on this PR

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-11-24 12:51:31 +08:00
Kody JacksonandClaude Sonnet 5.5 dcd494e101 chore(www) - allow indexing of 2 solutions pages (#53644)
## Problem

Several pages seem to have indadvertant `noindex, no-follow` robots
declarations via meta tags.

## Solution

Removes these.

## Preview

<img width="1024" height="670" alt="image"
src="https://github.com/user-attachments/assets/e0d6e42d-673b-40d4-b9b9-99b0307a1f62"
/>


https://zone-www-dot-com-git-kody-devrel-877-index-solu-b2f540-supabase.vercel.app/solutions/hackathon

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 08:49:15 -06:00
claude[bot]andClaude 7637c6d5ee docs(www): update SLA agreement reference and hide from Legal Hub (#53618)
<!-- claude-slack-attribution -->
_Requested by **Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1795012270095809)_

**Before:** The SLA page (`/sla`) opened by incorporating "the
Subscription Agreement between Supabase, Inc. and Customer" for
"Enterprise Customers", and it was listed under Customer Legal Resources
on the Legal Hub and indexable by search engines.

**After:** The SLA page incorporates the Enterprise SaaS Subscription
Agreement (linked at https://supabase.com/enterprise-terms, or such
other agreement entered into between Supabase and Customer) and applies
to "Customers subscribed to an Enterprise Plan". The page is no longer
listed on the Legal Hub and is `noindex, nofollow`, so it is reachable
only by direct URL, like `/enterprise-terms`.

Updates the SLA preamble wording as provided by Legal and hides `/sla`
from the Legal Hub and search engines.

## Solution

- `apps/www/data/legal/sla/v1.mdx`: replaced the opening paragraph with
Legal's wording. The text is unchanged except that the quoted term uses
straight quotes (`the "Agreement"`) to match the rest of the file. The
URL is a bare URL, which remark-gfm autolinks, the same way
`enterprise-terms` MDX does. The SLA is a single `v1.mdx` with no
version selector or effective date, so it is edited in place and no
versioning is introduced.
- `apps/www/pages/legal/index.tsx`: removed the SLA entry from the
Customer Legal Resources links, the same way `/enterprise-terms` is
absent from the hub.
- `apps/www/pages/sla.tsx`: added `noindex: true` and `nofollow: true`
to the `NextSeo` meta, plus a short comment matching the one in
`supplemental-terms.tsx`.
- `apps/www/next.config.mjs`: added an `X-Robots-Tag: noindex, nofollow`
header rule for `/sla`, next to the existing `/enterprise-terms` rule.

Other pages that link to `/sla` (the Support Policy and a few docs
guides) are intentionally unchanged, since direct links keep working.
`generate-sitemap.mjs` has no exclusion for `/enterprise-terms`, so none
was added for `/sla` either.

## Review instructions

1. Open `/legal` on the preview and confirm Service Level Agreement is
no longer listed under Customer Legal Resources.
2. Open `/sla` on the preview and confirm the first paragraph matches
the new wording and that "https://supabase.com/enterprise-terms" is a
working link.
3. Check the `/sla` response has `X-Robots-Tag: noindex, nofollow` and
the page has a `noindex, nofollow` robots meta tag.

## 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 by [Claude
Code](https://claude.ai/code/session_01VBvtQVPkbcDz2ojrwur2SF)_

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
2026-11-19 12:12:17 +00:00
Kody JacksonandClaude Sonnet 5.5 647717417e chore(www) - Update 301 destinations to final resolution + fix some 404s (#53556)
## What

Updates links in `apps/www` that pointed at redirecting URLs so they
point at the final destination, and fixes a few broken links:

## Testing

- Every replacement destination was requested and returns 200 with no
further redirect
- Prettier passes on all changed files
- Content and data changes only, apart from the one-line `/vector` fix
in `MagnifiedProducts.tsx`

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:17:57 -06:00
hallidayo e8462dea29 fix(www) - careers location button overflow (#53554)
## Problem

Supabase www - [Careers](https://supabase.com/careers)

The location button overflows when on a mobile device when looking at
the careers page:

<img width="351" height="615" alt="Screenshot 2026-11-17 at 19 36 52"
src="https://github.com/user-attachments/assets/cba8d07e-d3ed-49f1-975b-4850df768545"
/>


## Solution

Shrink the location button so the row remains on one line:

<img width="351" height="615" alt="Screenshot 2026-11-17 at 19 37 07"
src="https://github.com/user-attachments/assets/aeec0b2b-00c0-4649-8014-1c59c843fec1"
/>
2026-11-18 10:27:42 +09:00
Kody Jackson e0816d183d chore(www) - tweaks for conversion on products / feature pages (#53173)
## Problem

Low conversion rate for high SEO traffic pages (`/database`,
`/features/sql-editor`, etc).

## Solution

- For product pages, changing the button variant for `Start your
project` to be `primary`, more visually eye-catching. This is the
primary human CTA for the page, so should stand out more.
- For `feature` pages, adding a manually specified line delimiter where
we can inject a CTA button. Again, these are the primary purpose of the
page for human readers, `hey, go try out this thing`, so we should
optimize for this a bit more. We'd likely want to take a different
approach if we apply this to _all_ feature pages, but this seems fine
for an initial test here.

Also, while I was in here, added a bunch of empty `blogURL` values for
feature pages.

## Preview links

### product pages


https://zone-www-dot-com-git-kody-devrel-822-sql-editor-8236e1-supabase.vercel.app/database
<img width="1219" height="541" alt="Image"
src="https://github.com/user-attachments/assets/67708db7-615f-4bba-aeeb-8647222ea2f3"
/>

### feature pages


https://zone-www-dot-com-git-kody-devrel-822-sql-editor-8236e1-supabase.vercel.app/features/sql-editor

<img width="1219" height="968" alt="Image"
src="https://github.com/user-attachments/assets/bbf69d91-0316-47c8-a279-a5d41131f830"
/>
2026-11-10 08:13:03 -06:00
Pamela Chia d862ac18f2 feat(telemetry): stamp the app's platform on every event (#53078)
Every first-party PostHog event now carries a `platform` property naming
the supabase.com app that sent it. Each app passes its directory name
(`studio`, `www`, `docs`, `kb`, `learn`, `ui-library`) once at telemetry
setup, and I stamp it on both send paths.

**Changed:**
- **Events sent through the Management API**
(`/platform/telemetry/event`): `buildTelemetryEventRequest` adds
`platform` to `custom_properties`. This also covers kb's search events,
which build the request without `sendTelemetryEvent`.
- **Events sent by posthog-js** (pageviews, page leaves, identify,
experiment exposures): a `before_send` hook stamps `platform` at send
time.
- **App setup**: `PageTelemetry` takes a required `platform` prop, and
kb's island sets the value directly. While unset, the property is left
off instead of defaulting to an app.

**Note:** I used `before_send` instead of `posthog.register()`. Super
properties persist in localStorage, which every supabase.com app shares,
so events sent before `register()` runs would carry the previous app's
value.

**Do not merge yet.** Studio's `trackFeatureFlag` body still needs
`platform`. That commit waits for the Management API change that accepts
the field to reach production, plus an `api-types` regen. The flag-track
body is strict, so sending `platform` early returns 400 on every flag
call.

## To test

On each app's preview, accept cookies and add `?__posthog_debug=true` to
the URL.

- [x] Studio: load a page, expect `$pageview` with `properties.platform:
"studio"` (seen at ingestion: the staging PostHog project has
`$pageview` and `$pageleave` events from the studio-staging preview
host, all with `platform: "studio"`)
- [x] www: load the homepage, expect `send "$pageview"` with `platform:
"www"`; click "Start your project", expect the
`/platform/telemetry/event` request body to have
`custom_properties.platform: "www"` (both seen)
- [x] docs: load a guide, expect `send "$pageview"` with `platform:
"docs"` (seen); added: "Copy as Markdown" sends `custom_properties:
{"pageType":"guide","platform":"docs"}`
- [x] kb: load a page, expect `send "$pageview"` with `platform: "kb"`;
run a search, expect the `/platform/telemetry/event` body to have
`custom_properties.platform: "kb"` (seen on both `kb_search_submitted`
and `kb_search_result_clicked`)
- [ ] learn and ui-library: load a page, expect `send "$pageview"` with
`platform: "learn"` and `"ui-library"` respectively. Not checkable on
previews: learn has no preview deployment, and the ui-library preview
host is not on the consent provider's allowlist, so telemetry never
starts there.
- [x] Added, negative check: on docs, kb and www, no captured posthog-js
event had `platform` unset or set to another app
- [x] Added, ingestion: in the staging PostHog project,
`copy_as_markdown_clicked` (docs) and `start_project_button_clicked`
(www) carry `platform` as a top-level event property

## Linear
- fixes GROWTH-1450
2026-11-09 14:12:18 +09:00
claude[bot]andClaude d421451672 feat(www): add hidden Supabase for Platforms Addendum legal page (#52154)
<!-- claude-slack-attribution -->
_Requested by **Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1792676080898989)_

**Before:** There is no Supabase for Platforms Addendum page. The
Customer Legal Resources section of the Legal Hub has no terms page for
it, and there is nothing at `/legal/customer-resources/SFP-addendum`.

**After:** `/legal/customer-resources/SFP-addendum` renders the
"Supabase for Platforms Addendum" with a version selector showing
"Version 1 — October 22, 2026". The page is reachable by direct link
only. It is not listed in the Legal Hub, and it carries `noindex,
nofollow` like `/enterprise-terms` and
`/legal/customer-resources/supplemental-terms`.

## Problem

Legal needs a hidden, versioned terms page for the Supabase for
Platforms Addendum under Customer Legal Resources.

## Solution

Adds a new pages-router page and a `v1.mdx` data file, mirroring
`supplemental-terms.tsx` and the `LegalDocVersions` pattern used by
`enterprise-terms` and the DPA. Hiding follows the same approach as
`supplemental-terms`: `noindex`/`nofollow` via `NextSeo`, and no entry
in the Legal Hub link list in `apps/www/pages/legal/index.tsx`.

How: the MDX text was generated from the supplied Word file (revised
twice after the first draft; the page text matches the latest file), and
the markup-stripped result was diffed against the paragraph text in
`word/document.xml`. The paragraph count (53, including table cells) and
word count (2,373) match, with zero text differences. Wording is
preserved verbatim, including its quirks.

Formatting notes for reviewers:

- The Word file's title line ("SUPABASE FOR PLATFORMS ADDENDUM") is not
repeated in the body, because the page header supplies the title. The
file has no date line.
- The fee schedule is a Markdown table. The cell with three bullets uses
`<br />` line breaks, the same technique as the table in
`data/legal/sla/v1.mdx`.
- Quoted defined terms are bolded inside the quotes (`"**Term**"`) per
the repo's legal MDX convention.
- The two `https://supabase.com/...` links are bare URLs, as in the Word
file's hyperlinks, and autolink.
- Two non-ASCII characters from the source are kept as-is: an em dash
(4x) and a greater-than-or-equal sign (1x).
- The route is case-sensitive, so the file is `SFP-addendum.tsx`. The
lowercase URL `/legal/customer-resources/sfp-addendum` is not expected
to resolve.

## Review instructions

1. Open the preview at `/legal/customer-resources/SFP-addendum` (preview
base URL is on the Vercel bot comment).
2. Confirm the header reads "Supabase for Platforms Addendum" with the
Legal / Customer Legal Resources breadcrumb, and the version line reads
"Version 1 — October 22, 2026".
3. Confirm the page source has `<meta name="robots"
content="noindex,nofollow">` and that the page is not linked from
`/legal`.
4. Skim the fee table in section 4 and the lettered subsections for
rendering.

## Checklist

- [ ] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] Docs checklist item: not applicable (no docs topic changed)

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

https://claude.ai/code/session_014rEZad6NnPxuH39snHH1gT

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-05 17:23:42 +08:00
Pamela Chia aad17d2ee2 fix: server-render /open-source repos and library docs code (#52655)
Two page templates still served their main content only after JavaScript
ran, so crawlers that don't run it never saw it. The /open-source repo
cards came from a GitHub fetch in a `useEffect`. The library docs
install command and the default code view on the client pages were
`dynamic(..., { ssr: false })`.

**Changed:**
- **/open-source repo cards render in the HTML**: I added
`getStaticProps` with hourly ISR that fetches the org repos once, keeps
only the repos the tabs list, and seeds `Repos`. Any failure (non-2xx,
timeout, unexpected body) falls back to `null`, which keeps today's
client fetch, and that result is cached for 60s so a rate-limited
regeneration heals quickly. I made counts format as `en-US` until
hydration so non-US browsers don't hit a hydration mismatch, and I
switched the star sort to a consistent comparator so ties hydrate in the
same order in every engine.
- **Library docs install command renders on the server**: I made the
app's `useLocalStorage` read storage in a layout effect instead of the
`useState` initializer, so `Command` no longer needs `ssr: false`.
Returning users who picked another package manager see npm until
hydration, then their choice, where before the box was empty until then.
- **Library docs code shows instead of "Loading code preview..."**: I
kept `CodeBlock` client-only because it reads the resolved theme, and I
changed its loading fallback to render the selected file's code in a
plain `<pre>`.

**Note:** the GitHub fetch is unauthenticated, since the www project has
no general-purpose GitHub token. If regeneration keeps getting
rate-limited, adding a read-only token to the www env is a few-line
follow-up.

## To test
Tested on the PR previews, compared with prod:
- [x] `curl -sL` /open-source with a Chrome user agent and strip
`<script>`, `<style>` and `<template>`: supabase, supabase-js,
supavisor, postgres and postgres-meta appear with their descriptions
(prod has no repo cards).
- [x] `curl -sL` /open-source and read the `__NEXT_DATA__` JSON: every
name in `repos` appears in the page's tabs.
- [x] On /open-source with the browser language set to German: the
Database tab shows the same cards in the same order as prod, counts use
German separators after load, the browser makes no GitHub API request,
and the console shows no hydration error.
- [x] Switch to the Auth and Other tabs: the same cards as prod. Repos
with equal star counts can appear in a different order.
- [x] `curl -sL` /library/docs/nextjs/client the same way:
`createBrowserClient` is present in a plain `<pre>` (prod shows "Loading
code preview...").
- [x] `curl -sL` a block page such as
/library/docs/nextjs/password-based-auth: the `npx shadcn@latest add`
command is present (prod has none).
- [x] On a block page, pick pnpm in the install command and reload: pnpm
stays selected, with no hydration error.
- [x] On /library/docs/nextjs/client after load, in light and dark
theme: the highlighted code block matches prod, with line numbers.
- [x] No hydration warnings in the console on any of these pages.

## Linear
- part of GROWTH-1416
2026-11-03 20:48:08 +08:00
claude[bot] 2dc0258b14 docs(legal): Privacy Policy v5 (OpenAI cookie, click identifiers) (#52647) 2026-11-03 07:21:05 -05:00
Pamela Chia f5e3e7f7a2 fix(www): serve /nextjs as a 308 to the Next.js tutorial (#52634)
`/nextjs` was a placeholder page that redirected with a client-side
`router.push`, so without JavaScript it served an indexable 200 with an
empty body and a self-canonical. I replaced it with a permanent redirect
straight to the Next.js tutorial, which also skips the old intermediate
`/docs/guides/with-nextjs` hop. I deleted the page, so `/nextjs` drops
out of the www sitemap, and I pointed the image transformations feature
page's Next.js link at the Next.js loader docs, which is what its text
describes.

## To test

Tested on the PR preview:
- [x] `curl -sI <preview-url>/nextjs`, expect `308` with `location:
/docs/guides/getting-started/tutorials/with-nextjs` (one hop, no request
to `/docs/guides/with-nextjs`)
- [x] Open `/features/image-transformations`, expect the "Next.js
integration" link to point to
`/docs/guides/storage/serving/image-transformations#nextjs-loader` and
no link to `/nextjs` on the page

## Linear
- part of GROWTH-1416
2026-11-02 21:48:44 +08:00
claude[bot]andClaude e959031675 feat(www): add Candidate Privacy Notice legal page and careers link (#52388)
<!-- claude-slack-attribution -->
_Requested by **Sofia Calado** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1793106267476009)_

**Before:** The Candidate Privacy Notice only existed as a PDF. The
Legal Hub's "Privacy Resources" section listed the Data Processing
Addendum, the Subprocessor List and the Data Residency and Transfers
FAQ, and the /careers page had no link to any candidate privacy
information.

**After:** The notice is a native, indexable page at
`/legal/privacy-resources/candidate-privacy-notice`, showing "Version 1
— October 28, 2026" at the top left of the document. It is listed in the
"Privacy Resources" section of the Legal Hub, and linked from the "Open
positions" section at the bottom of `/careers`.

This publishes the Candidate Privacy Notice as a web page and links it
from the Legal Hub and the careers page.

## Problem

Legal asked for the Candidate Privacy Notice to be published as a page
in the Legal Hub under "Privacy Resources", with a link from the careers
page. This is the first published version ("Version 1", October 28,
2026), so the page has a single version entry. The text is Legal's final
PDF, whose internal filename says "v.2.0" (an internal draft number, not
a published version).

## Solution

How: the page mirrors the sibling Privacy Resources pages
(`DefaultLayout` > `NextSeo` > `PageHeader` with a Legal / Privacy
Resources breadcrumb > `MDXProvider` > `LegalDocVersions`) with a single
`v1` entry, so the version line renders as "Version 1 — October 28,
2026" above the body, the same as the other legal pages. The source PDF
has no version or date text; both were supplied by the requester. The
body is `data/legal/privacy-resources/candidate-privacy-notice/v1.mdx`,
transcribed verbatim from the final PDF, except for the three deliberate
edits below. Headings, bullet lists, the numbered list, bold run-ins and
the three tables follow the PDF; tables are Markdown tables styled by
the existing prose styles (the PDF's colors are not reproduced, and the
two grey sub-header rows in the first table are bold rows in the first
column). The "Communicatio ns" in the PDF table is a line wrap and
renders as "Application Communications". Link targets are taken from the
PDF: `mailto:privacy@supabase.io`, `https://www.pdpc.gov.sg`,
`https://www.ico.org.uk`, `https://www.edoeb.admin.ch`,
`https://cppa.ca.gov` and
`https://www.edpb.europa.eu/about-edpb/our-members_en`. The sitemap is
generated from `pages/**/*.tsx`, so the new route is included without
changes.

Deliberate deviations from the PDF, at the requester's direction:

- The first mention of EOR, the "EOR Service Providers" row label, reads
"Employer of Record (EOR) Service Providers". Later mentions stay "EOR".
- The EU/EEA link in "File a Complaint" shows
`edpb.europa.eu/about-edpb/our-members_en` (domain without `https://`,
like the other links in that list) and links to
`https://www.edpb.europa.eu/about-edpb/our-members_en`. The PDF shows
the full URL as the text.
- The "Legal Hub" link in "What If This Notice Changes?" is the relative
`/legal` (the PDF links to `https://supabase.com/legal`).

The /careers link is one `<p>` at the end of the "Open positions"
section, after the "Join community" row, using the same small muted text
and `text-foreground hover:underline` link classes as the privacy-policy
line in `RequestADemoForm`. No new components or styles; `Globe` and the
scroll behavior are untouched.

## Review instructions

1. Open `/legal` and check "Privacy Resources" lists "Candidate Privacy
Notice" after the Data Residency and Transfers FAQ.
2. Open `/legal/privacy-resources/candidate-privacy-notice`, check the
breadcrumb, the "Version 1 — October 28, 2026" line at the top left, and
the three tables and numbered list; compare the text with the source
PDF.
3. Click the email and regulator links (including the EU/EEA one), and
the "Legal Hub" link (goes to `/legal`).
4. Open `/careers`, scroll to the bottom of "Open positions", and check
the new privacy notice line and its link.

## Open questions for Legal

Left exactly as written in the PDF, in case Legal wants to change the
source text:

- "Supabase Pte. Ltd. or Supabase Inc., (collectively" has a comma
before the parenthesis.
- "Information We Collect About You?", "Sensitive Personal Information
We May Collect About You?", "How We May Share Personal Information with
Third Parties?" and "Where Your Data May Be Transferred?" are headings
with a question mark that are not questions.
- "our/EOR’s" uses a curly apostrophe; the rest of the notice uses
straight quotes.
- "offer letter and /or employment agreement" has a space before "/or".
- The numbered list ends "Final decision: Humans decide to hire or
reject;" with a semicolon, and the "EOR Service Providers" table cell
has no final period.
- Numbered item 1 reads "Sourcing: Algorithms identify and contact
candidates;" with no human step, while the lead-in says every
recruitment decision involves human review and items 2 to 4 each name a
human step.
- The notice says it updates the "last version" date, while the page
shows "Version 1 — October 28, 2026".

## Checks

- Prettier (repo options, without the SQL and import-sort plugins, which
are not installed) passes on the changed files.
- The MDX compiles with `@mdx-js/mdx` + `remark-gfm` + `rehype-slug`
(same plugins as `next.config.mjs`) and renders to HTML.
- Text comparison of the rendered MDX against the PDF text: the only
differences are the deliberate edits above. Bold words and heading
levels match the PDF.
- Not run: `pnpm install` is blocked in this environment, so `tsc`,
lint, `next build` and the preview were not run. The EDPB link was not
opened (egress-blocked).

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

https://claude.ai/code/session_01VBvtQVchiAw9yFqzoWNhQh

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-29 11:32:41 +01:00
Anthony Lio 9eaae4cd2c feat(www): brand page (#52295)
## Problem

- a person or an agent cannot link one logo file or pick the file for a
light or a dark background as the brand assets page has one preview
image and two zip downloads only
- `apps/www/lib/json-ld.ts` sets `Organization.logo` to the open graph
banner instead of a logo file

## Solution

- [proposal] Brand Assets -> Brand Guidelines
- [proposal] `/brand-assets` -> `/brand`
- adds the official logos as separate svg and png files in
`/brand-assets/`, with a catalog that tells the background that each
file is for
- show each file on its background, with copy and download actions
- adds `/brand.md` and a "Copy agent prompt" button, so an agent can
read which file to use for each background
- adds a "Copy wordmark" item to the nav logo menu, which copies the
wordmark file for the site theme
- changes `Organization.logo` from the open graph banner to the wordmark
png

`brand assets page`
| before | after |
| -------|------|
| <img width="1637" height="901" alt="image"
src="https://github.com/user-attachments/assets/6b5361c8-0995-4e61-bc29-b5a7ccab7d69"
/> | <img width="1637" height="901" alt="image"
src="https://github.com/user-attachments/assets/0f65ab36-d6f2-427e-8973-eb559139cf8e"
/> |

`logo right click`
| before | after |
| -------|------|
| <img width="676" height="362" alt="image"
src="https://github.com/user-attachments/assets/5abde373-8a37-4ab8-8193-fb7112b97104"
/> | <img width="676" height="362" alt="image"
src="https://github.com/user-attachments/assets/ef5d0724-6a91-4af7-8e9d-59025a9eba87"
/> |

<!--
## 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 dev:www` and open `http://localhost:3000/brand-assets`
2. in the gallery, copy and download one file of each group, and make
sure that each file opens
3. click "Copy agent prompt", and make sure that the copied text names
`https://supabase.com/brand-assets.md`
4. open `http://localhost:3000/brand-assets.md`, and make sure that it
links each svg and png file
5. right-click the nav logo, hover "Copy logo" and "Copy wordmark", and
make sure that the frame moves to the part that each item copies
6. click "Copy wordmark" in the light theme and in the dark theme, and
make sure that the pasted svg has black and then white lettering
7. run `pnpm --filter www exec vitest run data/brand-assets.test.ts`,
and make sure that the tests pass

## 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-10-29 09:57:35 +11:00
claude[bot]andClaude 8635496932 docs(www): add Supplemental Terms Version 1 text (#52368)
<!-- claude-slack-attribution -->
_Requested by **Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1793097128831369)_

**Before:** The hidden Supplemental Terms page
(`/legal/customer-resources/supplemental-terms`) showed one placeholder
sentence, and its Version 1 label had an effective date of "TBD".

**After:** The page shows the full text of the 2026.10.20 Supplemental
Terms document (Section 1, Germany: Professional Secrecy) as Version 1,
with an effective date of October 27, 2026.

This replaces the placeholder copy with the real Supplemental Terms text
as Version 1.

## How

- `apps/www/data/legal/customer-resources/supplemental-terms/v1.mdx` now
holds the document text, converted with pandoc and checked word-for-word
against the docx (13 paragraphs, identical apart from the short form URL
noted below). The one numbered top-level section and its six lettered
subsections use the same `##` / `###` heading levels as the DPA. No
`_Last Modified:_` line and no frontmatter, matching the DPA and other
versioned pages.
- The form link in Section 1.a is shown via the short URL
`https://supabase.link/germanyprofessionalsecrecy` (link text and href)
instead of the long Google Form URL in the docx, as requested by Legal.
It is a markdown link, since MDX does not support bare `<...>`
autolinks.
- `apps/www/pages/legal/customer-resources/supplemental-terms.tsx`: the
page already uses `LegalDocVersions` and the `versions` array like the
DPA page. The only change is `effectiveDate: 'TBD'` to `'October 27,
2026'` (confirmed by Legal).
- Page visibility is unchanged: still `noindex`/`nofollow` and not
linked from the Legal Hub.

## Review instructions

1. Open the preview at `/legal/customer-resources/supplemental-terms`
(direct URL only; the page is not in the Legal Hub).
2. Check the header reads "Version 1 — October 27, 2026" and the text
matches the Word document.

## Notes

- Local typecheck, lint and build could not be run because `pnpm
install` is blocked in this environment. Prettier (3.8.0, repo options)
passes on the MDX file.

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

https://claude.ai/code/session_01VBvtQSeMbNzFwFgzHQ5K9L

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-28 11:40:25 +01:00
Alexis Aguilar d1dcb57bdf feat(www): use the shared AiTools component on www pages (#52186)
## Problem

Docs guides, docs troubleshooting pages, and knowledge base guides
render the shared `AiTools` component from `ui-patterns`. The marketing
site renders its own copy of the same actions in `MarkdownActions`, with
the same styles and links. A change to one doesn't reach the other.

Resolves
[DOCS-1505](https://linear.app/supabase/issue/DOCS-1505/use-the-shared-aitools-component-on-www-pages).

## Solution

Blog posts, customer stories, event pages, changelog entries, and
pricing render `AiTools` through a www wrapper, and `MarkdownActions` is
deleted. The wrapper sends `copy_as_markdown_clicked` and
`ask_ai_clicked` with each page's type, as `MarkdownActions` did.

- **Prefer on Google:** blog posts show the Prefer on Google link
through `AiTools`, and clicks send `preferred_source_clicked`. #52026
proposed adding the link through `MarkdownActions`. This PR adds it
through `AiTools` instead, and #52026 is closed. The link's URL is a
shared constant in `markdown-affordance.ts`, which the docs wrapper also
uses.
- **Horizontal layout:** `AiTools` has an `orientation` prop. Pricing
uses it to keep the actions in a row under the hero. The design system's
AI Tools page documents it.
- **Headings:** `AiTools` adds an "AI tools" heading:
  - Blog posts style it like the sidebar's On this page label.
- Pricing, customer stories, and event pages hide it visually, so they
look as they do on the live site. Screen readers still announce it as
the section's label.
- Changelog entries give AI tools its own sidebar section, like Change
type and Products. The Links section appears only when an entry links to
a GitHub discussion.

The changelog index keeps `ChangelogLlmMarkdownButton`. It's a split
button in the header toolbar, and `AiTools` is a list of links built for
sidebars.

## Preview links

Compare the before and afters (since there's a lot of examples here,
links are less visually busy than images in this case):

| Site | Live | Preview |
| ------------- |
--------------------------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| WWW |
[/blog/give-your-supabase-app-its-own-mcp-server](https://supabase.com/blog/give-your-supabase-app-its-own-mcp-server)
|
[/blog/give-your-supabase-app-its-own-mcp-server](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/blog/give-your-supabase-app-its-own-mcp-server)
|
| WWW | [/pricing](https://supabase.com/pricing) |
[/pricing](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/pricing)
|
| WWW | [/customers/berriai](https://supabase.com/customers/berriai) |
[/customers/berriai](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/customers/berriai)
|
| WWW |
[/events/agency-webinar-ai-prototyping-production](https://supabase.com/events/agency-webinar-ai-prototyping-production)
|
[/events/agency-webinar-ai-prototyping-production](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/events/agency-webinar-ai-prototyping-production)
|
| WWW |
[/changelog/cbc-tls-ciphers-deprecated](https://supabase.com/changelog/cbc-tls-ciphers-deprecated)
|
[/changelog/cbc-tls-ciphers-deprecated](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/changelog/cbc-tls-ciphers-deprecated)
|
| WWW |
[/changelog/17817-pgbouncer-and-ipv4-deprecation](https://supabase.com/changelog/17817-pgbouncer-and-ipv4-deprecation)
|
[/changelog/17817-pgbouncer-and-ipv4-deprecation](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/changelog/17817-pgbouncer-and-ipv4-deprecation)
|
| Design system |
[/design-system/docs/fragments/ai-tools](https://supabase.com/design-system/docs/fragments/ai-tools)
|
[/design-system/docs/fragments/ai-tools](https://design-system-git-alexisa-docs-1505-supabase.vercel.app/design-system/docs/fragments/ai-tools)
|

## Review instructions

1. Open each live and preview link side by side.
2. On pricing, check that the actions sit in the same row under the
hero.
3. On the blog post, check that the "AI tools" heading matches the On
this page label.
4. On the blog post, check that Prefer on Google appears in the sidebar
and at the end of the post on mobile.
5. On both changelog entries, check that AI tools has its own sidebar
section. Links appears only on the pgbouncer entry, which links to a
GitHub discussion.
6. On each page, click Copy as Markdown, Ask ChatGPT, and Ask Claude. On
the blog post, also click Prefer on Google. In the browser's network
tab, check that each telemetry request includes the page's `pageType`.
7. On the design system page, check the Horizontal layout example.

## 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-10-27 18:35:40 -04:00
Kody Jackson 08504ae26a fix(www) - remove duplicate h1 entries (#52341)
## Problem

Dupe H1 entries across several pages

## Solution

For blogs, remove the `#` or move to `##`.

For others, adjust the templating logic to avoid rendering multiple.

## Preview links

### Design system

[previous](https://supabase.com/design-system/docs)

<img width="1328" height="832" alt="image"
src="https://github.com/user-attachments/assets/95abab7f-acba-4935-83f7-4f980a7379ce"
/>


[new](https://design-system-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/design-system)
<img width="1328" height="795" alt="image"
src="https://github.com/user-attachments/assets/98c3f377-ee47-48bc-b3de-f7677824f1df"
/>

### www


| Area | Page | Before (production) | After (preview) | h1 count before
→ expected after |
|---|---|---|---|---|
| CTA form (Solutions) | AI Builders |
https://supabase.com/solutions/ai-builders |
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/solutions/ai-builders
| 2 → 1 |
| CTA form (Solutions) | Agencies |
https://supabase.com/solutions/agencies |
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/solutions/agencies
| 2 → 1 |
| CTA form (Enterprise) | Enterprise |
https://supabase.com/solutions/enterprise |
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/solutions/enterprise
| 2 → 1 |
| Changelog | Declarative Schema Management (pg-delta) |
https://supabase.com/changelog/44938-public-alpha-declarative-schema-management-with-pg-delta
|
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/changelog/44938-public-alpha-declarative-schema-management-with-pg-delta
| 2 → 1 |
| Changelog | Queue table operations |
https://supabase.com/changelog/42460-queue-table-inserts-edits-and-deletes-on-the-table-editor
|
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/changelog/42460-queue-table-inserts-edits-and-deletes-on-the-table-editor
| 2 → 1 |
| Changelog | Auth asymmetric keys |
https://supabase.com/changelog/29289-supabase-auth-asymmetric-keys-support-in-2025
|
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/changelog/29289-supabase-auth-asymmetric-keys-support-in-2025
| 5 → 1 |
| Company | Company | https://supabase.com/company |
https://zone-www-dot-com-git-kody-devrel-770-dupe-h1s-supabase.vercel.app/company
| 40 → 1 |
2026-10-27 08:32:33 -05:00
Pamela Chia 092b8ff518 fix: repair 404s from legacy dashboard routes, docs links, and the changelog feed (#52292)
Several supabase.com URLs still return a 404 to real browsers every day:
an old Database Hooks route, card icons for brands we never shipped an
image for, two dashboard links to docs pages that miss the `/guides`
prefix, and a few URLs that search engines and feed readers keep
requesting.

**Changed:**
- **Old Database Hooks links land on Webhooks**: #29671 renamed
`/project/:ref/database/hooks` without a redirect, so bookmarks and
older guides hit a 404. I added a redirect to the Integrations Webhooks
page, the same target as the existing `database/webhooks` redirect.
- **Card brands without an icon show a generic card**: payment method
rows built the image URL straight from the card brand name, so UnionPay
and other brands without a PNG rendered a broken image. I added a
`CardBrandIcon` in `CreditCard.tsx`, used by both views, that only
requests the brand images we ship, labels each with its brand name, and
shows a generic card icon for every other brand.
- **Branching "Learn more" links open the right docs**: #51393 linked
the branching empty state to `/docs/deployment/branching/...` without
`/guides`. I fixed both links and added a redirect for the GitHub
integration URL, which search engines already indexed (the dashboard one
already had a redirect).
- **Indexed docs and feed URLs redirect**: I added redirects for
`/docs/guides/mcp`, the old hashed architecture diagram path that other
sites still embed, and `/changelog/rss.xml`. I also added an RSS
`alternate` link to `/changelog` so feed readers find
`/changelog-rss.xml` instead of guessing.

**Note:** Studio and www changes are independent, so either app can
deploy first.

## To test

Tested on the PR preview:
- [x] Open `/dashboard/project/<ref>/database/hooks`, expect a redirect
to `/dashboard/project/<ref>/integrations/webhooks/overview`
(`database/hooks-nope` still 404s)
- [x] Open org billing with a Visa or Mastercard on file, expect the
brand logo as before
- [x] With a card whose brand has no image (e.g. UnionPay), expect a
generic card icon instead of a broken image in the payment methods list
(checked with a mocked UnionPay row: generic icon, no `unionpay.png`
request, Visa rows unchanged)
- [ ] Same check in the plan change payment method select (not
exercised: reaching it starts the plan change flow)
- [x] On a project without branching, open Branches and click both
"Learn more" buttons, expect the dashboard and GitHub integration
branching guides to load
- [x] On the www preview, open `/changelog/rss.xml`, `/docs/guides/mcp`
and `/docs/deployment/branching/github-integration`, expect 308s to
`/changelog-rss.xml`, `/docs/guides/ai-tools/mcp` and
`/docs/guides/deployment/branching/github-integration`
- [x] View source on `/changelog`, expect a `rel="alternate"` RSS link
to `/changelog-rss.xml`

## Linear
- fixes GROWTH-1364
2026-10-26 17:32:06 +00:00
claude[bot]andClaude b2d7ddbdf3 feat(www): add Business Associate Agreement legal page (#52227)
<!-- claude-slack-attribution -->
_Requested by **Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1792759190025999)_

## Problem

**Before:** there is no Business Associate Agreement (BAA) page in the
Legal Hub.

**After:** a new page at
`/legal/customer-resources/business-associate-agreement`, listed in the
Legal Hub (`/legal`) under Customer Legal Resources, and indexable like
any standard page (no noindex/nofollow, no header rule; the sitemap is
generated from `pages/**/*.tsx`, so it is included automatically).

Adds a versioned BAA page whose text is the Word doc `2026.10.23 -
Supabase - BAA.docx`.

## Solution

Mirrors the Data Processing Addendum page:
`apps/www/pages/legal/customer-resources/business-associate-agreement.tsx`
uses `LegalDocVersions` with a newest-first `versions` array, and the
content is in
`apps/www/data/legal/customer-resources/business-associate-agreement/v1.mdx`.
The doc was converted with pandoc and hand-fixed to the legal MDX
conventions (ASCII quotes, bare URLs, bold defined terms inside quotes,
literal `(i)`/`(a)` paragraphs, `##` numbered section headings). The
doc's title line "Business Associate Agreement" is not repeated in the
MDX because the page renders it as the h1.

**Version and date:** per Nicole, the version and date show only in the
page header ("Version 1 - October 23, 2026", via `effectiveDate:
'October 23, 2026'`), like the rest of the Legal Hub. The doc's two body
placeholder lines ("Version 1 - [Month Day, 2026]" and "Last modified:
[Month Day, 2026]") are removed from the body.

**Two wording edits, both per Nicole:**
1. First paragraph: `(as applicable, "Supabase")` now reads `(as
applicable, "Supabase" or "Business Associate")`.
2. Section 15: `and the "Last modified" date at the top of this BAA will
be updated accordingly.` now reads `and the date at the top of this BAA
associated with the current version of this BAA, will be updated
accordingly.`

**Formatting change, per Nicole:** 10.10, 10.11, 11.1, 11.2 and 11.3
were headings in the Word doc. They are now plain numbered paragraphs,
matching 2.1-2.3 and 10.1-10.9 (markup only, text unchanged). Their body
paragraphs and the nested (i)/(ii)/(a)/(b) paragraphs under 11.2 are
unchanged. Nothing in the repo linked to the removed heading anchors.

Everything else is verbatim from the doc: after applying the two removed
lines and the two wording edits, the docx and MDX have 61 paragraphs
each with 0 differences (title line excluded). The docx has no tracked
changes and no comments.

## Open questions / oddities (wording left untouched)

1. In 11.2 the doc indents (i)/(ii) and (a)/(b) as nested items. Per the
legal MDX convention they render as flat, unindented paragraphs, so the
nesting is not visually represented.
2. Curly quotes are normalized to straight quotes (ASCII convention).
3. The page uses the same `prose` wrapper as the DPA page. There are no
headings containing a literal "(c)", so `legal-prose` is not needed.

## Review instructions

1. Open the Vercel preview for `www` and go to `/legal`. The BAA should
be listed under Customer Legal Resources.
2. Open `/legal/customer-resources/business-associate-agreement` and
compare it with the Word doc. The header should show "Version 1 -
October 23, 2026" and the body should have no version or date lines.
3. Check that the page has no noindex meta tag and no `X-Robots-Tag`
header.

Checks run locally: prettier (repo options, minus the SQL plugin)
passes, the case-hazard script passes, and the docx-versus-MDX text diff
shows 0 differences beyond the known edits. Typecheck, lint and tests
were not run because `pnpm install` fails in this sandbox.

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

https://claude.ai/code/session_01HY4xb77U7SvkyMJP5kPJLs

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-26 19:47:48 +11:00
Kody Jackson f15391efee fix(www, changelog) - add in canonical URLs for product, blogs, partners, pricing pages (#51859)
## Problem

Missing canonical tags on many `www` pages (blogs, changelog entries,
product pages, etc.).

Part of general AEO / SEO hygiene.

## Solution

Adds these in a similar pattern to `mdAlternates` (#48287)

<img width="984" height="381" alt="image"
src="https://github.com/user-attachments/assets/0a596f7f-b034-451f-9ea1-6804c5184388"
/>


## Preview links

Route type | Live | Preview
-- | -- | --
Home (app router, page-level canonical) | https://supabase.com/ |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/
Blog index (app router) | https://supabase.com/blog |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/blog
Blog post | https://supabase.com/blog/supabase-alpha-april-2020 |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/blog/supabase-alpha-april-2020
Blog tag | https://supabase.com/blog/tags/postgres |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/blog/tags/postgres
Blog author | https://supabase.com/blog/authors/paul_copplestone |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/blog/authors/paul_copplestone
Product page | https://supabase.com/edge-functions |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/edge-functions
Pricing | https://supabase.com/pricing |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/pricing
Features index (pages router, _app) | https://supabase.com/features |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/features
Feature sub-page | https://supabase.com/features/postgres-database |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/features/postgres-database
Page with its own NextSeo canonical (override case) |
https://supabase.com/state-of-startups-2025 |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/state-of-startups-2025
Legal page, no page-level SEO (pages router default) |
https://supabase.com/legal |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/legal
2026-10-20 08:01:38 -05:00
shaziya 780846e449 chore(www): add Native runtime hero images, hide hero on Parallel local projects (#51813)
## 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 (www feature catalog).

## What is the current behavior?

Follow-up to supabase/supabase#51773.

- `/features/native-local-runtime` has no hero image, so it shows the
green placeholder block.
- `/features/parallel-local-projects` shows the same placeholder.

## What is the new behavior?

- Native runtime uses the Local development hero images
(`local-development.png` and `-light.png`).
- Adds an optional `hideHero` field to the feature type. When true,
`pages/features/[slug].tsx` skips the hero block. Parallel local
projects sets it. All other features render as before.

## Additional context

The diff in `[slug].tsx` is mostly re-indentation from wrapping the hero
block in a conditional.
2026-10-15 16:03:55 -07:00
Kody Jackson 21934397ca feat(changelog) - add structured data to entries (#51496)
## Problem

The current entries at `/changelog` have no [structured
metadata](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data)
about any of the pages, which can be important for LLM-indexing.

## Solution

Adds:
- a `techArticle` and `breadcrumb` schema items to the changelog
entries.
- adds `CollectionPage` and `Breadcrumb` schemas to `/changelog` itself

## Preview links

### Changelog entries


https://zone-www-dot-com-git-kody-devrel-696-changelog-4b1bb5-supabase.vercel.app/changelog/status-page-migration

Validates fine at
https://validator.schema.org/#url=https%3A%2F%2Fzone-www-dot-com-git-kody-devrel-696-changelog-4b1bb5-supabase.vercel.app%2Fchangelog%2Fstatus-page-migration

<img width="1095" height="492" alt="Screenshot 2026-10-09 at 2 35 30 PM"
src="https://github.com/user-attachments/assets/6d8d4890-5eb7-458b-addb-935c25e2df2b"
/>

### Changelog listing


https://zone-www-dot-com-git-kody-devrel-696-changelog-4b1bb5-supabase.vercel.app/changelog

Validation at
[schema.org](https://validator.schema.org/#url=https%3A%2F%2Fzone-www-dot-com-git-kody-devrel-696-changelog-4b1bb5-supabase.vercel.app%2Fchangelog).

<img width="1101" height="751" alt="image"
src="https://github.com/user-attachments/assets/305a25d3-06ea-46c9-990e-6cdc4ae771cf"
/>
2026-10-14 10:44:06 -05:00
Brian-AnandDanny White f1082e28c7 chore: migrate Framer Motion imports to Motion (#51520)
## Problem

Closes #31221.
The applications and shared UI packages still import the former
`framer-motion` package instead of Motion's React entry point.

## Solution

Replace runtime imports, type imports, and three test mocks with
`motion/react` across the consuming workspaces.
Replace the seven direct dependency declarations with `motion:
^11.18.2`.
Preserve the existing animation engine version and all other dependency
resolutions, including the asynchronous `domMax` feature loader.
Historical blog examples remain as published; `framer-motion` remains a
transitive implementation dependency of Motion.

## Review instructions

1. Run `pnpm install --frozen-lockfile` and check the seven dependency
replacements in the lockfile.
2. Open the WWW Auth page and Docs homepage at desktop and mobile
widths, with normal and reduced motion preferences.
3. Open the mobile navigation, expand Product on WWW, and close the menu
using Escape and the close button.
4. Check the existing animation components, shared form validation, and
Studio tests for unchanged behavior.

Validation:

- Studio: 731 test files, 8,334 passing tests and one expected failure,
with `--maxWorkers=4`.
- Shared UI, UI patterns, WWW, and UI library: 615 passing tests.
- `pnpm run typecheck --concurrency=1`: all 16 repository tasks pass.
- All six application source lint scripts and lint ratchets pass;
generated Docs example copies are excluded from local lint.
- Repository Prettier source check, lockfile formatting, and case hazard
check pass.
- WWW: 10 existing end-to-end checks across nine pages.
- Docs: 5 existing guide link and accessibility checks across Database
and Auth.
- WWW and Docs mobile navigation pass at desktop/mobile sizes with
normal/reduced motion; SQL-to-REST translation tabs exercise the
asynchronous feature loader without browser errors.
- Frozen-lockfile installation passes; all existing package and snapshot
resolutions are unchanged.
- Learn and UI library command palettes open, filter results, and close
with Escape without browser errors.
- Independent code review finds no actionable defects.
- `npm run build -- --filter=www --filter=docs --filter=studio
--filter=learn --filter=library --concurrency=1 --continue=always`: all
five affected applications build successfully (9 tasks including
prerequisites); asset uploads disabled for local validation.

## 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)
(no docs topics changed)

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2026-10-14 07:16:00 +00:00
2e1a7afceb feat(www): add October 12, 2026 subprocessor list (#51549)
<!-- claude-slack-attribution -->
_Requested by **Sofia Calado** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1791792994853839?thread_ts=1791792994.853839&cid=C0161K73J1J)_

## Problem

**Before:** The Subprocessor List page
(`/legal/customer-resources/subprocessor-list`) showed one download
button, for the June 1, 2026 list.

**After:** The page shows two download buttons, newest first:
"Subprocessor List - Updated October 12, 2026" and "Subprocessor List -
Updated June 1, 2026". The June 1, 2026 PDF is kept as is.

This adds the October 12, 2026 subprocessor list as a new version
without replacing the existing one.

## Solution

How: the single `CURRENT_PDF` constant in
`apps/www/pages/legal/customer-resources/subprocessor-list.tsx` becomes
a `SUBPROCESSOR_LIST_VERSIONS` array (newest first, each entry has
`file` and `displayDate`), and the page maps over it to render one
button per version using the same `Button` and label format as before.
The new PDF is added as
`apps/www/public/legal/subprocessor-list/October-12-2026.pdf`, copied
byte for byte from the supplied file (2 pages, "As of October 12, 2026",
22 rows). The header comment now explains how to add a future version.
The page copy, the Customer.io subscribe form, the Legal Hub link, the
redirect and the DPA and FAQ links are untouched; none of them reference
a specific PDF.

## Review instructions

1. Open `/legal/customer-resources/subprocessor-list` on the Vercel
preview for this PR.
2. Confirm two buttons appear in this order: "Subprocessor List -
Updated October 12, 2026", then "Subprocessor List - Updated June 1,
2026".
3. Open each and confirm the PDF header date matches the button label.
4. Confirm the subscribe form below the buttons is unchanged.

**Not verified:** The Vercel preview and supabase.com are not reachable
from the environment this PR was prepared in, so the page was not viewed
rendered. `pnpm install` was not run, so ESLint and `tsc` did not run.
Prettier 3.8.1 was run on the changed file with the repo's formatting
options (the repo config's SQL plugin was not installed) and reported no
changes. The change was read through by hand for type and syntax errors.

## Checklist

- [ ] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)

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

https://claude.ai/code/session_01HtysymSUPZS8aJ1eTa7R9N


---
_Generated by [Claude
Code](https://claude.ai/code/session_01HtysymSUPZS8aJ1eTa7R9N)_

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2026-10-12 17:11:56 +08:00
Danny White 7b48b298ee feat(apps): distinguish local development with blue blueprint favicons (#51420)
## Problem

- Local apps are hard to distinguish from hosted apps in browser tabs.

## Solution

- Add blue blueprint icons to local development in all 8 apps and Studio
CLI.
- Keep normal branding for production, hosted staging and self-hosted
Studio.
- Builds on #51419.


| Before | After |
| --- | --- |
| <img width="1290" height="76" alt="CleanShot 2026-10-08 at 13 29
14@2x"
src="https://github.com/user-attachments/assets/72bc50d7-37e0-47d0-8dfd-50e233a443bd"
/> | <img width="1282" height="72" alt="CleanShot 2026-10-08 at 13 30
03@2x"
src="https://github.com/user-attachments/assets/afb15a70-3938-4cff-9b41-dc6c25460b7c"
/> |

## Review instructions

- Start an app locally. Its browser tab should show the blue icon.
- Check Studio CLI uses blue and hosted staging uses white.
- Check production icons are unchanged, including Learn's black and
white icon.
- Run `node scripts/validate-favicons.mjs`. All 16 sets should pass.

Asset and routing checks, formatting and Common/Studio type checks
passed. Full builds have not been run.

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
2026-10-12 10:26:51 +11:00
claude[bot]andClaude f44dc42b0c Add Enterprise Terms v4.1 (effective October 9, 2026) (#51474)
<!-- ccr-slack-attribution -->
_Requested by **Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1790784371448999)_

## Problem

Three corrections to the Enterprise SaaS Subscription Agreement
(supabase.com/enterprise-terms): a typo in the contracting-entity
sentence of Section 1.9, and conforming AWS Marketplace wording in
Sections 5.1 and 14.1.

## Solution

Adds Enterprise Terms v4.1 (effective October 9, 2026) as
`apps/www/data/legal/enterprise-terms/v4-1.mdx`, a copy of v4 with only
the changes below, and registers it as the newest version in
`apps/www/pages/enterprise-terms.tsx`. v4 stays available through the
version selector. The page remains `noindex`/`nofollow`.

### Section 1.9 (second sentence)

**Before:** For clarity, unless an Order expressly specifies otherwise,
the Supabase entity contracting with Customer hereunder will be (i)
Supabase, Inc., having its registered address at 3500 S. DuPont Highway,
Dover, Kent County, DE 19901, if Customer is purchasing via a cloud
service provider marketplace, or (ii) Supabase Pte. Ltd., a Singapore
corporate entity with a place of business located at 65 Chulia Street
#38-02/03, OCBC Centre, Singapore 049513, if Customer is not purchasing
via a cloud service provider marketplace.

**After:** For clarity, unless an Order expressly specifies otherwise,
the Supabase entity contracting with Customer hereunder will be (i)
Supabase, Inc., having its registered address at 3500 S. DuPont Highway,
Dover, Kent County, DE 19901, if Customer is purchasing via the
marketplace operated by Amazon Web Services, Inc. or its affiliates,
located at https://aws.amazon.com/marketplace, as it may be updated from
time to time ("**AWS Marketplace**"), or (ii) Supabase Pte. Ltd., a
Singapore corporate entity with a place of business located at 65 Chulia
Street #38-02/03, OCBC Centre, Singapore 049513, if Customer is not
purchasing via AWS Marketplace.

### Section 5.1 (body)

**Before:** Where paid-for services are agreed between Supabase and
Customer per the applicable Order, Customer shall pay Supabase the fees
("**Fees**") identified in the Order without offset or deduction at the
cadence identified in the Order (e.g., monthly or annually). Unless
otherwise provided in the applicable Order, (i) Customer will pay the
Fees within thirty (30) days of the issuance of an invoice, (ii) Fees
are payable by credit card or other payment method permitted by Supabase
from time to time, (iii) payment will be in USD, and (iv) Customer
authorizes Supabase to charge its provided billing method for all Fees.
Notwithstanding the foregoing, where Customer purchases via a cloud
service provider marketplace, Customer will pay the Fees through the
applicable marketplace in accordance with the applicable marketplace
terms. Customer further authorizes Supabase to use a third party to
process payments, and consents to the disclosure of Customer's payment
information to such third party. Fees paid by Customer are
non-refundable (except as set forth in Sections 10.3 or 11.1(b)). Where
Customer purchased the applicable Services via a cloud service provider
marketplace, any refund owed to Customer under this Agreement will be
paid or credited back through the applicable marketplace, and not
directly by Supabase to Customer. If Customer fails to make any payment
when due, and Customer has not notified Supabase in writing within ten
(10) days of the payment becoming due and payable that the payment is
subject to a good faith dispute, without limiting Supabase's other
rights and remedies: (a) Supabase may charge interest on the undisputed
past due amount at the rate of 1.5% per month, calculated daily and
compounded monthly or, if lower, the highest rate permitted under
applicable law; (b) Customer shall reimburse Supabase for all reasonable
costs incurred by Supabase in collecting any late payments or interest,
including attorneys' fees, court costs, and collection agency fees; and
(c) if such failure continues for ten (10) days or more, Supabase may
suspend Customer's and its Authorized Users' access to any portion or
all of the Services until such amounts are paid in full.

**After:** Where paid-for services are agreed between Supabase and
Customer per the applicable Order, Customer shall pay Supabase the fees
("**Fees**") identified in the Order without offset or deduction at the
cadence identified in the Order (e.g., monthly or annually). Unless
otherwise provided in the applicable Order, (i) Customer will pay the
Fees within thirty (30) days of the issuance of an invoice, (ii) Fees
are payable by credit card or other payment method permitted by Supabase
from time to time, (iii) payment will be in USD, and (iv) Customer
authorizes Supabase to charge its provided billing method for all Fees.
Notwithstanding the foregoing, where Customer purchases via AWS
Marketplace, Customer will pay the Fees through the AWS Marketplace in
accordance with the terms applicable to the AWS Marketplace. Customer
further authorizes Supabase to use a third party to process payments,
and consents to the disclosure of Customer's payment information to such
third party. Fees paid by Customer are non-refundable (except as set
forth in Sections 10.3 or 11.1(b)). Where Customer purchased the
applicable Services via AWS Marketplace, any refund owed to Customer
under this Agreement will be paid or credited back through the AWS
Marketplace, and not directly by Supabase to Customer. If Customer fails
to make any payment when due, and Customer has not notified Supabase in
writing within ten (10) days of the payment becoming due and payable
that the payment is subject to a good faith dispute, without limiting
Supabase's other rights and remedies: (a) Supabase may charge interest
on the undisputed past due amount at the rate of 1.5% per month,
calculated daily and compounded monthly or, if lower, the highest rate
permitted under applicable law; (b) Customer shall reimburse Supabase
for all reasonable costs incurred by Supabase in collecting any late
payments or interest, including attorneys' fees, court costs, and
collection agency fees; and (c) if such failure continues for ten (10)
days or more, Supabase may suspend Customer's and its Authorized Users'
access to any portion or all of the Services until such amounts are paid
in full.

### Section 14.1 (last sentence)

**Before:** For clarity, the terms of any cloud service provider
marketplace apply solely with respect to the payment matters described
in Section 5.1 and do not otherwise amend or supersede this Agreement.

**After:** For clarity, the terms of the AWS Marketplace apply solely
with respect to the payment matters described in Section 5.1 and do not
otherwise amend or supersede this Agreement.

## Review instructions

1. Open `/enterprise-terms` on the preview; the selector defaults to
"Version 4.1 — October 9, 2026".
2. Check Sections 1.9, 5.1, and 14.1 match the After text above.
3. Switch to "Version 4 — October 5, 2026" (or `?version=v4`) and
confirm it is unchanged.

## Checklist

- [ ] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)

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

https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-12 10:23:40 +11:00
claude[bot]andClaude 05bca9e9d1 Add Terms of Service v4.1 (effective October 9, 2026) (#51473)
<!-- ccr-slack-attribution -->
_Requested by **Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1790784371448999)_

## Problem

This adds v4.1 (effective October 9, 2026) of the Terms of Service. It
corrects the second sentence of Section 1.j (which Supabase entity
contracts with the Customer) and conforms Sections 5(a) and 14(a) to the
new "AWS Marketplace" defined term. Nothing else in the document
changes, and v4 stays available through the version selector.

### Section 1.j, second sentence

**Before:** For clarity, unless an Order expressly specifies otherwise,
the Supabase entity contracting with Customer hereunder will be (i)
Supabase, Inc., having its registered address at 3500 S. DuPont Highway,
Dover, Kent County, DE 19901, if Customer is purchasing via a cloud
service provider marketplace, or (ii) Supabase Pte. Ltd., a Singapore
corporate entity with a place of business located at 65 Chulia Street
#38-02/03, OCBC Centre, Singapore 049513, if Customer is not purchasing
via a cloud service provider marketplace.

**After:** For clarity, unless an Order expressly specifies otherwise,
the Supabase entity contracting with Customer hereunder will be (i)
Supabase, Inc., having its registered address at 3500 S. DuPont Highway,
Dover, Kent County, DE 19901, if Customer is purchasing via the
marketplace operated by Amazon Web Services, Inc. or its affiliates,
located at
[https://aws.amazon.com/marketplace](https://aws.amazon.com/marketplace),
as it may be updated from time to time ("AWS Marketplace"), or (ii)
Supabase Pte. Ltd., a Singapore corporate entity with a place of
business located at 65 Chulia Street #38-02/03, OCBC Centre, Singapore
049513, if Customer is not purchasing via AWS Marketplace.

### Section 5(a) (Fees)

**Before:** ... Notwithstanding the foregoing, where Customer purchases
via a cloud service provider marketplace, Customer will pay the Fees
through the applicable marketplace in accordance with the applicable
marketplace terms. Fees paid by Customer are non-refundable. Where
Customer purchased the applicable Services via a cloud service provider
marketplace, any refund owed to Customer under this Agreement will be
paid or credited back through the applicable marketplace, and not
directly by Supabase to Customer. ...

**After:** ... Notwithstanding the foregoing, where Customer purchases
via AWS Marketplace, Customer will pay the Fees through AWS Marketplace
in accordance with the terms applicable to AWS Marketplace. Fees paid by
Customer are non-refundable. Where Customer purchased the applicable
Services via AWS Marketplace, any refund owed to Customer under this
Agreement will be paid or credited back through the AWS Marketplace, and
not directly by Supabase to Customer. ...

The rest of 5(a) is unchanged.

### Section 14(a) (Entire Agreement), last sentence

**Before:** For clarity, the terms of any cloud service provider
marketplace apply solely with respect to the payment matters described
in Section 5(a) and do not otherwise amend or supersede this Agreement.

**After:** For clarity, the terms of AWS Marketplace apply solely with
respect to the payment matters described in Section 5(a) and do not
otherwise amend or supersede this Agreement.

## Solution

- Add `apps/www/data/legal/terms/v4-1.mdx`, a copy of `v4.mdx` with only
three passages changed: the second sentence of Section 1.j, the
marketplace wording in Section 5(a), and the last sentence of Section
14(a). The AWS Marketplace URL in 1.j is formatted as a markdown link,
like the other URLs in the document.
- Register `v4-1` in `apps/www/pages/terms.tsx` as the newest entry
(label "Version 4.1", effective October 9, 2026). v4 and older entries
are unchanged.

## Preview links

| Site | Live | Preview |
| ---- | ---- | ------- |
| WWW | [/terms](https://supabase.com/terms) | See the Vercel bot
comment on this PR (`/terms`) |

## Review instructions

1. Open `/terms` on the preview. The version selector should default to
"Version 4.1 — October 9, 2026".
2. Check Sections 1.j, 5(a), and 14(a) read as in the **After** text
above.
3. Switch the selector to "Version 4" and confirm they still read as in
the **Before** text.

## 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: legal
page change)

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

https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-12 10:23:01 +11:00
Danny White 255a80e219 refactor(apps): standardise existing favicon assets and declarations (#51419)
## Problem

- Favicon files and markup are duplicated across apps.

## Solution

- Replace old files with one ICO, one Apple icon and two manifest icons
per set.
- Share icon markup and add generation notes and scripts.
- Keep existing branding, including Learn's black and white icon.
- Make the border radius match across all apps’ favicons.

## Review instructions

- Check normal app icons and Studio staging in browser tabs.
- Check icons load under `/docs` and `/kb`.
- Run `node scripts/validate-favicons.mjs`. All 8 sets should pass.
2026-10-12 10:18:18 +11:00
claude[bot]andClaude 514938f2a6 Revert "chore(www): update Subprocessor List to October 8, 2026 (#51445)" (#51448)
<!-- claude-slack-attribution -->
_Requested by **Ali Waseem, Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1791467710430139)_

## Problem

Before: the Subprocessor List page
(`/legal/customer-resources/subprocessor-list`) links to the "Updated
October 8, 2026" PDF, added in #51445.

## Solution

After: the page links to the "Updated June 1, 2026" PDF again, until a
page listing all historical lists is built.

How: reverts #51445. Removes `October-8-2026.pdf` from
`apps/www/public/legal/subprocessor-list/` and restores the
`CURRENT_PDF` constant in
`apps/www/pages/legal/customer-resources/subprocessor-list.tsx` to
`June-1-2026.pdf` / `June 1, 2026`. `June-1-2026.pdf` was never removed,
so it is still in place. This is reverted pending a different page
structure.

## Review instructions

1. Open the preview of `/legal/customer-resources/subprocessor-list`.
2. Confirm the button reads "Subprocessor List - Updated June 1, 2026"
and downloads the June 1, 2026 PDF.

## 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)

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

https://claude.ai/code/session_01HVnxEAvXusb7JCGthHfMW7


---
_Generated by [Claude
Code](https://claude.ai/code/session_01HVnxEAvXusb7JCGthHfMW7)_

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-08 15:03:44 +00:00
claude[bot]andClaude a259302f36 chore(www): update Subprocessor List to October 8, 2026 (#51445)
<!-- claude-slack-attribution -->
_Requested by **Sofia Calado** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1791467710430139)_

## Problem

Before: the Subprocessor List page
(`/legal/customer-resources/subprocessor-list`) links to the "Updated
June 1, 2026" PDF.

## Solution

After: the page links to the new "Updated October 8, 2026" PDF.

How: added `October-8-2026.pdf` to
`apps/www/public/legal/subprocessor-list/` and updated the single
`CURRENT_PDF` constant (`file` and `displayDate`) in
`apps/www/pages/legal/customer-resources/subprocessor-list.tsx`.

Old PDF: `June-1-2026.pdf` is kept in place so any existing links to it
keep working. The directory had no history of removing old files, so I
left it alone; it can be deleted in a follow-up if preferred.

## Review instructions

1. Open the preview of `/legal/customer-resources/subprocessor-list`.
2. Confirm the button reads "Subprocessor List - Updated October 8,
2026" and downloads the new PDF (header "As of October 8, 2026").

## 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
change)

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

https://claude.ai/code/session_01HVnxEAvXusb7JCGthHfMW7


---
_Generated by [Claude
Code](https://claude.ai/code/session_01HVnxEAvXusb7JCGthHfMW7)_

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-08 08:41:11 -06:00
claude[bot]andClaude 7776b1f7ee docs(www): add Data Residency and Transfers FAQ legal page and Privacy Resources hub section (#51318)
<!-- ccr-slack-attribution -->
_Requested by **Sofia Calado** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1791273150504749?thread_ts=1791273150.504749&cid=C0161K73J1J)_

**Before:** The Data Residency and Transfers FAQ only existed as a PDF.
The Legal Hub (`/legal`) listed the Data Processing Addendum and the
Subprocessor List under "Customer Legal Resources", with no
privacy-specific grouping.

**After:** The FAQ is a native, indexable page at
`/legal/privacy-resources/data-residency-and-transfers-faq`. The Legal
Hub has a new "Privacy Resources" section with the Data Processing
Addendum, the Subprocessor List and the FAQ. The DPA and Subprocessor
List URLs are unchanged.

This publishes the FAQ as a web page and groups it with the other
privacy documents in the Legal Hub.

## Problem

The FAQ needs to be discoverable on supabase.com (including search) and
linked from the Legal Hub next to the DPA and Subprocessor List.

## Solution

How: the page mirrors the DPA shell (`DefaultLayout` > `NextSeo` >
`PageHeader` with `PageBreadcrumb` > `MDXProvider` > `LegalDocVersions`)
with a single `v1` entry. The body is
`data/legal/privacy-resources/data-residency-and-transfers-faq/v1.mdx`,
transcribed verbatim from the source PDF (17 questions in 9 sections),
with one correction confirmed by the requester: the marketplace Note
names "Supabase, Inc.", and the "plan documentation" link points to
`/docs/guides/platform/backups`. The Transfer Impact Assessment has no
direct link, so it and the Trust Center link go to
`https://trust.supabase.io`, as confirmed by the requester. The version
date reads "October 6, 2026", per the requester (the source PDF gave
only the month), and the closing "Last updated / Owner" line from the
PDF is dropped. Further edits made at the requester's direction: the
Usage Information bullet in the retention answer no longer states a log
purge period, and the Usage Information category in the data-location
answer now says "processors". PDF hyperlinks are mapped to real routes.
The hub gets a `privacy-resources` section, and the DPA and Subprocessor
List breadcrumbs now point to it (text and anchor only). The sitemap is
generated from `pages/**/*.tsx`, so the new route is included without
changes.

## Review instructions

1. Open `/legal` and check the "Privacy Resources" section lists the
three documents, and "Customer Legal Resources" still lists Terms of
Service, Support Policy and Service Level Agreement.
2. Open `/legal/privacy-resources/data-residency-and-transfers-faq` and
compare the text with the source PDF.
3. Click through the links in the page, and the breadcrumbs on the DPA
and Subprocessor List pages.

## Open questions for Legal

None remaining. The requester's edits are applied: the closing "Last
updated" line is removed, the ISO 27001 / SOC 2 link goes to
`/security`, the "Legal Hub" link in the subprocessor question goes to
`/legal`, and the meta description wording is confirmed.

## Checks

- `pnpm install --filter www...` worked. Prettier check passes on the
touched files, MDX compiles, and `next dev` renders both `/legal` and
the new page (200, indexable, canonical set).
- Full `tsc`/lint/`next build` were not run as CI-equivalent.

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

https://claude.ai/code/session_012JHSu7iLpQ3XPfmfQzFraw

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-08 10:01:57 +11:00
claude[bot]andClaude fb382b3018 Add Terms of Service v4 (effective October 5, 2026) (#51107)
<!-- ccr-slack-attribution -->
_Requested by **Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1790784371448999)_

## Problem

Commercial & Product Counsel supplied a new version of the Supabase
Terms of Service to be published as Version 4, effective October 5, 2026
(the same date the Enterprise Terms v4 update takes effect, once the
code freeze lifts).

## Solution

Adds `apps/www/data/legal/terms/v4.mdx` with the new agreement text
(transcribed from the supplied source document) and registers it as the
newest version in `apps/www/pages/terms.tsx`'s versions array, dated
October 5, 2026. Versions 1-3 are untouched. The new text also defines
"Supplemental Terms" and links it, at the one point the source
hyperlinks it, to `/legal/customer-resources/supplemental-terms`.

## Review instructions

1. Open the Vercel preview link for `/terms` below.
2. Confirm "Version 4" appears as the newest tab/version, dated October
5, 2026, with the updated agreement text.
3. Do not merge — this PR is held until the code freeze lifts on October
5, 2026 (see PRs #51100 and #51106 for the related Enterprise Terms /
Supplemental Terms work landing the same day).

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)

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

https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC


---
_Generated by [Claude
Code](https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC)_

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-07 09:07:10 +11:00
claude[bot]andClaude c006499d48 Add Enterprise Terms v4 (effective October 5, 2026) (#51106)
<!-- ccr-slack-attribution -->
_Requested by **Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1790784371448999)_

## Problem

The Enterprise SaaS Subscription Agreement at `/enterprise-terms` needed
a new version reflecting legal's latest draft, which introduces a
"Supplemental Terms" defined term, a standalone "Supabase"
contracting-entity definition (to support marketplace purchases), a new
Beta Releases warranty carve-out, and related marketplace billing/refund
language.

## Solution

Before: `/enterprise-terms` had three versions (v1–v3), with v3 dated
August 1, 2026, and no concept of "Supplemental Terms" anywhere in the
agreement.

After: adds **Version 4, effective October 5, 2026** as the newest entry
in the page's `versions` array (v1–v3 untouched):

- `apps/www/data/legal/enterprise-terms/v4.mdx` — new versioned MDX,
transcribed from legal's source document and following this directory's
existing formatting conventions (bold section numbers/defined terms,
`##`/`###` headings, no frontmatter or h1 — the h1 is rendered by
`PageHeader`).
- `apps/www/pages/enterprise-terms.tsx` — imports `v4.mdx` and adds it
to the front of the `versions` array with `effectiveDate: 'October 5,
2026'`.

How: the new v4 text is a faithful transcription of legal's draft onto
the existing v3 structure, so the diff is easy to review against v3 —
the substantive additions are the "Supabase" entity definition (1.9),
the "Supplemental Terms" defined term (1.13) and its references in
Section 2.1 (license scope) and Section 14.1 (order of precedence), a
new Section 10.5 (Beta Releases), and marketplace-related payment/refund
language in Section 5.1. The "Supplemental Terms" defined term is a live
markdown link to the new `/legal/customer-resources/supplemental-terms`
page (shipped separately in #51100) at its point of definition (Section
1.13), matching how the source document hyperlinks it.

## Review instructions

1. Open the `zone-www-dot-com` preview's `/enterprise-terms` page and
confirm the version selector defaults to "Version 4 — October 5, 2026".
2. Confirm Section 1.13 "Supplemental Terms" renders as a live link to
`/legal/customer-resources/supplemental-terms`.
3. Confirm Version 3 (and v1–v2) still render unchanged via the version
selector.

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] N/A — no docs topic edited (this is versioned legal content, not
`apps/docs`)

---

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

https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-07 09:06:49 +11:00
claude[bot]andClaude a629c9c1ac Add hidden Supplemental Terms legal page (#51100)
<!-- ccr-slack-attribution -->
_Requested by **Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1790784371448999)_

## Problem

No page existed yet for the upcoming "Supplemental Terms" document.
Nicole Kramer (Commercial & Product Counsel) needs a stable, linkable
URL to reference from future Terms of Service / Enterprise SaaS
Subscription Agreement updates, before the legal content itself is
ready. The page needs to be reachable by direct URL but not surfaced in
the visible Legal Hub nav yet, matching the existing "hidden" precedent
used for `/enterprise-terms`.

## Solution

Added a new page at `/legal/customer-resources/supplemental-terms`:

- `apps/www/pages/legal/customer-resources/supplemental-terms.tsx` — a
page component mirroring the existing Data Processing Addendum page
(`apps/www/pages/legal/customer-resources/data-processing-addendum.tsx`):
`DefaultLayout` + `PageHeader` (h1 "Supplemental Terms") +
`LegalDocVersions` rendering a single MDX version.
- `apps/www/data/legal/customer-resources/supplemental-terms/v1.mdx` —
placeholder body content (`_Content coming soon._`), no frontmatter/h1,
following this repo's existing legal MDX convention (the h1 is rendered
by `PageHeader`, not the MDX itself). Nicole will fill in the actual
legal content later.

**On "hidden":** I investigated the actual codebase state before
implementing, since the two precedents named didn't turn out to work the
same way:
- `/enterprise-terms` is genuinely hidden — it is not linked anywhere in
`apps/www/pages/legal/index.tsx`'s Legal Hub listing, and its `NextSeo`
meta sets `noindex: true, nofollow: true`.
- The Data Processing Addendum and Subprocessor List pages, by contrast,
**are** linked in the visible Legal Hub listing
(`apps/www/pages/legal/index.tsx`, "Customer Legal Resources" section) —
they are not hidden today.

Given that, this PR mirrors the DPA/Subprocessor List *structural*
pattern (route under `/legal/customer-resources/`, page-component +
versioned-MDX content) since that's what "under Customer Legal
Resources" means structurally in this codebase, but mirrors
`enterprise-terms`' *hidden* mechanism: the new page's `NextSeo` meta
sets `noindex: true, nofollow: true`, and — importantly — **no entry was
added** to the `sections` array in `apps/www/pages/legal/index.tsx`, so
it does not appear in the visible Legal Hub or any nav. The page is
reachable only via its direct URL.

Terms of Service and the Enterprise SaaS Subscription Agreement pages
were not touched.

## Review instructions

1. Confirm `/legal/customer-resources/supplemental-terms` renders with
h1 "Supplemental Terms" and placeholder body text.
2. Confirm the page does **not** appear anywhere on `/legal` (the Legal
Hub listing).
3. Confirm `apps/www/pages/terms.tsx` /
`apps/www/pages/enterprise-terms.tsx` (and their MDX content) are
unchanged.

## Checklist

- [x] I have read CONTRIBUTING.md
- [ ] N/A — no docs topic edited (legal page content is a placeholder,
not docs content)

---

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

https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC

---
_Generated by [Claude
Code](https://claude.ai/code/session_01K2vqszbsJiMJPABAnLMgaC)_

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-06 13:09:25 +11:00
Pamela Chia a9078612f2 fix(www): stop cross-zone link prefetch (#51066)
About 95% of the 404s served on supabase.com are App Router RSC
prefetches (`?_rsc=`) that www `<Link>`s fire at paths another zone
serves: `/docs`, `/dashboard`, `/library`, and the footer's
`humans.txt`, `lawyers.txt` and `security.txt`. Next.js can't prefetch
or client-navigate across multi-zone boundaries, so each prefetch 404s
even though the link itself works. I turned every www link into another
zone into a plain `<a>` and added a lint rule so new ones stay that way.

**Changed:**
- **Cross-zone links are plain anchors**: links that always leave www
(literal `/docs`, `/dashboard` and `.txt` hrefs, absolute
`https://supabase.com/dashboard` URLs, the `getDashboardCtaHref` CTAs)
render `<a>`. Renderers whose href comes from data (nav, footer, plan
and add-on CTAs, product cards) branch on `isCrossZoneHref`, which reads
the zone list from `lib/rewrites.js`. In-zone links stay `<Link>` and
keep prefetching.
- **New literal links can't regress**: `www/no-cross-zone-link` errors
on a `next/link` `<Link>` whose literal or template href points at
another zone. It evaluates `lib/rewrites.js` as production, so `/docs`
counts in every environment.
- **Click tracking survives the full navigation**:
`sign_in_button_clicked`, `start_project_button_clicked` and
`www_pricing_plan_cta_clicked` now send with `keepalive`, like
`sign_in_submitted` already did, so an immediate page load can't cancel
them. The mobile nav Sign in and Start your project buttons used
`legacyBehavior`, which never called their `onClick`: PostHog has no
`Mobile Nav` location for either event in the last 30 days. Those clicks
report from this PR on.
- **Typecheck no longer crashes**: the functions page's default export
inferred a type through `RealtimeLogs`'s unexported `Props`, which makes
the native TypeScript compiler panic during `tsc --noEmit`. I exported
`Props`.

**Note:** the lint rule only sees literal hrefs. A new renderer whose
href comes from data needs its own `isCrossZoneHref` branch, and review
is the only check on that.

## To test
`/docs` is only rewritten on production and absolute
`https://supabase.com/...` links are cross-origin on a preview, so the
preview proves the relative non-docs cases (`/dashboard*`, `/library`,
the footer .txt files). `/docs/...` prefetches still appear on the
preview because it has no docs rewrite.

Tested on Vercel preview:
- [x] Open `/` with the network tab filtered to `_rsc` and scroll to the
footer: no requests for `/dashboard*`, `/library`, `/design-system`,
`/kb`, `/evals`, `/humans.txt`, `/lawyers.txt` or
`/.well-known/security.txt`, while in-zone ones such as `/pricing`,
`/features` and `/blog` still appear
- [x] Same check on `/pricing`, `/auth`, `/database`, `/storage`,
`/realtime`, `/edge-functions`, `/blog` and a blog post: no `_rsc`
requests to `/dashboard*`, `/library` or the footer .txt files
- [x] Open the Developers dropdown on desktop and the mobile menu at
390px: no new `_rsc` requests to `/dashboard*` or `/library`
- [x] Click header Docs, footer Humans.txt, the hero Start your project
button and the pricing Free plan button: each lands where it did before
(`/docs`, `/humans.txt` text, `https://supabase.com/dashboard/sign-up`,
`https://supabase.com/dashboard/new?plan=free`). Signed out, the Free
plan button lands on the dashboard sign-in with
`plan=free&returnTo=%2Fnew`
- [x] Click the hero Start your project button: the
`/platform/telemetry/event` POST with `start_project_button_clicked`
completes with a 2xx after the page starts navigating. 201 with the
navigation held; on the real navigation the event still reached staging
PostHog
- [x] At 390px, open the mobile menu and click Sign in: a
`/platform/telemetry/event` POST with `sign_in_button_clicked` and
`buttonLocation: "Mobile Nav"` fires. Start your project in the same
menu also sends `start_project_button_clicked` with `buttonLocation:
"Mobile Nav"`
- [ ] Signed in, load `/`: no `/dashboard/projects?_rsc=` request (not
run: the preview origin has no signed-in session)
- [x] Open the desktop Product dropdown and the Product section of the
390px mobile menu: Compute shows its Private Alpha badge and the other
products show none (checks the master merge into `MenuItem`)

After deploy, `/` and `/pricing` on supabase.com show no `_rsc` requests
to `/docs*`, `/dashboard*` or `/library`. After a full day, the share of
supabase.com 404s carrying `_rsc=` should drop from about 95% to under
10%, and `sign_in_button_clicked` and `start_project_button_clicked`
should start showing a `Mobile Nav` location in PostHog.

## Linear
- fixes GROWTH-1294
2026-10-05 15:17:04 -07:00
51a167d910 feat(www): partners landing page (#47874)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added a redesigned Partners page with partnership options, benefits,
application steps, FAQs, integration resources, and featured partners.
- Added an on-page partner application form with questions tailored to
the selected partnership type.
- Added a confirmation message with next steps and a link to the OAuth
integration guide.
- **Bug Fixes**
- Updated partner application links to open the form on the Partners
page.
  - Added support for checkbox-group fields in forms.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Alan Daniel <stylesshjs@gmail.com>
Co-authored-by: Alex Hall <alex.hall@supabase.io>
Co-authored-by: Dion Zeneli <101271736+Dionysos288@users.noreply.github.com>
2026-09-25 15:53:32 +02:00
Danny White ec53175b8a refactor(ui): rename text-brand to text-primary (#50564)
## What kind of change does this PR introduce?

Refactor. Follow-up to #49871.

## What is the current behavior?

Branded (green) text still uses the `text-brand` classname while the
colour comes from `--primary`.

## What is the new behavior?

**Rename-only:** `text-brand` → `text-primary` across callsites and
docs. Leftover `bg-brand` / `border-brand` alias to `brand-default`. No
intentional colour changes in this PR.

This better matches how we treat our green in other components and
props, like `variant="primary"` for green buttons.

## To test

On light mode: smoke-test that branded text still looks like #49871
(readable green, not the bright fill).

-
[Homepage](https://zone-www-dot-com-git-dnywh-depr-316-text-brand-de2380-supabase.vercel.app/):
“Scale to millions” uses `text-primary`
- [Docs
homepage](https://docs-git-dnywh-depr-316-text-brand-to-primary-supabase.vercel.app/docs):
branded links like “More on self-hosting” are still readable
- [Typography
docs](https://design-system-git-dnywh-depr-316-text-brand-to-primary-supabase.vercel.app/design-system/docs/typography):
documents `text-primary`
- [Colour
usage](https://design-system-git-dnywh-depr-316-text-brand-to-primary-supabase.vercel.app/design-system/docs/color-usage):
`text-primary` is visibly darker than `bg-brand-default` _on light mode_
- [Studio auth
providers](https://studio-staging-git-dnywh-depr-316-text-brand-to-60fa6c-supabase.vercel.app/dashboard/project/_/auth/providers):
enabled provider badge text readable; status dot stays bright green

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Style**
* Updated branded text, link hover states, icons, badges, indicators,
and highlighted content across the Design System, Docs, Studio, Learn,
UI Library, and marketing experiences to use the primary theme color.
* Updated syntax highlighting and table-of-contents styling for
consistent primary-color presentation.
  * Refined brand color fallback behavior for bright fills and borders.

* **Documentation**
* Updated color-usage and typography guidance to recommend the primary
text utility.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-22 16:19:03 +10:00
Danny WhiteandJoshen Lim a31ca2bad0 fix(ui): make brand text readable across themes (#49871)
## What kind of change does this PR introduce?

Bug fix and design-system update. Resolves DEPR-316.

Follow-up rename (`text-brand` → `text-primary`) is in a dedicated PR
(https://github.com/supabase/supabase/pull/50564) stacked on this one.

## What is the current behavior?

`text-brand` resolves to the canonical bright brand green in places that
need readable text, which fails WCAG AA on light surfaces. A separate
`text-brand-display` token adds another green for large type.

## What is the new behavior?

- `text-brand` maps to accessible `--primary` (light mode darkened to
meet ~4.5:1 AA)
- `--hue` / `--primary-hue` aligned to 157.5
- `text-brand-display` removed; former display callsites use
`text-brand`
- Bright fills/borders stay on `brand-default`
- Design-system colour and typography docs updated

| Before | After |
| --- | --- |
| <img width="514" height="112" alt="CleanShot 2026-09-02 at 11 13
09@2x"
src="https://github.com/user-attachments/assets/4e0138a9-a32d-4e4c-a426-90736706e1e7"
/> | <img width="512" height="138" alt="CleanShot 2026-09-21 at 11 42
05@2x"
src="https://github.com/user-attachments/assets/164cc5b1-a0c5-4e93-95f1-80016641a114"
/> |
| <img width="864" height="266" alt="CleanShot 2026-09-02 at 11 13
53@2x"
src="https://github.com/user-attachments/assets/3c1ca53f-bf9e-431e-bc15-816b4a275b8e"
/> | <img width="882" height="248" alt="CleanShot 2026-09-21 at 11 41
37@2x"
src="https://github.com/user-attachments/assets/24828e7b-ed6b-44cb-b9dc-becc3398bdfc"
/> |
| <img width="782" height="692" alt="CleanShot 2026-09-02 at 11 16
30@2x"
src="https://github.com/user-attachments/assets/fc871977-77bc-47fb-9e0e-9284e0ecd5cc"
/> | <img width="730" height="690" alt="CleanShot 2026-09-21 at 11 42
52@2x"
src="https://github.com/user-attachments/assets/bf479515-d5f9-471e-b82d-f097c0f4b56c"
/> |
| <img width="480" height="306" alt="CleanShot 2026-09-02 at 11 18
53@2x"
src="https://github.com/user-attachments/assets/03f341f4-f02e-44f8-a2b2-8c31670d0427"
/> | <img width="470" height="300" alt="CleanShot 2026-09-21 at 11 43
19@2x"
src="https://github.com/user-attachments/assets/9df18217-d5e6-48b8-ba0b-579d2664b94b"
/> |
| <img width="960" height="300" alt="CleanShot 2026-09-02 at 11 32
04@2x"
src="https://github.com/user-attachments/assets/6b1d9373-7a71-4247-81ff-26441604b09d"
/> | <img width="980" height="306" alt="CleanShot 2026-09-21 at 11 44
13@2x"
src="https://github.com/user-attachments/assets/41ad4784-02ec-4b29-b860-32af9fa79aa8"
/> |
| <img width="924" height="214" alt="CleanShot 2026-09-02 at 11 34
44@2x"
src="https://github.com/user-attachments/assets/1de661fe-c7b6-499b-a94f-e4737436ec79"
/> | <img width="752" height="162" alt="CleanShot 2026-09-21 at 11 44
56@2x"
src="https://github.com/user-attachments/assets/1811890f-0660-4445-84e9-447720954fa1"
/> |

## To test

Test each callsite **in light mode** (dark mode is largely unchanged).

### WWW

-
[Homepage](https://zone-www-dot-com-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/):
“Scale to millions” uses readable brand text (display token is gone)
-
[Careers](https://zone-www-dot-com-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/careers):
small “Careers” eyebrow readable; green dividers stay bright
`brand-default`
-
[Contact](https://zone-www-dot-com-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/contact-us):
email / policy links use readable brand text
-
[Regions](https://zone-www-dot-com-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/regions):
“Ask about early access to BYOC” readable

### Docs

- [Docs
homepage](https://docs-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/docs):
“DOCS” wordmark and resource links readable
- [Database
overview](https://docs-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/docs/guides/database/overview):
nav / footer brand links readable
- [JavaScript
reference](https://docs-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/docs/reference/javascript/introduction):
active sidebar treatment readable

### Design system

-
[Typography](https://design-system-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/docs/typography):
documents `text-brand` only (no display)
- [Colour
usage](https://design-system-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/docs/color-usage):
`text-brand` vs `bg-brand-default`
- [Design-system
homepage](https://design-system-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/):
brand text examples across themes

### Studio

- [Auth
providers](https://studio-staging-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/dashboard/project/_/auth/providers):
enabled provider badge text readable; status dot stays bright
- [Database
policies](https://studio-staging-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/dashboard/project/_/database/policies?new=true):
template hover text more legible
- [Database
connections](https://studio-staging-git-dnywh-depr-316-brand-text-tokens-supabase.vercel.app/dashboard/project/_/observability/connections):
“Live” status readable; animated dot stays bright green

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2026-09-22 10:07:28 +10:00
claude[bot]andClaude adca15deab chore(www): add Privacy Policy v4 (data controller entity, Freebuff cookie) (#50392)
<!-- ccr-slack-attribution -->
_Requested by **Sofia Calado** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1789462983606899)_

## 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?

Content update — a new version (v4) of the Privacy Policy legal page,
added following the existing versioned-legal-page pattern (v1-v3 already
present, selectable via a version dropdown).

## What is the current behavior?

Before: On `/privacy`, the latest selectable version is "Version 3 — May
13, 2026". That text names "Supabase, Inc" as the entity you're dealing
with — both in the opening paragraph ("Thank you for your interest in
Supabase, Inc., ...") and again as the named data controller in the
EEA/UK/Switzerland disclosures section ("Supabase, Inc is the data
controller..."). The Section 8 cookie table (EEA cookies) lists nine
cookies/rows (Stripe x3, Cloudflare x2, Youtube, hCaptcha, Posthog,
Google Analytics 4, Google Ads, `_sb_first_referrer`) and does not
mention Freebuff anywhere.

## What is the new behavior?

After: `/privacy` gains a new "Version 4" entry in the dropdown, at the
top of the list (selected by default). Reading Version 4, the same two
passages instead name "Supabase Pte. Ltd." as the entity/data
controller. The Section 8 cookie table gains one additional row for
"Freebuff" (Type: Advertising; dropped when you visit the Site after
interacting with a Freebuff ad; 30-day duration; purpose: measuring ad
campaign performance and attributing conversions to ad clicks upon
consent; linking to the Freebuff Privacy Policy), formatted identically
to the existing rows. Versions 1-3 are unchanged and remain selectable.

## Additional context

Two changes, scoped exactly as requested:
1. **Data controller entity**: every "Supabase, Inc" / "Supabase Inc."
reference that names the data controller is replaced with "Supabase Pte.
Ltd." — at the top of the policy and in the EEA disclosures section. No
other "Supabase" references (e.g. plain brand mentions) were touched.
2. **Freebuff cookie row**: added to the Section 8 (EEA cookies) table,
matching the existing table's markdown formatting exactly.

**Open question — effective date needs Sofia/Nicole's input before
merge.** No effective date was given for v4. The version-selector
component (`LegalDocVersions`) requires a non-empty `effectiveDate`
string per version to render (used both in the dropdown label and, for a
single-version page, an on-page line) — there's no way to add the
version without wiring some string. Following the pattern's convention
of never inventing a plausible-looking date, `effectiveDate` is set to
the literal placeholder `'TBD'` for v4 in `apps/www/pages/privacy.tsx`.
**This must be replaced with a real effective date before this PR
merges** — flagging for Sofia Calado / Nicole Kramer to confirm.

**Validation**: `pnpm --filter=www build` fails in this sandbox due to
an unrelated prebuild step (`docs` app's `build:federated-content`
script needs live GitHub API credentials to fetch tags — 401 Bad
credentials — not related to this change). `tsc --noEmit` on `apps/www`
ran clean of any error touching `privacy.tsx` or the privacy `.mdx`
files (all reported errors are pre-existing, about unrelated missing
generated assets/images). As a direct substitute, all four
`apps/www/data/legal/privacy/*.mdx` files (v1-v4) were compiled through
the app's actual MDX pipeline (`@mdx-js/mdx` with the same
`remark-code-hike` + `remark-gfm` + `rehype-slug` config as
`next.config.mjs`) and all compiled successfully, confirming the new
table syntax and content are valid MDX/GFM.

Files touched:
- `apps/www/data/legal/privacy/v4.mdx` (new)
- `apps/www/pages/privacy.tsx` (added v4 to the `versions` array)

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

https://claude.ai/code/session_01BzHiVEUzjvrwxgnxCrrER1

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-16 17:26:21 +08:00
Jordi Enric fb22534439 fix: share sentry crash policy and enable www reporting (#50232)
## Problem

The website initializes Sentry only on the server and edge runtimes,
leaving browser crashes unreported. Its crash-reporting setup also needs
the same consent and third-party filtering policy that docs and Studio
otherwise maintain separately.

## Fix

Add www browser initialization and tagged crash capture for both Next.js
routers, with accessible fallback focus. Move the shared
consent/platform and third-party filtering into common/sentry, reuse it
from all three apps, and remove the duplicated docs/www helpers and
tests. Preserve each app's initialization and Studio's additional noise
filtering, sampling, and sanitization.

Include the source-map upload token in www's build cache inputs, and
trigger the shared/www and Studio test workflows when the shared policy
changes.

## How to test

- Run `pnpm --filter www test ../../packages/common/sentry.test.ts
lib/sentry-capture.test.tsx`: all 22 shared-policy and real-SDK capture
tests passed locally.
- Run `pnpm --filter studio exec vitest run
lib/sentry-client-options.test.ts`: all 42 Studio options and
policy-parity tests passed locally.
- The www capture tests exercise the actual initializer and both router
handlers with an in-memory transport, verify crash tags and fallback
focus, and enforce consent. Removing initialization, capture calls,
boundary tags, or consent gating was verified to fail these tests.
- On a www preview with its DSN configured, accept telemetry consent and
trigger temporary render errors in both routers. Verify they reach the
www Sentry project with the boundary tag and readable stack traces.

Formatting passes. Full local app typechecks encounter existing
dependency/generated-file drift, with no diagnostics in changed files.
Three unchanged TanStack mock call-count tests fail locally and
reproduce against the pre-refactor implementation. Live Sentry ingestion
and source-map uploads remain deployment checks.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Accessibility**
- Error pages now automatically move focus to a clearly labeled error
message, helping screen-reader and keyboard users understand when a page
fails.

- **Reliability**
- Browser error reporting now captures application crashes more
consistently across supported page types and navigation transitions.
- Reporting respects consent and platform availability while filtering
unrelated third-party failures.

- **Testing**
- Expanded automated coverage for error capture, reporting rules,
consent handling, and accessible error-page behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-14 09:28:08 +02:00
Danny White 476d4a5851 refactor(ui): drop redundant Button variant="default" props (#50161)
## What kind of change does this PR introduce?

Mechanical cleanup on top of the Button default-variant change (#50160).

## What is the current behavior?

Many callsites still pass `variant="default"` even though that is now
the component default.

## What is the new behavior?

Removes redundant static `variant="default"` from legacy `Button` and
`ButtonTooltip` callsites. Keeps explicit defaults where they document
the API:

- `button-default.tsx` and `button-sizes.tsx` demos
- `DocsButton`, which pins neutral styling at the wrapper boundary

## To test

Studio:

- [Auth → Rate
Limits](https://studio-staging-2s957kwc4-supabase.vercel.app/dashboard/project/_/auth/rate-limits):
dirty the form so Cancel appears; Cancel stays neutral, Save stays green
- [Project Settings → API
Keys](https://studio-staging-2s957kwc4-supabase.vercel.app/dashboard/project/_/settings/api-keys):
`DocsButton` in the header actions stays neutral

Design system:

- [Design system →
Button](https://design-system-git-dnywh-dc924ac1-supabase.vercel.app/design-system/docs/components/button):
`button-default` / `button-sizes` still show explicit default styling;
Primary (green) is restricted to the Primary section (and `asChild`)

WWW:

- [www → Brand
assets](https://zone-www-dot-com-git-dnywh-dc924ac1-supabase.vercel.app/brand-assets):
Download logo kit / Download button kit stay neutral
2026-09-11 17:05:26 +10:00
Anthony Lio b8b92fe566 fix(www): careers page error (#50185)
## What kind of change does this PR introduce?

bug fix careers page on anchor link click

## What is the current behavior?

on `/careers`, clicking "open positions", scrolling down and back up,
then clicking it again crashes the page

## What is the new behavior?

destructuring defaults on the page props, so an empty-props render is
harmless instead of fatal _ prefetch still returns `{}`, but the
sequence now renders normally instead of throwin

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved the careers page so it renders correctly when job listings,
placeholder job details, or contributor information are unavailable.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-10 10:15:30 +03:00
Danny White 1131e3e2ce fix(ui): default Button variant to default instead of primary (#50160)
## What kind of change does this PR introduce?

Bug fix / design-system alignment for the legacy `Button` from `ui`.

## What is the current behavior?

Omitting `variant` on the legacy `Button` falls back to brand-green
`primary`. That makes accidental greens easy, and it is hard to spot the
real main action on busy pages.

## What is the new behavior?

- Legacy `Button` now defaults to neutral `default`
- Intentional primary CTAs (create, save, submit, marketing CTAs, and
matching `ButtonTooltip` usages) now set `variant="primary"` so their
appearance is unchanged
- Neutral actions that previously relied on the old fallback (cancel,
close, back, dashboard nav, and similar) become grey/white
- Design-system docs updated; regression tests cover the new default

`Button_Shadcn_` is unchanged. It already uses its own CVA default.

This is PR 1 of 2 in a stack. PR 2 drops now-redundant
`variant="default"` props.

## To test

Studio (http://localhost:8082):

- `/sign-in`: Sign in stays green
- Open a project → Database → Tables: New table stays green
- Auth → Users → Invite: Invite user stays green; Cancel / dismiss
controls stay neutral
- Project Settings → General: edit a field so Cancel and Save appear.
Cancel is neutral, Save is green

Design system (http://localhost:3003):

- Components → Button: default demo is neutral; primary demo is green;
featured preview is the default variant

Marketing (optional):

- www header: Start your project stays green; logged-in Dashboard is
neutral

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Style**
- Buttons now default to a neutral style, while primary actions across
Studio, documentation, marketing pages, forms, dialogs, and error states
use prominent primary styling.
- Updated button examples and previews clarify the distinction between
default and primary variants.
  - Event registration now includes a directional arrow icon.

- **Tests**
- Added coverage confirming default button styling and explicit primary
styling behave as expected.
- Updated related test fixtures to use primary styling where
appropriate.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-10 11:23:17 +10:00