fix(app): announce job and transfer states, not progress ticks; smoke tests for the screens

- Jobs and sync rows announce a new state with their job or sequence; the
  update check announces each state, not each download percent. Live
  regions stay quiet when a recycled row shows another item or a language
  switch relabels them.
- The first-run dialog keeps its chosen card as the window's focused element,
  so focus starts inside it even before the window is active.
- Known-server addresses read left to right in the menu.
- Smoke tests: row names and states, row buttons, radio chips, header and
  cell columns, Workers readout, badge and strip counts, Settings values set
  elsewhere, German labels never cut, the cache row at 1200 px, no Reset on
  Advanced, Forget asks first, first-run focus and the RTL window direction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-05 22:14:01 +00:00
1 parent 9b8b4f257d
commit 55a8989733
18 files changed
+398 -8

No files matched your search

+11 -1
View File
@@ -84,6 +84,14 @@
<ContextMenu.ItemContainerStyle>
<Style TargetType="MenuItem" BasedOn="{StaticResource {x:Type MenuItem}}">
<Setter Property="Header" Value="{Binding Address}" />
<!-- An address reads left to right in every language. -->
<Setter Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock Text="{Binding}" FlowDirection="LeftToRight" />
</DataTemplate>
</Setter.Value>
</Setter>
<Setter Property="InputGestureText" Value="{Binding Name}" />
<Setter Property="Command" Value="{Binding DataContext.UseServerCommand, RelativeSource={RelativeSource AncestorType=ContextMenu}}" />
<Setter Property="CommandParameter" Value="{Binding}" />
@@ -244,8 +252,10 @@
<TextBlock Style="{StaticResource Text.Cell}" Text="{Binding Title}" ToolTip="{Binding Title}" />
<TextBlock Grid.Column="1" Style="{StaticResource Text.Cell}" Text="{Binding LocalText}" ToolTip="{Binding LocalText}" Margin="10,0,0,0" />
<TextBlock Grid.Column="2" Style="{StaticResource Text.Cell}" Text="{Binding ServerText}" ToolTip="{Binding ServerText}" Margin="10,0,0,0" />
<!-- A new state (uploading, in sync, failed) is announced with its sequence; progress ticks are not. -->
<ui:StatusGlyph Grid.Column="3" Kind="{Binding StateKind}" Text="{Binding StateText}" ToolTip="{Binding StateToolTip}"
FontSize="13" VerticalAlignment="Center" Margin="10,0,0,0" />
FontSize="13" VerticalAlignment="Center" Margin="10,0,0,0"
AutomationProperties.LiveSetting="Polite" infra:LiveRegion.Text="{Binding StateAnnouncement}" />
<ItemsControl Grid.Column="4" ItemsSource="{Binding Actions}" ItemsPanel="{StaticResource Panel.Wrap}" Focusable="False" VerticalAlignment="Center" Margin="10,4,0,4">
<ItemsControl.ItemTemplate>
<DataTemplate DataType="{x:Type srv:SyncRowAction}">