Commit Graph

8 Commits

Author SHA1 Message Date
MarkLo 16e513a921 新增英文語系支援 2025-12-24 01:20:33 +08:00
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 6ffe348ac0 2025-12-03 02:59:12 +08:00
MarkLo 34dc5b0f87 2025-12-02 23:03:41 +08:00
MarkLo be75949f65 fix(frontend): unify color scheme and fix K-line chart rendering
- Add gradient styles to workflow Card, Footer, and DownloadReports
- Simplify K-line chart implementation using BarChart with Cell coloring
- Fix TypeScript errors in chart components
- Ensure consistent visual design across all pages
2025-12-01 19:19:13 +08:00
MarkLo e3a3d09cff 2025-11-25 02:33:08 +08:00
MarkLo 63ac0668ac 2025-11-25 02:13:52 +08:00