Commit Graph

16 Commits

Author SHA1 Message Date
MarkLo 47f04a6ff7 2025-12-16 00:45:07 +08:00
MarkLo cf4aaa09b1 feat: auto-save reports + fix PDF download from history
1. Auto-save reports when page closes:
   - Added beforeunload handler to auto-save analysis to history
   - Saves to local IndexedDB and cloud (if authenticated)
   - Prevents data loss if user accidentally closes the page

2. Fix PDF download from history page:
   - Made taskId optional in DownloadReports component
   - Added direct mode: can pass reports data directly
   - Updated backend to support both task-based and direct-data modes
   - History reports now have download PDF option available
2025-12-14 03:21:59 +08:00
MarkLo 5d3751602e 2025-12-13 06:00:19 +08:00
MarkLo 4269fdec26 2025-12-12 19:01:49 +08:00
MarkLo c2b8706bf2 2025-12-07 17:13:57 +08:00
MarkLo 34dc5b0f87 2025-12-02 23:03:41 +08:00
MarkLo e1eaf964f6 2025-12-01 01:54:44 +08:00
MarkLo ba4cc41a5a 2025-11-29 00:19:17 +08:00
MarkLo e3a3d09cff 2025-11-25 02:33:08 +08:00
MarkLo 63ac0668ac 2025-11-25 02:13:52 +08:00
MarkLo 894b3e96e0 2025-11-24 02:28:19 +08:00
MarkLo e898ebb2b5 2025-11-21 05:12:02 +08:00
MarkLo 8ef63d715c 2025-11-21 04:43:46 +08:00
MarkLo cc47085cd4 2025-11-21 03:29:20 +08:00
MarkLo 44fd92850d 2025-11-20 23:19:22 +08:00
MarkLo 2872f18b47 2025-11-20 21:56:47 +08:00