bayakarisa/Zea-Watch

Add Export/Download Functionality for Analysis Reports

开放

#20 创建于 2025年11月10日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (1 个派生)auto 404
enhancementgood first issue

仓库指标

星标
 (1 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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)

贡献者指南