Skip to content

Add report export to PDF#38

Merged
neyec merged 1 commit into
mainfrom
feat/report-export-pdf
May 27, 2026
Merged

Add report export to PDF#38
neyec merged 1 commit into
mainfrom
feat/report-export-pdf

Conversation

@neyec

@neyec neyec commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Enables the disabled "Export Report" button on the reporting page to generate downloadable PDF compliance reports
  • Uses jspdf + jspdf-autotable via dynamic import (code-split, only loaded on click)
  • Generates professional A4 PDFs with cover page (project info, risk classification, per-area completion stats) and content pages (question/response/status tables per area)
  • Fully translated PDF labels for all 4 UI languages (en, es, fr, de)

Test plan

  • Navigate to Reporting > any framework with evidence, click "Export Report" — PDF downloads
  • Verify cover page shows project name, risk classification, date, and completion summary table
  • Verify each area renders with question tables, evidence text, and colour-coded status
  • Test with empty evidence — PDF generates with "Not Answered" status
  • Switch language to Spanish/French/German and export — labels should be translated
  • Verify button shows spinner while generating and re-enables after download

Closes #32

🤖 Generated with Claude Code

Enables the previously disabled "Export Report" button to generate
professional A4 compliance PDFs with cover page, completion statistics,
and per-area question/response/status tables using jspdf + jspdf-autotable.
Supports all four UI languages (en, es, fr, de) via i18n labels.

Closes #32

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@neyec neyec merged commit 90c3ab9 into main May 27, 2026
6 checks passed
@neyec neyec deleted the feat/report-export-pdf branch May 27, 2026 19:53
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.

Add report export to PDF

1 participant