Skip to content

Claude/cookie popup legal terms ozu2eb - #109

Merged
vtempest merged 3 commits into
masterfrom
claude/cookie-popup-legal-terms-ozu2eb
Sep 22, 2026
Merged

vtempest merged 3 commits into
masterfrom
claude/cookie-popup-legal-terms-ozu2eb

Conversation

@vtempest

Copy link
Copy Markdown
Collaborator

No description provided.

The banner makes the same promises the Terms and the Privacy Policy make, in a
smaller box, and links to them — so it ships from the same package, and the two
stay one thing to maintain.

- `src/cookie-consent.ts` — the consent record and its localStorage, exported
  from the framework-free root so analytics gating and server code can read the
  choice without pulling React in. "Reject" records essential cookies only
  rather than nothing; a malformed record, and a browser that refuses storage
  at either the property access or the call, read as no decision instead of
  throwing.
- `src/react/CookieConsent.tsx` — the banner, Tailwind-styled and dark-mode
  ready like the page beside it, taking its copy, links, labels and storage key
  from props. `heightVar` publishes its measured height so other bottom-right
  chrome can sit above it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q5gjihR6tDv5ah4GHbwfQq
…-legal-terms-ozu2eb

# Conflicts:
#	packages/legal-terms-privacy-policy/package.json
@vercel

vercel Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cccp-deployment Error Error Sep 22, 2026 9:00am UTC
dev-tools-help-docs Error Error Sep 22, 2026 9:00am UTC
test-google-login Error Error Sep 22, 2026 9:00am UTC

@vtempest
vtempest merged commit 62e635d into master Sep 22, 2026
19 of 22 checks passed
@vtempest
vtempest deleted the claude/cookie-popup-legal-terms-ozu2eb branch September 22, 2026 08:27
@codecov

codecov Bot commented Sep 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

This branch had an error being deployed

3 failed deployments
Preview – cccp-deployment — 40511411 Deployed Sep 22, 2026 by vercel[bot]
Preview – dev-tools-help-docs — 40511411 Deployed Sep 22, 2026 by vercel[bot]
Preview – test-google-login — 40511411 Deployed Sep 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants