From 0a834b54c331467443974816dd88d81749ab5601 Mon Sep 17 00:00:00 2001 From: LXBStudioLLC Date: Sun, 5 Jul 2026 15:52:32 -0400 Subject: [PATCH] fix(ui): add Mode=OneWay to all Run.Text bindings Run.Text defaults to TwoWay in WPF. When bound to a read-only or init-only property, WPF throws XamlParseException at template instantiation, crashing the entire view. PR #20 fixed SizeDisplay in LLMSettingsView. This PR fixes the remaining 7 Run.Text bindings across 4 XAML files: - BrowserSelectionView.xaml: StatusText - DashboardView.xaml: Email, Phone, Experience.Count, Skills.Count - FindJobsView.xaml: Company, Location - LLMSettingsView.xaml: StatusText, ModelCountText Every Run Text={Binding...} in the codebase now has Mode=OneWay. --- src/Envoy.UI/BrowserSelectionView.xaml | 2 +- src/Envoy.UI/DashboardView.xaml | 6 +++--- src/Envoy.UI/FindJobsView.xaml | 2 +- src/Envoy.UI/LLMSettingsView.xaml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Envoy.UI/BrowserSelectionView.xaml b/src/Envoy.UI/BrowserSelectionView.xaml index 62eeeaf..1397c95 100644 --- a/src/Envoy.UI/BrowserSelectionView.xaml +++ b/src/Envoy.UI/BrowserSelectionView.xaml @@ -113,7 +113,7 @@ - + diff --git a/src/Envoy.UI/DashboardView.xaml b/src/Envoy.UI/DashboardView.xaml index 1b90d94..4afaed7 100644 --- a/src/Envoy.UI/DashboardView.xaml +++ b/src/Envoy.UI/DashboardView.xaml @@ -52,14 +52,14 @@ - + - + - + diff --git a/src/Envoy.UI/FindJobsView.xaml b/src/Envoy.UI/FindJobsView.xaml index 926ef57..1309c4d 100644 --- a/src/Envoy.UI/FindJobsView.xaml +++ b/src/Envoy.UI/FindJobsView.xaml @@ -65,7 +65,7 @@ - + diff --git a/src/Envoy.UI/LLMSettingsView.xaml b/src/Envoy.UI/LLMSettingsView.xaml index 30c7bcf..08bd0fb 100644 --- a/src/Envoy.UI/LLMSettingsView.xaml +++ b/src/Envoy.UI/LLMSettingsView.xaml @@ -67,10 +67,10 @@ - + - +