From 7f672902f949f62502da30806c51ea2401a6f211 Mon Sep 17 00:00:00 2001 From: Huzaifa Danish Date: Tue, 19 Mar 2024 12:44:03 -0700 Subject: [PATCH 1/9] Added sorting by Provider. Added Last Sync timer. Added sorting by name (desc.), alt name (desc.) and last connected (asc.). Fixed sort fields not defaulting back to original values after Sync. Fixed resizing which could cause UI elements to disappear. Changed card style to Primary, Tertiary & Secondary brushes. --- .../Styles/HorizontalCardStyles.xaml | 4 +- .../Helpers/DataExtractor.cs | 8 +- .../Strings/en-us/Resources.resw | 36 ++++- .../ViewModels/ComputeSystemViewModel.cs | 4 + .../ViewModels/LandingPageViewModel.cs | 142 ++++++++++++++++-- .../Views/LandingPage.xaml | 100 +++++++----- .../Views/LandingPage.xaml.cs | 19 +-- 7 files changed, 236 insertions(+), 77 deletions(-) diff --git a/common/Environments/Styles/HorizontalCardStyles.xaml b/common/Environments/Styles/HorizontalCardStyles.xaml index 7b9123729e..dc05def031 100644 --- a/common/Environments/Styles/HorizontalCardStyles.xaml +++ b/common/Environments/Styles/HorizontalCardStyles.xaml @@ -197,7 +197,7 @@ x:Key="CardBodyStateTextBlockStyle" BasedOn="{StaticResource CaptionTextBlockStyle}" TargetType="TextBlock"> - + @@ -227,7 +227,7 @@ -