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:
18 files changed
+398
-8
No files matched your search
@@ -53,6 +53,9 @@ public sealed class JobRowViewModel : ObservableObject
|
||||
|
||||
public string StateText => JobText.State(_entry);
|
||||
|
||||
/// <summary>"Render · Harbour sunset: done · 3:00": what a screen reader announces when the state changes (not progress).</summary>
|
||||
public string StateAnnouncement => Loc.L("Jobs.Row.State", AccessibleName, StateText);
|
||||
|
||||
/// <summary>Glyph and colour of the state (paired with the word, never colour alone).</summary>
|
||||
public StatusKind StateKind => _entry.State switch
|
||||
{
|
||||
@@ -131,6 +134,7 @@ public sealed class JobRowViewModel : ObservableObject
|
||||
OnPropertyChanged(nameof(LeftText));
|
||||
OnPropertyChanged(nameof(WhereText));
|
||||
OnPropertyChanged(nameof(StateText));
|
||||
OnPropertyChanged(nameof(StateAnnouncement));
|
||||
if (_isExpanded) OnPropertyChanged(nameof(LogText));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user