feat: add Privacy Notice page in all 7 locales #150
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
javascript
question
severity: high
severity: low
severity: medium
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
isyuricunha/website!150
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/privacy-notice-page"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this adds
A
/privacypage (all 7 locales: en, pt, es, fr, de, ja, zh-CN) documenting what the site does and does not do with visitor data — requested after auditing the actualgetClientIp/rate-limiting code in PR #149 and confirming plain-text IP storage in production.Content basis (verified against the actual codebase, not boilerplate)
localStorage— verified inapps/web/src/utils/yue-chat-storage.ts. The server never persists message content.apps/web/src/lib/ai/ai-observability.ts(response time, estimated token count, provider/model, status code, endpoint). No message text.messageId— verified inpackages/db/src/schema/ai-chat-feedback.ts. Not the surrounding conversation.Structure
apps/web/src/app/[locale]/(main)/privacy/page.tsx— new route, follows the same pattern as the existing/usespage (WebPageJSON-LD,build_alternates,getLocalizedPath)apps/web/src/content/pages/<locale>/privacy.mdx— one file per locale (7 total)privacy.title/privacy.description(page metadata) andlayout.privacy(footer link label) added to all 7packages/i18n/src/messages/*.jsonfilesFOOTER_LINKSinapps/web/src/config/links.tsxValidation
pnpm turbo type-check --filter=@isyuricunha/web --filter=@isyuricunha/i18n— cleanpnpm turbo lint(same filters) — clean,--max-warnings 0pnpm test:unit(full suite, includes the i18n key-parity test across all 7 locales) — 185/185 passedcontent-collections buildcompiled all 7 new MDX documents successfully (538 total documents, up from 531)Follow-up
I'm separately looking into hashing/anonymizing the plain-text IP addresses in the logging tables (
analytics_events,error_logs, etc.) mentioned above — that's a schema-level change and will come as its own PR.The latest updates on your projects. Learn more about Vercel for GitHub.