P4.1: Wire desktop notifications for failed job runs

Add Service.ShouldNotifyOnFailure() (reads config under mu) and call
fyne.CurrentApp().SendNotification in the mainwindow subscriber when a
Manual/Schedule run completes with State == "Failed" and the setting is on.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mixeme
2026-06-23 08:18:12 +03:00
parent fb9d0650a6
commit 564609d8fb
3 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ These land together because both edit `domain/job.go` and `storage/store.go`.
- [x] P3.5 — Queue tests
### Phase 4 — Notifications + Command browse
- [ ] P4.1 — Failure notifications
- [x] P4.1 — Failure notifications
- [ ] P4.2 — Command Browse button
### Phase 5 — Icons