What's Changed
Implements a complete notification system for download lifecycle events — in-app toasts and OS-level push notifications for task completion, BT seeding, and download errors. Fixes a notification flood bug that caused ghost toasts on tab switch.
✨ New Features
- In-app toast notifications — Download completion, BT seeding start, and download error events now trigger Naive UI toast messages, gated by the existing
taskNotificationpreference - OS-level push notifications — Native system notifications via
tauri-plugin-notificationon macOS (NSUserNotificationCenter), Windows (WinRT Toast), and Linux (D-Bus/notify-rust), with lazy permission request and silent error resilience - BT-specific notification wording — BT downloads now show "{taskName} 已下载完成,开始做种..." instead of the generic completion message, polished across all 26 locales
🐛 Bug Fixes
- Fixed notification flood on tab switch — Switching to the "Completed" tab no longer triggers download-complete toasts for every historical record from the database
- Unified toast duration — Removed hardcoded
duration: 8000from error toasts; all notifications now use the consistent default duration
📦 Downloads
| Platform | Architecture | File |
|---|---|---|
| macOS | Apple Silicon · Intel | .dmg
|
| Windows | x64 · ARM64 | -setup.exe
|
| Linux | x64 · ARM64 | .AppImage .deb
|