forked from 0xWheatyz/SPARC
Allow users to export analysis reports as PDF or CSV from the dashboard #460
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?
Context
Roadmap item: P3 - Export analysis reports
Users currently have no way to download analysis results outside the browser. Adding PDF/CSV export makes the platform more useful for sharing and archiving.
What to do
@media print) or generate a PDF server-side using a library likereportlaborweasyprint.GET /analysis/{id}/export?format=csv|pdfif server-side generation is chosen.Acceptance criteria
sparc-{company}-{date}.csv).Reference: ROADMAP.md - P3
[Repo Manager Triage] P3 Feature issue. Assigned to @AI-Engineer. Deferred - will be scheduled after P1 and P2 issues are resolved.
[Repo Manager] Closing as already implemented.
Already implemented:
api.py:572-621hasGET /export/{company_name}(CSV) andapi.py:624-779hasGET /export/{company_name}/pdf(PDF with reportlab). Both produce meaningfully-named downloadable files.