From 544208e002bb633346cf6ac0974194a75ed1b2bf Mon Sep 17 00:00:00 2001 From: gramps Date: Sun, 30 Aug 2026 21:07:49 -0700 Subject: [PATCH] =?UTF-8?q?refactor:=20extract=20OverlayHost=20(settings/b?= =?UTF-8?q?ug/feature/about=20dialogs)=20=E2=80=94=20Phase=202,=20Commit?= =?UTF-8?q?=2018?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OverlayHost.xaml(.cs) takes the window-root overlay dialog grid (settings/ bug/feature/about panels); BackToAbout_Click moved in via inherited DataContext. WebViewHostPanel + ToastArea stay as thin window-root stubs so the WebView2 ctor init and NotificationService InArea('ToastArea') name lookups are untouched. This completes Phase 2: MainWindow.xaml is now a 123-line shell. Zero behavior change; build 0 warnings; 246 pass, only the 2 known failures. Docs: ViewModels/index.md Phase 2 tracker updated in same commit. --- Controls/OverlayHost.xaml | 172 +++++++++++++++++++++++++++++++++++ Controls/OverlayHost.xaml.cs | 22 +++++ MainWindow.xaml | 168 +--------------------------------- MainWindow.xaml.cs | 9 -- ViewModels/index.md | 1 + 5 files changed, 196 insertions(+), 176 deletions(-) create mode 100644 Controls/OverlayHost.xaml create mode 100644 Controls/OverlayHost.xaml.cs diff --git a/Controls/OverlayHost.xaml b/Controls/OverlayHost.xaml new file mode 100644 index 0000000..3d98564 --- /dev/null +++ b/Controls/OverlayHost.xaml @@ -0,0 +1,172 @@ + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - -