Commit Graph
4 Commits
Author SHA1 Message Date
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 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