Anniversary categories (wedding, jubilee, own) and month grouping

- Birthday becomes "anniversary" with a category: birthday, wedding
  anniversary (with Silver/Gold/... names), jubilee, memorial day
- Own categories: Settings > Categories (icon, color, text with {0}/{o})
- Sidebar "Categories" lists anniversaries across folders with counts
- Group by month (any view), groups fold with a click
- Folders named Hochzeit/Wedding migrate yearly tasks once
- Old files keep working (JSON "IsBirthday" maps to IsAnniversary)
- 74 tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-29 15:06:19 +01:00
parent bb6612420d
commit 00e9990feb
22 changed files with 1086 additions and 104 deletions

View File

@@ -105,7 +105,7 @@ namespace ReminderOrganizer
private void UpcomingEntry_Click(object sender, MouseButtonEventArgs e)
{
_viewModel.IsUpcomingMode = true;
_viewModel.ShowUpcomingCommand.Execute(null);
}
private void Window_PreviewKeyDown(object sender, KeyEventArgs e)
@@ -145,7 +145,7 @@ namespace ReminderOrganizer
{
if (task == null) return;
var taskWindow = new TaskWindow(task, _viewModel.IsDarkMode) { Owner = this };
var taskWindow = new TaskWindow(task, _viewModel.IsDarkMode, _viewModel.Categories) { Owner = this };
if (taskWindow.ShowDialog() == true)
{
_ = _viewModel.SaveAsync();