From c44465d684721ee56927b04d3d2f82b15db98e4d Mon Sep 17 00:00:00 2001 From: Nikolaos Protopapas Date: Fri, 26 Jun 2026 01:21:29 +0300 Subject: [PATCH] Bump SharpConsoleUI to 2.5.0 and drop redundant nav invalidation SharpConsoleUI 2.5.0 makes NavigationItem.Subtitle self-invalidate via its setter, so the explicit _navView?.Invalidate() after updating the badge subtitles in UpdateNavBadges is now redundant and can be removed. --- Directory.Packages.props | 2 +- .../Commands/Chronicle/Workbench/windows/WorkbenchNavigation.cs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 2da6ca5..02d4b6f 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -12,7 +12,7 @@ - + diff --git a/Source/Cli/Commands/Chronicle/Workbench/windows/WorkbenchNavigation.cs b/Source/Cli/Commands/Chronicle/Workbench/windows/WorkbenchNavigation.cs index d894be0..95ccab9 100644 --- a/Source/Cli/Commands/Chronicle/Workbench/windows/WorkbenchNavigation.cs +++ b/Source/Cli/Commands/Chronicle/Workbench/windows/WorkbenchNavigation.cs @@ -238,8 +238,6 @@ public void UpdateNavBadges(WorkbenchData data) ? data.Recommendations.Count.ToString() : string.Empty; } - - _navView?.Invalidate(); } /// Opens a modal picker that lets the user select a different event store.