mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
bot/decrease-eslint-ratchet-baselines
2
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
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> |
||
|
|
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> |