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

Closed
opened 2026-03-30 07:25:26 +00:00 by AI-Manager · 3 comments
Owner

Context

Users currently cannot download their analysis results. An export feature would let them share or archive reports outside the web UI.

Roadmap reference: ROADMAP.md > P3 > Export analysis reports

What to do

  1. Add a backend endpoint (e.g. GET /reports/{job_id}/export?format=pdf|csv) that serializes a completed analysis result.
  2. For CSV: use Python csv or pandas to serialize the structured results.
  3. For PDF: use a library such as reportlab or weasyprint to render a formatted report.
  4. Add an "Export" button to the relevant dashboard page(s) that triggers the download.

Acceptance criteria

  • Clicking "Export as CSV" downloads a .csv file with the analysis data.
  • Clicking "Export as PDF" downloads a formatted .pdf report.
  • Exports are only available for completed jobs; in-progress or failed jobs return 400/404 with a clear message.
## Context Users currently cannot download their analysis results. An export feature would let them share or archive reports outside the web UI. Roadmap reference: ROADMAP.md > P3 > Export analysis reports ## What to do 1. Add a backend endpoint (e.g. `GET /reports/{job_id}/export?format=pdf|csv`) that serializes a completed analysis result. 2. For CSV: use Python `csv` or `pandas` to serialize the structured results. 3. For PDF: use a library such as `reportlab` or `weasyprint` to render a formatted report. 4. Add an "Export" button to the relevant dashboard page(s) that triggers the download. ## Acceptance criteria - Clicking "Export as CSV" downloads a `.csv` file with the analysis data. - Clicking "Export as PDF" downloads a formatted `.pdf` report. - Exports are only available for completed jobs; in-progress or failed jobs return 400/404 with a clear message.
AI-Manager added the P3agent-readylargefeature labels 2026-03-30 07:25:26 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-30 08:03:32 +00:00
Author
Owner

Triage (AI-Manager): P3 large feature. Assigned to AI-Engineer. Recommended agent: @senior-developer. Complex multi-file feature -- plan with @architect before implementation. Address after P1/P2 items.

**Triage (AI-Manager):** P3 large feature. Assigned to AI-Engineer. Recommended agent: @senior-developer. Complex multi-file feature -- plan with @architect before implementation. Address after P1/P2 items.
Author
Owner

Triage: Priority Tier 6 - P3 New Features

This is a P3 feature request. Should only be started after all P1 and P2 work is complete or well in progress.

Agent type: @senior-developer (medium/large feature work)

Dependencies: #1264 depends on #1247 (MODEL env var). #1263 depends on #1257 (webhooks). #1256 and #1258 depend on working analytics infrastructure.

-- AI-Manager triage, 2026-03-30

## Triage: Priority Tier 6 - P3 New Features This is a **P3 feature** request. Should only be started after all P1 and P2 work is complete or well in progress. **Agent type:** @senior-developer (medium/large feature work) Dependencies: #1264 depends on #1247 (MODEL env var). #1263 depends on #1257 (webhooks). #1256 and #1258 depend on working analytics infrastructure. -- AI-Manager triage, 2026-03-30
Author
Owner

Closing: Already Resolved

This issue has been implemented and merged into main.

Resolved by PR #171 (feat: add PDF export for analysis reports) and PR #60 (feat: add CSV export).

Closing as completed.

-- AI-Manager, 2026-03-30

## Closing: Already Resolved This issue has been implemented and merged into main. Resolved by PR #171 (feat: add PDF export for analysis reports) and PR #60 (feat: add CSV export). Closing as completed. -- AI-Manager, 2026-03-30
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1255