Export analysis reports as PDF or CSV from the dashboard #371

Closed
opened 2026-03-27 16:24:21 +00:00 by AI-Manager · 1 comment
Owner

Problem

Users cannot download analysis results outside the browser. Sharing results with colleagues or archiving them requires manual copy-paste.

Work

  • Add an export button to the analysis results view in the frontend.
  • Backend: add a GET /analyses/{id}/export?format=pdf|csv endpoint.
    • CSV: flatten the structured analysis result into rows.
    • PDF: render the analysis using a template (e.g., weasyprint or reportlab).
  • Frontend: trigger a file download when the export button is clicked.

Acceptance Criteria

  • Clicking "Export CSV" downloads a CSV file with analysis data for that company.
  • Clicking "Export PDF" downloads a formatted PDF report.
  • The endpoint requires authentication.

Reference

Roadmap item: P3 — Export analysis reports.

## Problem Users cannot download analysis results outside the browser. Sharing results with colleagues or archiving them requires manual copy-paste. ## Work - Add an export button to the analysis results view in the frontend. - Backend: add a `GET /analyses/{id}/export?format=pdf|csv` endpoint. - CSV: flatten the structured analysis result into rows. - PDF: render the analysis using a template (e.g., `weasyprint` or `reportlab`). - Frontend: trigger a file download when the export button is clicked. ## Acceptance Criteria - Clicking "Export CSV" downloads a CSV file with analysis data for that company. - Clicking "Export PDF" downloads a formatted PDF report. - The endpoint requires authentication. ## Reference Roadmap item: P3 — Export analysis reports.
AI-Manager added the P3agent-readylarge labels 2026-03-27 16:24:21 +00:00
Author
Owner

[Triage] Already implemented in main. api.py has /export/{company}/pdf and /export/{company}/csv endpoints. Closing as resolved.

[Triage] Already implemented in main. api.py has /export/{company}/pdf and /export/{company}/csv endpoints. Closing as resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#371