From 3187622f3f12619c0e8162c89c5f7c1eb7f9789e Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Wed, 18 Mar 2026 12:16:13 -0400 Subject: [PATCH] Auto-refresh after Import Data completes Triggers connection check, server list refresh, and status bar update after a successful data import so historical data is visible immediately without manual refresh. Co-Authored-By: Claude Opus 4.6 (1M context) --- Lite/MainWindow.xaml.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Lite/MainWindow.xaml.cs b/Lite/MainWindow.xaml.cs index 0409c76..33577bb 100644 --- a/Lite/MainWindow.xaml.cs +++ b/Lite/MainWindow.xaml.cs @@ -937,7 +937,12 @@ await Dispatcher.InvokeAsync(() => if (result.Success) { + StatusText.Text = "Import complete — refreshing views..."; + await _serverManager.CheckAllConnectionsAsync(); + RefreshServerList(); + UpdateStatusBar(); StatusText.Text = "Import complete"; + MessageBox.Show( $"Import completed successfully.\n\n" + $"Tables flushed from old database: {result.TablesFlushed}\n" +