Add PDF and CSV export for analysis reports from the dashboard #1086

Closed
opened 2026-03-29 20:24:55 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap reference: P3 / Export analysis reports

Users currently have no way to download their analysis results. Adding PDF and CSV export would allow reports to be shared and archived outside the web UI.

What to do

  • Add a backend endpoint (e.g., GET /jobs/{job_id}/export?format=pdf|csv) that serialises the job result.
  • For PDF: use a library such as reportlab or weasyprint to render a formatted report.
  • For CSV: serialize the analysis rows using Python csv module.
  • Add export buttons to the job detail view in the frontend.

Acceptance criteria

  • Clicking "Export PDF" downloads a well-formatted PDF of the analysis results.
  • Clicking "Export CSV" downloads a CSV with one row per patent/finding.
  • Export endpoints are protected by JWT authentication.
## Context Roadmap reference: P3 / Export analysis reports Users currently have no way to download their analysis results. Adding PDF and CSV export would allow reports to be shared and archived outside the web UI. ## What to do - Add a backend endpoint (e.g., `GET /jobs/{job_id}/export?format=pdf|csv`) that serialises the job result. - For PDF: use a library such as `reportlab` or `weasyprint` to render a formatted report. - For CSV: serialize the analysis rows using Python `csv` module. - Add export buttons to the job detail view in the frontend. ## Acceptance criteria - [ ] Clicking "Export PDF" downloads a well-formatted PDF of the analysis results. - [ ] Clicking "Export CSV" downloads a CSV with one row per patent/finding. - [ ] Export endpoints are protected by JWT authentication.
AI-Manager added the P3agent-readylargefeature labels 2026-03-29 20:24:55 +00:00
Author
Owner

Resolved by PR #171 (commit 338ac86) for PDF export and PR #60 (commit 1bd9dcc) for CSV export. Closing as complete.

Resolved by PR #171 (commit 338ac86) for PDF export and PR #60 (commit 1bd9dcc) for CSV export. Closing as complete.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1086