From 79d5bc69ca558ed17455ff604b358bd4d1da7282 Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Wed, 1 Apr 2026 09:40:31 -0400 Subject: [PATCH] Enable upgrade detection in Edit Server dialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the _isEditMode guard so Test Connection calls DetectDatabaseStatusAsync() in both Add and Edit modes. Users can now upgrade the PerformanceMonitor database from Edit Server without re-adding the server. Closes #771 (partial — Edit Server flow only) Co-Authored-By: Claude Opus 4.6 (1M context) --- Dashboard/AddServerDialog.xaml.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dashboard/AddServerDialog.xaml.cs b/Dashboard/AddServerDialog.xaml.cs index cad54897..1ab8bc60 100644 --- a/Dashboard/AddServerDialog.xaml.cs +++ b/Dashboard/AddServerDialog.xaml.cs @@ -331,11 +331,8 @@ private async void TestConnection_Click(object sender, RoutedEventArgs e) MessageBoxImage.Information ); - /* After successful connection in Add mode, check database status */ - if (!_isEditMode) - { - await DetectDatabaseStatusAsync(); - } + /* After successful connection, check database status */ + await DetectDatabaseStatusAsync(); } else if (mfaCancelled) {