feat(daily-prep): add Prep-log and Clear-day buttons to MyDay header

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mika kuns
2026-06-04 08:18:30 +02:00
parent a8670ee23a
commit c45f892591
6 changed files with 101 additions and 0 deletions

View File

@@ -82,6 +82,22 @@
Command="{Binding PrepareDayCommand}"
Content="{loc:Tr tasks.prepareDay}"/>
<!-- Prep Log button (My Day only) -->
<Button DockPanel.Dock="Top"
Classes="btn" HorizontalAlignment="Stretch" HorizontalContentAlignment="Left"
Margin="16,0,16,8"
IsVisible="{Binding IsMyDayList}"
Command="{Binding ShowPrepLogCommand}"
Content="{loc:Tr tasks.prepLog}"/>
<!-- Clear Day button (My Day only) -->
<Button DockPanel.Dock="Top"
Classes="btn" HorizontalAlignment="Stretch" HorizontalContentAlignment="Left"
Margin="16,0,16,8"
IsVisible="{Binding IsMyDayList}"
Command="{Binding ClearDayCommand}"
Content="{loc:Tr tasks.clearDay}"/>
<!-- Task list -->
<ScrollViewer>
<StackPanel Margin="10,4">