Commit Graph
15 Commits
Author SHA1 Message Date
claude[bot] 5be070974d Add Data Processing Addendum v2 (effective December 1, 2026) (#54301) 2026-12-01 09:59:17 +01: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
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
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
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
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
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 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
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
Pamela Chia 4ae0c08967 feat: tos v3 update banner + publish subprocessor list (#48524)
Terms of Service v3 (effective August 1, 2026, #48482) incorporates the
Data Processing Addendum by reference, and Legal asked for an in-app
notice announcing the change. The subprocessor list page that the new
Terms, DPA, and notice all point at was merged as an intentionally
hidden draft (#48100) and never un-hidden.

**Changed:**

- **Dashboard ToS-update banner**: re-enables `BannerTOSUpdate` with the
v3 copy provided by Legal (DPA incorporation, subprocessor list
location, fees provisions). New expiry (August 29) and a new
localStorage key, since anyone who dismissed the May v2 banner would
otherwise never see this one.
- **Subprocessor list page published**: removes `noindex,nofollow` and
links the page from the Legal Hub index, so the page customers are told
to subscribe on is actually discoverable.
- **Studio e2e fixture updated**: the global Playwright fixture
suppressed the banner via the old localStorage key; with the gate live
again it would have rendered the banner into every e2e run. It now sets
the new key.

## To test

Verified on the Vercel previews :

- [x] Studio: banner renders on dashboard load with the Notice badge and
new copy; Learn more dialog shows the three changes with correct hrefs
(DPA page, subprocessor list, /terms); Understood dismisses and persists
across reload via `terms-of-service-update-2026-08-01`
- [x] www: `/legal` lists Subprocessor List under Customer Legal
Resources; `/legal/customer-resources/subprocessor-list` serves `robots`
meta `index,follow` and renders the download button + subscribe form;
zero console errors on all tested pages

## Linear

- fixes GROWTH-1067


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

## Summary by CodeRabbit

* **New Features**
* Added a publicly accessible Subprocessor List to the legal resources.
* Updated the Terms of Service notice to reflect the August 1, 2026
update, including data processing, subprocessors, fraud prevention, and
consumer provisions.

* **Documentation**
* Made the Subprocessor List discoverable through standard search
indexing and the legal resources page.
* Extended the Terms of Service banner availability through August 29,
2026.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-07-31 15:49:08 +08:00
claude[bot]andClaude 4db78dfe5f chore(www): update DPA effective date to August 1, 2026 (#48481)
<!-- ccr-slack-attribution -->
_Requested by **Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1785399057853249?thread_ts=1785399057.853249&cid=C0161K73J1J)_

## 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 — moves the Data Processing Addendum's effective date out
by two months.

## What is the current behavior?

The DPA page at `/legal/customer-resources/data-processing-addendum`
shows "Version 1 — June 1, 2026" in the version selector, and the
document body opens with "Last Modified: 1 June 2026".

## What is the new behavior?

Both now read August 1, 2026: the version selector shows "Version 1 —
August 1, 2026" and the document opens with "Last Modified: 1 August
2026".

## Additional context

The page renders a hardcoded `versions` array through the shared
`LegalDocVersions` component, so the effective date lives in the TSX
file; the "Last Modified" line is simply the first line of the MDX
content file. Both were updated, each keeping its file's existing date
format (`M D, YYYY` in the TSX, `D Month YYYY` in the MDX). No other
content changed.

### Not changed — flagging for confirmation

The same June 1, 2026 date appears on a few other surfaces. I left them
alone because they are either different documents or point at a dated
PDF asset that would need to be re-generated and re-uploaded. Let me
know if any of these should move too:

- `apps/www/pages/legal/dpa.tsx` — the legacy `/legal/dpa` page, which
links `Supabase+DPA+260601.pdf`
- `apps/studio/components/interfaces/Organization/Documents/DPA.tsx` —
Studio links that same PDF
- `apps/www/pages/legal/customer-resources/subprocessor-list.tsx` — the
subprocessor list (`June-1-2026.pdf` and a "June 1, 2026" label); a
separate document
- `apps/www/pages/aup.mdx` — the Acceptable Use Policy, "Last Modified:
1 June 2026"; a separate document

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-30 12:49:19 +02:00
claude[bot]andClaude 35b2e82852 feat(www): add Data Processing Addendum legal page (#48269)
<!-- ccr-slack-attribution -->
_Requested by **Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1784836047880599?thread_ts=1784836047.880599&cid=C0161K73J1J)_

## What kind of change does this PR introduce?

Feature — a new marketing-site legal page.

## What is the current behavior?

There is no Data Processing Addendum page under Customer Legal
Resources. The only DPA content is a legacy `/legal/dpa` page that links
out to a static PDF.

## What is the new behavior?

**Before:** no DPA page under Customer Legal Resources; DPA content
lived only on the legacy `/legal/dpa` page (static PDF link).

**After:** a new DPA page at
`/legal/customer-resources/data-processing-addendum`, styled like the
Terms of Service page — a version dropdown ready for future versions, a
"Last Modified: 1 June 2026" line, and the full DPA text (14 clauses + 3
schedules). A "Data Processing Addendum" link is added to the Legal Hub
under Customer Legal Resources, using the same FileText icon as Terms of
Service.

**How:**
- New versioned MDX at
`apps/www/data/legal/customer-resources/data-processing-addendum/v1.mdx`.
- New page
`apps/www/pages/legal/customer-resources/data-processing-addendum.tsx`,
modeled on the ToS / integration-partner-addendum pattern and rendering
via the shared `LegalDocVersions` component (`versions` entry: `{ id:
'v1', label: 'Version 1', effectiveDate: 'June 1, 2026' }`).
- Legal Hub link added in `apps/www/pages/legal/index.tsx` with `type:
'document'`.

## Preview

Please review on the Vercel preview deploy. Two URLs to check:
- `/legal/customer-resources/data-processing-addendum`
- `/legal`

## Notes for reviewers

- Content was converted faithfully from the provided .docx (normalized
word-content diff: 5678/5678 words, zero missing/extra). The source has
no tables.
- The legacy `/legal/dpa` page (static PDF link) is left untouched —
flag if it should be redirected to the new route or retired.
- Typecheck/lint could not be run in the build sandbox due to an
unrelated JSR-registry 403 during `pnpm install`; Prettier was run and
passes. Please confirm CI (typecheck + lint) is green.

## Additional context

Version dropdown is single-version for now and is set up to accept
future DPA versions.

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

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-28 15:07:55 +02:00
claude[bot]andClaude ffd5a93f37 feat(www): add hidden Legal Hub subprocessor list page (draft) (#48100)
<!-- ccr-slack-attribution -->
_Requested by **Nicole Kramer** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1783431374242039?thread_ts=1783431374.242039&cid=C0161K73J1J)_

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

Feature (`apps/www`).

## What is the current behavior?

No public page for Supabase's subprocessor list, and no way for
customers to be notified when it changes.

## What is the new behavior?

A new hidden page at `/legal/customer-resources/subprocessor-list` shows
the current dated subprocessor PDF and lets anyone subscribe with their
name and email to receive an email whenever the list is updated. The
page is `noindex` and not linked from any nav, so it's shareable by
direct URL only for now. Mirrors Wiz's sub-processor-list page.

**How:**

- **Page**
`apps/www/pages/legal/customer-resources/subprocessor-list.tsx` —
pages-router, mirrors the existing Legal Hub pages (`DefaultLayout`,
`NextSeo`, `PageHeader` + breadcrumb, `SectionContainer` prose). Embeds
the PDF (inline preview + download link) and renders the subscribe form.
Marked `NextSeo` noindex/nofollow and intentionally left unlinked.
- A single `CURRENT_PDF` constant (filename + display date) is the only
thing to change when Legal hands over a new dated PDF.
- **Form** `apps/www/components/SubprocessorUpdatesForm.tsx` — mirrors
`SecurityNewsletterForm` (First name, Last name, Email; `ui`
primitives). Carries the framing copy verbatim, with **Subscribe to
updates** bold and Privacy Policy linked to
https://supabase.com/privacy.
- **API route**
`apps/www/app/api-v2/submit-form-subprocessor-updates/route.tsx` — exact
mirror of `submit-form-security-newsletter`; subscribes the user to the
Customer.io "Subprocessor Alerts" subscription (topic 4) via
`cio_subscription_preferences.topics.topic_4: true`.
- **PDF** `apps/www/public/legal/subprocessor-list/June-1-2026.pdf`.

**Updating the list in future:** Drop the new dated PDF into
`apps/www/public/legal/subprocessor-list/` and update the `CURRENT_PDF`
constant. Nothing else changes.

## Additional context

**Notes / to confirm:**

- Customer.io topic id `4` → `topic_4` (per Prashant); not independently
verified against Customer.io.
- Draft: page is intentionally unlinked and noindex until Legal signs
off.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-22 11:19:14 +01:00