From 1196c6c668681c462bb0eda39965af93730d0e3a Mon Sep 17 00:00:00 2001 From: rferraton <16419423+rferraton@users.noreply.github.com> Date: Fri, 27 Mar 2026 23:57:38 +0100 Subject: [PATCH 1/5] add quick filter buttons and calendar for custom periode filter --- .../Controls/QueryStoreGridControl.axaml.cs | 1 - .../Controls/TimeRangeSlicerControl.axaml | 80 +++++++-- .../Controls/TimeRangeSlicerControl.axaml.cs | 153 +++++++++++++++--- 3 files changed, 205 insertions(+), 29 deletions(-) diff --git a/src/PlanViewer.App/Controls/QueryStoreGridControl.axaml.cs b/src/PlanViewer.App/Controls/QueryStoreGridControl.axaml.cs index 1b1f617..9451af1 100644 --- a/src/PlanViewer.App/Controls/QueryStoreGridControl.axaml.cs +++ b/src/PlanViewer.App/Controls/QueryStoreGridControl.axaml.cs @@ -64,7 +64,6 @@ public QueryStoreGridControl(ServerConnection serverConnection, ICredentialServi SetupColumnHeaders(); PopulateDatabaseBox(databases, initialDatabase); TimeRangeSlicer.RangeChanged += OnTimeRangeChanged; - TimeRangeSlicer.IsExpanded = true; WaitStatsProfile.CategoryClicked += OnWaitCategoryClicked; WaitStatsProfile.CategoryDoubleClicked += OnWaitCategoryDoubleClicked; diff --git a/src/PlanViewer.App/Controls/TimeRangeSlicerControl.axaml b/src/PlanViewer.App/Controls/TimeRangeSlicerControl.axaml index ef28a01..6d02911 100644 --- a/src/PlanViewer.App/Controls/TimeRangeSlicerControl.axaml +++ b/src/PlanViewer.App/Controls/TimeRangeSlicerControl.axaml @@ -5,15 +5,10 @@ BorderBrush="{DynamicResource SlicerBorderBrush}" BorderThickness="0,0,0,1"> - - + + + + + + + + + + + + + + + + + + + + + + +