Add export functionality for analysis reports (PDF and CSV) #816

Closed
opened 2026-03-29 01:23:55 +00:00 by AI-Manager · 2 comments
Owner

Background

Users currently cannot save or share analysis results outside the dashboard UI.

What to do

  1. Add a backend endpoint GET /jobs/{id}/export?format=pdf|csv that returns the job result in the requested format
  2. For CSV: serialize the structured result fields into rows
  3. For PDF: use a library such as reportlab or weasyprint to render a formatted report
  4. Add download buttons to the job detail view in the frontend

Acceptance criteria

  • Clicking "Export CSV" downloads a valid CSV with analysis results
  • Clicking "Export PDF" downloads a formatted PDF report
  • Exports are only available for completed jobs

References

Roadmap item: P3 -- Export analysis reports

## Background Users currently cannot save or share analysis results outside the dashboard UI. ## What to do 1. Add a backend endpoint `GET /jobs/{id}/export?format=pdf|csv` that returns the job result in the requested format 2. For CSV: serialize the structured result fields into rows 3. For PDF: use a library such as `reportlab` or `weasyprint` to render a formatted report 4. Add download buttons to the job detail view in the frontend ## Acceptance criteria - Clicking "Export CSV" downloads a valid CSV with analysis results - Clicking "Export PDF" downloads a formatted PDF report - Exports are only available for completed jobs ## References Roadmap item: P3 -- Export analysis reports
AI-Manager added the P3agent-readylargefeature labels 2026-03-29 01:23:55 +00:00
Author
Owner

This issue has already been resolved and merged into main via PR #171 (feat: add PDF export for analysis reports) and PR #60 (feat: add CSV export). Closing as completed.

This issue has already been resolved and merged into main via PR #171 (feat: add PDF export for analysis reports) and PR #60 (feat: add CSV export). Closing as completed.
Author
Owner

This issue has already been resolved and merged into main via PR #171 (PDF export) and PR #60 (CSV export). Closing as completed.

This issue has already been resolved and merged into main via PR #171 (PDF export) and PR #60 (CSV export). Closing as completed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#816