From 4cd74c0fe11727024840925af947e6a22fa68826 Mon Sep 17 00:00:00 2001 From: StuartFerguson Date: Mon, 15 Jun 2026 18:52:25 +0100 Subject: [PATCH 1/8] Centralize NuGet package versions and minor UI fixes Migrated all NuGet package versioning to Directory.Packages.props for centralized management. Removed explicit version numbers from .csproj files. Updated tooltip label formatter in ReportsSalesAnalysisPageViewModel to use StackedValue. Commented out TooltipFindingStrategy binding in ReportsBalanceAnalysisPage.xaml for clarity. --- Directory.Packages.props | 51 +++++++++++++++++++ TestCategoryLister/TestCategoryLister.csproj | 2 +- ...rocessor.Mobile.BusinessLogic.Tests.csproj | 22 ++++---- ...ctionProcessor.Mobile.BusinessLogic.csproj | 26 +++++----- .../ReportsSalesAnalysisPageViewModel.cs | 4 +- ...TransactionProcessor.Mobile.UITests.csproj | 38 +++++++------- .../Reports/ReportsBalanceAnalysisPage.xaml | 3 +- .../TransactionProcessor.Mobile.csproj | 18 +++---- 8 files changed, 107 insertions(+), 57 deletions(-) create mode 100644 Directory.Packages.props diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 00000000..0b5a68e8 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,51 @@ + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/TestCategoryLister/TestCategoryLister.csproj b/TestCategoryLister/TestCategoryLister.csproj index a5958a54..72df9878 100644 --- a/TestCategoryLister/TestCategoryLister.csproj +++ b/TestCategoryLister/TestCategoryLister.csproj @@ -4,6 +4,6 @@ net10.0 - + \ No newline at end of file diff --git a/TransactionProcessor.Mobile.BusinessLogic.Tests/TransactionProcessor.Mobile.BusinessLogic.Tests.csproj b/TransactionProcessor.Mobile.BusinessLogic.Tests/TransactionProcessor.Mobile.BusinessLogic.Tests.csproj index 9eb9e129..b8eb45e5 100644 --- a/TransactionProcessor.Mobile.BusinessLogic.Tests/TransactionProcessor.Mobile.BusinessLogic.Tests.csproj +++ b/TransactionProcessor.Mobile.BusinessLogic.Tests/TransactionProcessor.Mobile.BusinessLogic.Tests.csproj @@ -9,23 +9,23 @@ - - - - - - - - - + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all diff --git a/TransactionProcessor.Mobile.BusinessLogic/TransactionProcessor.Mobile.BusinessLogic.csproj b/TransactionProcessor.Mobile.BusinessLogic/TransactionProcessor.Mobile.BusinessLogic.csproj index f5dc5427..8b5ecaf4 100644 --- a/TransactionProcessor.Mobile.BusinessLogic/TransactionProcessor.Mobile.BusinessLogic.csproj +++ b/TransactionProcessor.Mobile.BusinessLogic/TransactionProcessor.Mobile.BusinessLogic.csproj @@ -6,20 +6,20 @@ enable - - - - - - - - - - + + + + + + + + + + all - - - + + + diff --git a/TransactionProcessor.Mobile.BusinessLogic/ViewModels/Reports/ReportsSalesAnalysisPageViewModel.cs b/TransactionProcessor.Mobile.BusinessLogic/ViewModels/Reports/ReportsSalesAnalysisPageViewModel.cs index b08b9a8d..fd59621b 100644 --- a/TransactionProcessor.Mobile.BusinessLogic/ViewModels/Reports/ReportsSalesAnalysisPageViewModel.cs +++ b/TransactionProcessor.Mobile.BusinessLogic/ViewModels/Reports/ReportsSalesAnalysisPageViewModel.cs @@ -134,8 +134,8 @@ public override async Task Initialise(CancellationToken cancellationToken) }, Fill = null, Name = "Balance", - TooltipLabelFormatter = - (chartPoint) => $"{chartPoint.Context.Series.Name}: {chartPoint.PrimaryValue}" + YToolTipLabelFormatter = + (chartPoint) => $"{chartPoint.Context.Series.Name}: {chartPoint.StackedValue}" } }; } diff --git a/TransactionProcessor.Mobile.UITests/TransactionProcessor.Mobile.UITests.csproj b/TransactionProcessor.Mobile.UITests/TransactionProcessor.Mobile.UITests.csproj index 8379eacf..2ef862ac 100644 --- a/TransactionProcessor.Mobile.UITests/TransactionProcessor.Mobile.UITests.csproj +++ b/TransactionProcessor.Mobile.UITests/TransactionProcessor.Mobile.UITests.csproj @@ -9,31 +9,31 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - - - - - + + + + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - + + + + + + + + + diff --git a/TransactionProcessor.Mobile/Pages/Reports/ReportsBalanceAnalysisPage.xaml b/TransactionProcessor.Mobile/Pages/Reports/ReportsBalanceAnalysisPage.xaml index 26080b07..ff8e8e6d 100644 --- a/TransactionProcessor.Mobile/Pages/Reports/ReportsBalanceAnalysisPage.xaml +++ b/TransactionProcessor.Mobile/Pages/Reports/ReportsBalanceAnalysisPage.xaml @@ -22,12 +22,11 @@ Series="{Binding Series}" YAxes="{Binding YAxes}" XAxes="{Binding XAxes}" - TooltipFindingStrategy="{Binding TooltipFindingStrategy}" TooltipPosition="{Binding TooltipPosition}" HeightRequest="260" HorizontalOptions="FillAndExpand" /> - +