Add Export/Download Functionality for Analysis Reports
#20 opened on Nov 10, 2025
Repository metrics
- Stars
- (1 star)
- PR merge metrics
- (No merged PRs in 30d)
Description
Farmers need to save and share analysis results with agronomists, extension officers, or for their own records. Proposed Features
Download individual analysis as PDF
Include image, disease name, confidence, description, recommendations Add timestamp and ZeaWatch branding Formatted for printing
Download history as CSV
Export all or filtered analyses Include: date, disease, confidence, filename Useful for record-keeping
Share via WhatsApp/SMS (Mobile)
Generate shareable link Send summary text with key info
Acceptance Criteria
Add "Download PDF" button on each analysis result Add "Export History" button above history list PDF includes all relevant information and is print-friendly CSV export works with filtered results Add share button for mobile users
Technical Notes
Consider using jsPDF or html2pdf for PDF generation Use papaparse for CSV export (already installed)