From b0aa8fe9a640878482229b3f22401ed8972528c1 Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Fri, 13 Feb 2026 09:34:56 -0500 Subject: [PATCH 1/2] Fix Wait Stats "Select All" with poison waits + usual suspects + top 10 (#12) Replace the broken "select first 12 in list order" logic with smart defaults: poison waits (THREADPOOL, RESOURCE_SEMAPHORE, RESOURCE_SEMAPHORE_QUERY_COMPILE) are always checked, usual suspects (SOS_SCHEDULER_YIELD, CXPACKET, CXCONSUMER, PAGEIOLATCH_SH/EX, PAGELATCH_%, WRITELOG) are always checked, then the top 10 by total wait time fill remaining slots up to the 12-color cap. Relabel button from "Select All" to "Top Waits" in both Dashboard and Lite. Align Lite wait type list sorting to alphabetical to match Dashboard. Co-Authored-By: Claude Opus 4.6 --- .../Controls/ResourceMetricsContent.xaml | 2 +- .../Controls/ResourceMetricsContent.xaml.cs | 27 ++------ Dashboard/Helpers/TabHelpers.cs | 67 +++++++++++++++++++ Lite/Controls/ServerTab.xaml | 2 +- Lite/Controls/ServerTab.xaml.cs | 41 +++++++++--- 5 files changed, 105 insertions(+), 34 deletions(-) diff --git a/Dashboard/Controls/ResourceMetricsContent.xaml b/Dashboard/Controls/ResourceMetricsContent.xaml index 52b06e2c..28c67a1d 100644 --- a/Dashboard/Controls/ResourceMetricsContent.xaml +++ b/Dashboard/Controls/ResourceMetricsContent.xaml @@ -110,7 +110,7 @@