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

+29 -2
View File
@@ -750,7 +750,30 @@
</Style>
<!-- ===================== Lists and tables ===================== -->
<Style TargetType="ListBox">
<!--
The system template paints a disabled list white whatever the theme (a list behind a dialog is disabled): this one
keeps the list's own fill, and its rows and buttons dim themselves. Same frame and scroll viewer as the system's.
-->
<ControlTemplate x:Key="Template.ListBox" TargetType="ListBox">
<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"
Padding="1" SnapsToDevicePixels="True">
<ScrollViewer Focusable="False" Padding="{TemplateBinding Padding}">
<ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
</ScrollViewer>
</Border>
<ControlTemplate.Triggers>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsGrouping" Value="True" />
<Condition Property="VirtualizingPanel.IsVirtualizingWhenGrouping" Value="False" />
</MultiTrigger.Conditions>
<Setter Property="ScrollViewer.CanContentScroll" Value="False" />
</MultiTrigger>
</ControlTemplate.Triggers>
</ControlTemplate>
<!-- Shared by ListBox and ListView; a ListView keeps the system template, which carries the GridView header row. -->
<Style x:Key="ListBox.Base" TargetType="ListBox">
<Setter Property="Background" Value="Transparent" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Foreground" Value="{DynamicResource Brush.Text}" />
@@ -761,6 +784,10 @@
<Setter Property="VirtualizingPanel.ScrollUnit" Value="Pixel" />
</Style>
<Style TargetType="ListBox" BasedOn="{StaticResource ListBox.Base}">
<Setter Property="Template" Value="{StaticResource Template.ListBox}" />
</Style>
<Style TargetType="ListBoxItem">
<Setter Property="FocusVisualStyle" Value="{StaticResource Focus.Inset}" />
<Setter Property="Foreground" Value="{DynamicResource Brush.Text}" />
@@ -820,7 +847,7 @@
</Setter>
</Style>
<Style TargetType="ListView" BasedOn="{StaticResource {x:Type ListBox}}">
<Style TargetType="ListView" BasedOn="{StaticResource ListBox.Base}">
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
</Style>
+16 -1
View File
@@ -29,8 +29,10 @@
</Setter>
</Style>
<!-- Virtualized, recycling card grid (BRIEF §12.2). Item template: a v:SequenceCard bound to the item. -->
<!-- Virtualized, recycling card grid (BRIEF §12.2). Item template: a v:SequenceCard bound to the item. Disabled (behind a
dialog), it keeps its fill like every other list (Controls.xaml Template.ListBox). -->
<Style x:Key="ListBox.Cards" TargetType="ListBox">
<Setter Property="Template" Value="{DynamicResource Template.ListBox}" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Padding" Value="0" />
@@ -154,6 +156,19 @@
<Setter Property="FocusVisualStyle" Value="{DynamicResource Focus.Ring}" />
</Style>
<!-- Charts that something activates take the keyboard and outline the bar, segment or cell it is on themselves. -->
<Style TargetType="v:BarChart">
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
</Style>
<Style TargetType="v:StackedBar">
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
</Style>
<Style TargetType="v:HeatmapStrip">
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
</Style>
<!-- ===================== Preview viewport (BRIEF §12.3) ===================== -->
<!-- The image surface (a drawn visual, always left to right) and the numeric shot data stay left to right; the tool
row follows the layout direction. -->