merge: shared kit follow-ups (disabled lists, chart contrast and keyboard, RTL category charts, error toasts, short names)

Resolved: ArchiveView keeps the shared dialog dictionary from the Library branch
and drops its local focus and list styles, now in the kit; the redundant
left-to-right flag on the Move template box goes from ArchiveDialogs.xaml.
Archive.View.Maintenance also leaves the 23 newly translated catalogs.

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-06 22:22:46 +00:00
commit 9930959883
72 files changed
+686 -262

No files matched your search

-1
View File
@@ -212,7 +212,6 @@
<Style x:Key="TextBox.Number" TargetType="TextBox" BasedOn="{StaticResource {x:Type TextBox}}">
<Setter Property="Width" Value="72" />
<Setter Property="Padding" Value="8,0" />
<Setter Property="HorizontalContentAlignment" Value="Right" />
<Setter Property="Typography.NumeralAlignment" Value="Tabular" />
</Style>
+1 -1
View File
@@ -36,7 +36,7 @@
<DockPanel Margin="8,8,8,8" LastChildFill="False">
<Button DockPanel.Dock="Top" Style="{StaticResource Button.IconSubtle}" HorizontalAlignment="Left" Margin="0,0,0,6"
ui:ButtonIcon.Glyph="{StaticResource Icon.Menu}" Command="{Binding ToggleRailCommand}"
ToolTip="{Binding RailToggleToolTip}" AutomationProperties.Name="{Binding RailToggleToolTip}" />
ToolTip="{Binding RailToggleToolTip}" AutomationProperties.Name="{Binding RailToggleName}" />
<ItemsControl DockPanel.Dock="Top" ItemsSource="{Binding TopSections}" Focusable="False">
<ItemsControl.ItemTemplate>
<DataTemplate DataType="{x:Type shell:SectionViewModel}">
+10 -2
View File
@@ -121,11 +121,15 @@ public sealed class ShellViewModel : LocalizedViewModel
if (!Set(ref _isRailCollapsed, value)) return;
_settings.RailCollapsed = value;
OnPropertyChanged(nameof(RailToggleToolTip));
OnPropertyChanged(nameof(RailToggleName));
}
}
public string RailToggleToolTip => Loc.L(IsRailCollapsed ? "Tooltips.Shell.ExpandRail" : "Tooltips.Shell.CollapseRail");
/// <summary>The rail button's accessible name: two words, the sentence is its tooltip.</summary>
public string RailToggleName => Loc.L(IsRailCollapsed ? "Shell.Nav.Expand" : "Shell.Nav.Collapse");
/// <summary>The sequence the editor opens (set by the Library and the Jobs screen).</summary>
public Guid? CurrentSequenceId
{
@@ -257,8 +261,11 @@ public sealed class ShellViewModel : LocalizedViewModel
if (e.PropertyName is nameof(SectionViewModel.Title) or "" or null) OnPropertyChanged(nameof(WindowTitle));
}
/// <summary>A one-line notice with one action (job done, update available).</summary>
public void Notify(string title, string? message = null, string? actionText = null, string? actionToolTip = null, Action? action = null) =>
/// <summary>
/// A one-line notice with one action (job done, update available). <paramref name="isError"/> marks something that
/// did not happen or failed: screen readers then say it at once instead of after what they are reading.
/// </summary>
public void Notify(string title, string? message = null, string? actionText = null, string? actionToolTip = null, Action? action = null, bool isError = false) =>
ShowToast(new Toast
{
Title = title,
@@ -266,6 +273,7 @@ public sealed class ShellViewModel : LocalizedViewModel
ActionText = actionText,
ActionToolTip = actionToolTip,
ActionCommand = action is null ? null : new RelayCommand(action),
IsError = isError,
});
/// <summary>Errors are one sentence saying what happened plus one action (BRIEF §0.2 rule 6); the details go to the log.</summary>