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

@@ -117,6 +117,23 @@
<CheckBox DockPanel.Dock="Right" Style="{StaticResource ToggleSwitch}" IsChecked="{Binding IsAutostartEnabled}" VerticalAlignment="Center"/>
</DockPanel>
<Border Style="{StaticResource Divider}"/>
<DockPanel Style="{StaticResource Row}">
<StackPanel DockPanel.Dock="Left" MaxWidth="300">
<TextBlock Text="{Binding [SummarySetting]}"/>
<TextBlock Text="{Binding [SummarySettingHint]}" Style="{StaticResource RowHint}"/>
</StackPanel>
<CheckBox DockPanel.Dock="Right" Style="{StaticResource ToggleSwitch}" IsChecked="{Binding DailySummaryEnabled}" VerticalAlignment="Center"/>
<ComboBox DockPanel.Dock="Right" Width="92" Margin="0,0,16,0" VerticalAlignment="Center"
ItemsSource="{Binding SummaryHours}" SelectedItem="{Binding SummaryHour}"
IsEnabled="{Binding DailySummaryEnabled}">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding StringFormat={}{0}:00}"/>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
</DockPanel>
<Border Style="{StaticResource Divider}"/>
<DockPanel Style="{StaticResource Row}">
<TextBlock Text="{Binding [TestNotificationHint]}" Style="{StaticResource RowLabel}"/>
<Button DockPanel.Dock="Right" Content="{Binding [TestNow]}" Style="{StaticResource SubtleButton}" Command="{Binding TestNotificationCommand}"/>
@@ -157,12 +174,16 @@
<Border Style="{StaticResource Group}">
<StackPanel>
<DockPanel Style="{StaticResource Row}">
<StackPanel DockPanel.Dock="Left" MaxWidth="330">
<StackPanel DockPanel.Dock="Left" MaxWidth="300">
<TextBlock Text="{Binding [SetDataFolder]}"/>
<TextBlock Text="{Binding DataFolder}" Style="{StaticResource RowHint}" TextTrimming="CharacterEllipsis" TextWrapping="NoWrap"
ToolTip="{Binding DataFolder}"/>
<TextBlock Text="{Binding [DataFolderHint]}" Style="{StaticResource RowHint}"/>
</StackPanel>
<StackPanel DockPanel.Dock="Right" Orientation="Horizontal" VerticalAlignment="Top">
<Button Content="{Binding [OpenFolder]}" Style="{StaticResource SubtleButton}" Command="{Binding OpenDataFolderCommand}" Margin="0,0,8,0"/>
<Button Content="{Binding [ChangeFolder]}" Style="{StaticResource SubtleButton}" Command="{Binding ChangeDataFolderCommand}"/>
</StackPanel>
<Button DockPanel.Dock="Right" Content="{Binding [OpenFolder]}" Style="{StaticResource SubtleButton}" Command="{Binding OpenDataFolderCommand}"/>
</DockPanel>
<Border Style="{StaticResource Divider}"/>
<DockPanel Style="{StaticResource Row}">
@@ -178,7 +199,10 @@
<TextBlock Text="{Binding [SetCalendar]}"/>
<TextBlock Text="{Binding [SetCalendarHint]}" Style="{StaticResource RowHint}"/>
</StackPanel>
<Button DockPanel.Dock="Right" Content="{Binding [Export]}" Style="{StaticResource SubtleButton}" Command="{Binding ExportIcsCommand}"/>
<StackPanel DockPanel.Dock="Right" Orientation="Horizontal">
<Button Content="{Binding [Import]}" Style="{StaticResource SubtleButton}" Command="{Binding ImportIcsCommand}" Margin="0,0,8,0"/>
<Button Content="{Binding [Export]}" Style="{StaticResource SubtleButton}" Command="{Binding ExportIcsCommand}"/>
</StackPanel>
</DockPanel>
</StackPanel>
</Border>