Files
supabase/apps/www/data/Footer.ts
Pamela Chia c4c58ef3e3 feat: remove pandadoc dpa request flow (#48525)
Terms of Service v3 (effective August 1, 2026, #48482) incorporates the
Data Processing Addendum by reference, so customers no longer sign a
separate DPA. Legal confirmed the PandaDoc signing flow can go;
previously signed DPAs remain binding. This removes the frontend flow
only. I'll remove the platform endpoint (`POST
/platform/organizations/{slug}/documents/dpa`) separately once the
PandaDoc contract conversation wraps.

**Changed:**

- **Dashboard DPA card no longer requests PandaDoc documents**: the
Request DPA button and confirm modal are replaced with a View DPA link
to the canonical legal page, with evergreen copy explaining the DPA is
part of the Terms. Tracked via the same `document_view_button_clicked`
event the other document cards use.
- **Legacy `/legal/dpa` page retired**: the page told users to request a
signed DPA from the dashboard, which no longer exists. It now
permanently redirects to
`/legal/customer-resources/data-processing-addendum` (the follow-up
already flagged in #48483), and the footer link is removed. The
`dpa_pdf_opened` and `dpa_request_button_clicked` events are removed
with their last call sites. The latest privacy version links the
canonical page directly; archived v1/v2 keep their original `/legal/dpa`
link, served by the redirect.
- **Orphaned DPA PDFs removed**: the four dated `Supabase+DPA+*.pdf`
files under `/downloads/docs` had zero remaining references once the
signing flow is gone. No redirect: nothing links these URLs, so they
404.
- **Subscription tracking**: the subprocessor updates form now fires
`www_subprocessor_updates_subscribed` on successful submit, so we can
measure uptake of the notification list that replaces per-customer DPA
emails.

## To test

Verified on the Vercel previews (Playwright):

- [x] Studio: `/org/_/documents` shows the DPA card with the
incorporation copy and a working View DPA link (href = canonical page);
no Request DPA button, no PandaDoc mention; TIA/SOC2/ISO27001/HIPAA
cards unaffected
- [x] www: `/legal/dpa` permanently redirects to
`/legal/customer-resources/data-processing-addendum`; footer no longer
shows DPA; zero console errors
- [x] www: subscribing on the subprocessor page succeeds (200 from the
form route, profile created with topic_4) and fires
`www_subprocessor_updates_subscribed` (201 from the telemetry endpoint);
test profile unsubscribed afterwards
- [x] www: `/downloads/docs/Supabase+DPA+260601.pdf` returns 404 with no
redirect; DPA card copy verified without the effective date

## Linear

- fixes GROWTH-1068
2026-07-31 16:18:25 +08:00

215 lines
3.9 KiB
TypeScript

import {
appTypeSolutions,
migrationSolutions,
skillBasedSolutions,
useCaseSolutions,
} from 'data/Solutions'
import { PrivacySettings } from 'ui-patterns/PrivacySettings'
const footerData = [
{
title: 'Product',
links: [
{
text: 'Pricing',
url: '/pricing',
},
{
text: 'Database',
url: '/database',
},
{
text: 'Auth',
url: '/auth',
},
{
text: 'Functions',
url: '/edge-functions',
},
{
text: 'Realtime',
url: '/realtime',
},
{
text: 'Storage',
url: '/storage',
},
{
text: 'Vector',
url: '/modules/vector',
},
{
text: 'Cron',
url: '/modules/cron',
},
{
text: 'Feature Catalog',
url: '/features',
},
{
text: 'Launch Week',
url: '/launch-week',
},
],
},
{
title: 'Solutions',
links: [
...skillBasedSolutions.solutions.map((solution) => ({
text: solution.text,
url: solution.url,
})),
...useCaseSolutions.solutions.map((solution) => ({
text: solution.text,
url: solution.url,
})),
...appTypeSolutions.solutions.map((solution) => ({
text: solution.text,
url: solution.url,
})),
...migrationSolutions.solutions.map((solution) => ({
text: solution.text,
url: solution.url,
})),
],
},
{
title: 'Resources',
links: [
{
text: 'Blog',
url: '/blog',
},
{
text: 'Support',
url: '/support',
},
{
text: 'System Status',
url: 'https://status.supabase.com/',
},
{
text: 'Become a Partner',
url: '/partners',
},
{
text: 'Partner Catalog',
url: '/partners/catalog',
},
{
text: 'Brand Assets',
url: '/brand-assets',
},
{
text: 'Security & Compliance',
url: '/security',
},
{
text: 'SOC2',
url: '/security',
},
{
text: 'HIPAA',
url: 'https://forms.supabase.com/hipaa2',
},
],
},
{
title: 'Developers',
links: [
{
text: 'Documentation',
url: '/docs',
},
{
text: 'Supabase UI',
url: 'https://supabase.com/ui',
},
{
text: 'Changelog',
url: '/changelog',
},
{
text: 'RSS',
url: '/rss.xml',
},
],
},
{
title: 'Community',
links: [
{
text: 'Events & Webinars',
url: '/events',
},
{
text: 'SupaSquad',
url: '/supasquad',
},
{
text: 'Contributing',
url: 'https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md',
},
{
text: 'Open Source',
url: '/open-source',
},
{
text: 'DevTo',
url: 'https://dev.to/supabase',
},
],
},
{
title: 'Company',
links: [
{
text: 'Company',
url: '/company',
},
{
text: 'Careers',
url: '/careers',
},
{
text: 'General Availability',
url: '/ga',
},
{
text: 'Legal Hub',
url: '/legal',
},
{
text: 'Privacy Policy',
url: '/privacy',
},
{
text: 'Privacy Settings',
component: PrivacySettings,
},
{
text: 'Acceptable Use Policy',
url: '/aup',
},
{
text: 'Humans.txt',
url: '/humans.txt',
},
{
text: 'Lawyers.txt',
url: '/lawyers.txt',
},
{
text: 'Security.txt',
url: '/.well-known/security.txt',
},
{
text: 'Contact Us',
url: '/contact-us',
},
],
},
]
export default footerData