Skip to content

feat(footer): legal notices, personal data, disclaimer, contact#11

Closed
abk1969 wants to merge 1 commit into
demo/carveout-narrativefrom
feat/footer-legal
Closed

feat(footer): legal notices, personal data, disclaimer, contact#11
abk1969 wants to merge 1 commit into
demo/carveout-narrativefrom
feat/footer-legal

Conversation

@abk1969

@abk1969 abk1969 commented May 16, 2026

Copy link
Copy Markdown
Owner

Summary

Extends the existing minimal footer (top notice + skill anchor) with the 4 collapsible legal sections required for a public-facing compliance tool. Stacks on PR #10.

Sections added

  1. Legal notices (Mentions légales) — publisher, hosting, licence pointer to the repo
  2. Personal data (Données personnelles) — explicit GDPR posture: the SPA runs entirely in the browser, with NO collection, transmission, cookies, trackers, or analytics. No processing under GDPR art. 4(2) since nothing leaves the device.
  3. Disclaimer (Avertissement) — decision-support only, not legal advice; references Reg. (EU) 2024/1689 as authoritative source; mentions evolving delegated acts + harmonised standards.
  4. Contact — GitHub issues + repo owner profile.

All bilingual EN/FR via the existing `UI` strings object. Plus a copyright/byline line at the bottom.

Implementation

  • Native HTML `
    ` / `` — no JS state, no modal infrastructure, accessible by default. Each section is collapsed initially; clicking the summary expands its body.
  • 2-column grid below the existing top notice. Single column on mobile.
  • `print:hidden` on the legal sections grid — PDF export already carries the verdict-page disclaimer, so the footer doesn't bloat the printed report.
  • Top notice + skill anchor (`github.com/abk1969/ai-act-skills v1.2.0`) preserved verbatim.

Editable content

The legal section bodies use deliberate language like "see the repository owner" and "varies per deployment" — the repo doesn't ship a named legal entity or fixed hosting. If you want stricter language (e.g., specific French `Loi pour la Confiance dans l'Économie Numérique` art. 6 III-1 disclosures), edit the UI strings (`footerLegalBody`, `footerContactBody`) and re-PR — no logic changes needed.

Tests

  • 114 passing (113 → 114, +1 footer smoke)
  • Smoke test: `querySelectorAll('footer details summary')` returns 4 elements containing the 4 expected section labels + the skill anchor remains visible
  • Build green at 284 kB JS (+5 kB for new strings/component)

Test plan

  • `npm run dev` — footer renders at the bottom of every step
  • Each `
    Details` summary expands on click and collapses on second click
  • FR ↔ EN toggle propagates to all 4 sections
  • PDF export does NOT include the 4 collapsible sections (only the top notice remains in print mode)
  • Mobile width: sections stack to one column

🤖 Generated with Claude Code

Extends the existing minimal footer (top notice + skill anchor) with 4
collapsible legal sections required for any public-facing compliance tool:

1. Legal notices — publisher, hosting, licence pointer to the repo
2. Personal data — explicit statement that the SPA runs entirely client-side
   with NO collection, transmission, cookies, trackers, or analytics. Makes
   the GDPR posture unambiguous (no processing under art. 4(2) since nothing
   leaves the browser).
3. Disclaimer — decision-support only, not legal advice, references the
   Regulation (EU) 2024/1689 source.
4. Contact — GitHub issues + repo owner profile.

Rendered as native <details> elements (no JS state, no modal infra) in a
2-column grid below the existing top notice. Bilingual EN/FR via the UI
strings object. Hidden from print mode (PDF export already carries the
verdict-page disclaimer).

A copyright/byline line caps the footer.

Smoke test added: querySelectorAll('footer details summary') must return 4
elements containing the expected section headers + the skill-anchor link.

Total: 114 tests passing (113 + 1 footer smoke), build green at 284 kB
(+5 kB for the new strings and component markup).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented May 16, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
ai_act_compass Ready Ready Preview, Comment May 16, 2026 0:27am

@abk1969

abk1969 commented May 16, 2026

Copy link
Copy Markdown
Owner Author

Merged into main via rebase fast-forward (commits applied via stack rebase, see main's history). Branch deleted.

@abk1969 abk1969 closed this May 16, 2026
@abk1969 abk1969 deleted the feat/footer-legal branch May 16, 2026 12:45
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.

1 participant