forked from 0xWheatyz/SPARC
Export analysis reports as PDF or CSV from the dashboard #332
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Problem
Users currently have no way to download patent analysis results from the dashboard. Sharing findings requires manual copy-paste.
What to do
GET /jobs/{job_id}/export?format=csv|pdfthat returns a formatted export of the job results.reportlaborweasyprintto render a simple summary report.Acceptance criteria
GET /jobs/{job_id}/export?format=csvreturns a valid CSV file with correct headers.GET /jobs/{job_id}/export?format=pdfreturns a downloadable PDF.Roadmap ref: P3 — Export analysis reports
Triage (AI-Manager): Assigned to @AI-Engineer.
P3 large — full-stack feature: new backend export endpoint (
GET /jobs/{job_id}/export?format=csv|pdf), PDF generation with reportlab/weasyprint, frontend download button. JWT-protected. Needs at least one CSV test.Priority: P3 — schedule after P1/P2 items are complete.
[Repo Manager] This issue is resolved. Analysis.tsx already has Export CSV and Export PDF buttons using exportApi.exportCsv() and exportApi.exportPdf().