Snooze notifications, morning summary, ICS import, data folder sync

- Windows toast notifications with snooze (10 min / 1 h / tomorrow) and
  done buttons; balloon fallback; works when Windows starts the app
- Recurring entries snooze via SnoozedUntil without moving their date;
  lead reminders keep the real date
- Morning summary once a day from a chosen hour (pure DailySummary)
- iCalendar import incl. Google birthday calendar, folded lines, UTC,
  alarms, own export round trip, duplicates skipped by UID, undo
- Data folder selectable (location.json pointer), file watcher reloads
  changes from another PC (own writes ignored)
- Themed date picker calendar, WPF tray menu, arrow/Home/End/Space keys
- 90 tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-29 20:37:20 +01:00
parent 7486eebd67
commit 33459bdec7
18 changed files with 1300 additions and 61 deletions

View File

@@ -8,7 +8,10 @@ services through `ServiceLocator` (Microsoft.Extensions.DependencyInjection).
`ProcessDue`) is pure and tested.
- `Services/`: `DataService` (JSON in %APPDATA%, atomic + serialized), `LocalizationService` (Locales are
**EmbeddedResource** `Locales.<lang>.json`), `TaskCsv` + `Core/Csv` (import/export), `AutostartService`
(HKCU Run, `"exe" --minimized`), `NotificationService` (tray balloon).
(HKCU Run, `"exe" --minimized`), `NotificationService` (Windows toasts via Microsoft.Toolkit.Uwp.Notifications with snooze/done buttons → `App` `OnActivated` → `MainWindow.HandleToast` → `MainViewModel.HandleToastAction`; tray balloon as fallback), `IcsImport`/`IcsExport`.
- Data folder: `DataService.AppDirectory` (pointer `location.json`, error.log, toast logo) vs. `DefaultDataDirectory` (tasks.json,
may be OneDrive). `FileSystemWatcher` + `LastWriteUtc` → `MainViewModel.ReloadFromDiskAsync` when another PC changed the file.
- Morning summary: `Core/DailySummary.cs` (pure), shown from `CheckReminders`.
- Anniversaries: `ReminderTask.IsAnniversary` (stored as JSON `"IsBirthday"` for older files) + `CategoryId`
→ `Models/Category.cs` (presets birthday/wedding/jubilee/memorial + own ones, text with `{0}`/`{o}`).
Filter/sort/group rules are in `Core/TaskQuery.cs` (pure, tested).