feat: sync guard - Blockieren alter Clients beim sync

This commit is contained in:
2026-08-20 23:54:04 +02:00
parent 7b883555bf
commit 59bd8abb45
19 changed files with 369 additions and 26 deletions
+21 -2
View File
@@ -30,8 +30,7 @@
<DrawerPage x:Name="RootDrawer"
DrawerLength="220"
DrawerBehavior="Auto"
DrawerLayoutBehavior="CompactInline"
Content="{Binding CurrentPage}">
DrawerLayoutBehavior="CompactInline">
<DrawerPage.DataTemplates>
<DataTemplate DataType="vm:DashboardViewModel">
@@ -63,6 +62,26 @@
</DataTemplate>
</DrawerPage.DataTemplates>
<DrawerPage.Content>
<DockPanel>
<Border DockPanel.Dock="Top"
IsVisible="{Binding SyncStatus.IsIncompatibleVersion}"
Background="#B3261E" Padding="16,12">
<StackPanel Orientation="Horizontal" Spacing="10">
<TextBlock Text="⚠" FontSize="18" Foreground="White"
VerticalAlignment="Center"/>
<StackPanel>
<TextBlock Text="Software-Update erforderlich"
Foreground="White" FontWeight="SemiBold"/>
<TextBlock Text="{x:Static vm:SyncStatusViewModel.IncompatibleVersionMessage}"
Foreground="White" Opacity="0.92" TextWrapping="Wrap"/>
</StackPanel>
</StackPanel>
</Border>
<ContentControl Content="{Binding CurrentPage}"/>
</DockPanel>
</DrawerPage.Content>
<DrawerPage.Drawer>
<DockPanel Classes.compact="{Binding !#RootDrawer.IsOpen}">
<DockPanel.Styles>