From 37ed91500dd675b6f5971a1805323985134d26fa Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 6 Oct 2026 20:55:50 +0000 Subject: [PATCH] fix(ui): kit follow-ups for lists, chart contrast, activation and RTL bars - ListBox (and the Library card grid) get a theme template that keeps their fill when disabled; ListView keeps the system GridView template. - BarChart, HeatmapStrip, SeriesChart and TimelineBands draw their labels in TextMuted; heatmap cells without data take the Stroke tone. - Category charts show the hand cursor and take the keyboard (arrows, Home, End, Enter, Space) only while an activation handler is attached to them; the keyboard item is outlined, read out and exposed as ItemStatus. - Horizontal bar charts and stacked bars start on the reading side in right-to-left languages; vertical bars, heatmaps and time axes stay LTR. - Archive drops its local list template, Focus.Inset copy, chart brush aliases and the redundant FlowDirection on the template box. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC --- src/Titano.App/Sections/ArchiveView.xaml | 46 +------ src/Titano.Ui/Themes/Controls.xaml | 31 ++++- src/Titano.Ui/Themes/Visuals.xaml | 4 +- src/Titano.Ui/Titano.Ui.csproj | 3 + src/Titano.Ui/Visuals/BarChart.cs | 129 ++++++++++--------- src/Titano.Ui/Visuals/DrawingElement.cs | 155 ++++++++++++++++++++++- src/Titano.Ui/Visuals/HeatmapStrip.cs | 83 +++++++----- src/Titano.Ui/Visuals/SeriesChart.cs | 4 +- src/Titano.Ui/Visuals/StackedBar.cs | 86 ++++++------- src/Titano.Ui/Visuals/TimelineBands.cs | 6 +- 10 files changed, 350 insertions(+), 197 deletions(-) diff --git a/src/Titano.App/Sections/ArchiveView.xaml b/src/Titano.App/Sections/ArchiveView.xaml index 7eaada7b..097be791 100644 --- a/src/Titano.App/Sections/ArchiveView.xaml +++ b/src/Titano.App/Sections/ArchiveView.xaml @@ -8,36 +8,6 @@ xmlns:infra="clr-namespace:Titano.App.Infrastructure" xmlns:shell="clr-namespace:Titano.App.Shell"> - - - - - - - + + - diff --git a/src/Titano.Ui/Themes/Visuals.xaml b/src/Titano.Ui/Themes/Visuals.xaml index 1290aae3..fbd1aa86 100644 --- a/src/Titano.Ui/Themes/Visuals.xaml +++ b/src/Titano.Ui/Themes/Visuals.xaml @@ -29,8 +29,10 @@ - +