From 77c950806eabd559c00058967c8cef413977d701 Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Sun, 22 Feb 2026 12:29:30 -0500 Subject: [PATCH] Visual polish: sort arrows, right-aligned numerics, initial sort indicators (#110) - Add sort direction arrows to DataGrid column headers via custom ControlTemplate with Path geometry and SortDirection triggers (both Dashboard and Lite themes) - Right-align ~321 numeric columns across both projects using NumericCell ElementStyle - Show initial sort arrow on pre-sorted grids (Query Stats, Proc Stats, Query Store, Regressions, Long Running Patterns) so users see current sort before clicking Co-Authored-By: Claude Opus 4.6 --- Dashboard/CollectionLogWindow.xaml | 4 +- Dashboard/Controls/ConfigChangesContent.xaml | 2 +- Dashboard/Controls/CriticalIssuesContent.xaml | 2 +- Dashboard/Controls/CurrentConfigContent.xaml | 2 +- Dashboard/Controls/DailySummaryContent.xaml | 14 +- Dashboard/Controls/DefaultTraceContent.xaml | 8 +- .../Controls/QueryPerformanceContent.xaml | 212 +++++++++--------- .../Controls/QueryPerformanceContent.xaml.cs | 20 ++ Dashboard/Controls/SystemEventsContent.xaml | 6 +- Dashboard/ProcedureHistoryWindow.xaml | 64 +++--- Dashboard/QueryExecutionHistoryWindow.xaml | 60 ++--- Dashboard/QueryStatsHistoryWindow.xaml | 78 +++---- Dashboard/ServerTab.xaml | 38 ++-- Dashboard/Themes/DarkTheme.xaml | 82 ++++++- Lite/Controls/ServerTab.xaml | 138 ++++++------ Lite/Controls/ServerTab.xaml.cs | 19 ++ Lite/Themes/DarkTheme.xaml | 82 ++++++- Lite/Windows/ProcedureHistoryWindow.xaml | 18 +- Lite/Windows/QueryStatsHistoryWindow.xaml | 30 +-- Lite/Windows/QueryStoreHistoryWindow.xaml | 18 +- 20 files changed, 536 insertions(+), 361 deletions(-) diff --git a/Dashboard/CollectionLogWindow.xaml b/Dashboard/CollectionLogWindow.xaml index 7fb2e45a..11e4d2e5 100644 --- a/Dashboard/CollectionLogWindow.xaml +++ b/Dashboard/CollectionLogWindow.xaml @@ -46,7 +46,7 @@ - +