mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
bot/decrease-eslint-ratchet-baselines
10
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
5be070974d | Add Data Processing Addendum v2 (effective December 1, 2026) (#54301) | ||
|
|
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> |
||
|
|
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> |
||
|
|
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> |
||
|
|
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> |
||
|
|
b6d4239010 |
Update Supplemental Terms placeholder text (#51301)
<!-- ccr-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1790784371448999)_ ## Problem **Before:** The Supplemental Terms page (`/legal/customer-resources/supplemental-terms`) says "Content coming soon." **After:** The page shows "Check here for any feature specific terms that we may need to release, or clauses that allow for compliance with geography specific laws that we may introduce." ## Solution Replaces the placeholder body in `apps/www/data/legal/customer-resources/supplemental-terms/v1.mdx` with the supplied text, as a plain paragraph. Nothing else changes. ## Review instructions 1. Open the Vercel preview link for `/legal/customer-resources/supplemental-terms`. 2. Confirm the page shows the new text instead of "Content coming soon." ## 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> |
||
|
|
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> |
||
|
|
76a9ba968c |
refactor(www): unify legal page shells and versioning (#48483)
<!-- ccr-slack-attribution --> _Requested by **Francesco Sansalvadore, 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? Refactor of the marketing site's legal pages, plus two small content fixes (removal of duplicated dates, two heading corrections) and two permanent redirects. ## What is the current behavior? The documents linked from the Legal Hub are built three different ways: - `/terms` and `/enterprise-terms` render a plain inline heading with no breadcrumbs. - `/sla`, `/support-policy`, `/aup` and `/privacy` are standalone MDX pages carrying their own layout. - `/legal/dpa` has a one-off centered heading and grid of its own. On top of that, the documents that already have a version selector *also* print a "Last Modified" line inside the document body, so the same fact is stated twice on the page. On `/terms` and `/enterprise-terms` the two statements disagree: the selector says "Version 2 — May 6, 2026" while the body says "Last Modified: 1 May 2026". `/privacy` handles its history differently again — earlier versions live at their own archived URLs (`/privacy-260316` and `/privacy-250528`), strung together by "Previous Version" links at the bottom of each page. ## What is the new behavior? Every legal page now renders through one shell: `PageHeader` with a `PageBreadcrumb`, so the Legal Hub is one click away from any document. - The duplicate "Last Modified" rows are removed from the five versioned documents. The version selector is now the single place a date appears. - `/aup` and `/privacy` gain the version selector. - `/privacy`'s three historical versions are now selectable from the one page, and the two old archived URLs permanently redirect to it. - `/sla` and `/support-policy` pick up the shell and breadcrumbs but intentionally show neither a date nor a selector — neither document has ever carried one, and Legal asked that the SLA stay that way for now. Implementation-wise the canonical pattern is the one the Data Processing Addendum page was already using: `DefaultLayout` > `NextSeo` > `PageHeader` (with a `breadcrumb` slot) > `MDXProvider` > `SectionContainer className="prose"` > `LegalDocVersions`. The standalone MDX pages were moved to `apps/www/data/legal/<slug>/vN.mdx` as bare content partials, with a new TSX shell taking over the original route. No route changed except the two archived privacy pages, which redirect. Dates were carried across from the "Last Modified" lines being deleted rather than invented: `/aup` becomes Version 1 — June 1, 2026, and privacy v1/v2/v3 become May 28 2025, March 16 2026 and May 13 2026. ## Additional context **This is a stacked PR.** It is sequenced behind three PRs that touch the same files and should land first: the Terms of Service v3 bump, the Enterprise SaaS Subscription Agreement v3 bump, and #48481 (DPA effective date → August 1, 2026). #48481 edits the very "Last Modified" line this PR removes from the DPA content file, so a trivial conflict there is expected. This branch will be rebased onto master before it leaves draft. **Two contracts now contain a clause that no longer describes the page.** `apps/www/data/legal/terms/v1.mdx` and `v2.mdx` — and the same sentence in the MPPA and both integration-partner addenda — still read "The date on which the Agreement was last modified will be updated at the top of this Agreement". There is no longer a date in the document body; it sits in the version selector above it. Left untouched here because it is contract text, but Legal should re-word it. **The date mismatch is resolved in favour of the selector.** On `/terms` and `/enterprise-terms`, deleting the body line leaves May 6, 2026 as the only date on the page. Nicole Kramer confirmed in Slack that May 6 is the correct date. **Two headings change visibly**, to line up with the labels used on the Legal Hub: "Terms of service" → "Terms of Service", and "Service Level Agreements" → "Service Level Agreement". **`/legal/dpa` now looks almost identical to `/legal/customer-resources/data-processing-addendum`** — same heading, same breadcrumb, different content. The legacy page is a PDF download plus a signing flow and was deliberately left live, but the overlap is more obvious than it was. Redirecting it to the versioned page is the natural follow-up; it is not done here. **Build verification was incomplete in this environment.** `pnpm install` could not finish because `npm.jsr.io` is blocked by network policy (403), so `next build` never gave a real signal. What did run and pass: - `tsc --noEmit` on `apps/www`, with output byte-identical to clean master - ESLint on every changed file — 0 errors - Prettier using the repo's actual config - a direct MDX compile of all 14 `data/legal/**/*.mdx` files using the app's own MDX options The one thing left unverified is webpack resolving `ui-patterns/PrivacySettings` from the privacy content's new directory. CI will confirm that. Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
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> |
||
|
|
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> |