From bf9e5b1e39e2821bac6359e7a1634b428afd9ad7 Mon Sep 17 00:00:00 2001 From: justcoding121 Date: Fri, 11 Sep 2026 10:37:46 -0500 Subject: [PATCH 1/2] Simplify Inspector exclude-host wording and rename Capture local traffic. Right-click exclude always skips HTTPS decrypt without tunnel/bypass jargon, and Excluded hosts section titles match that language. --- .../ViewModels/MainWindowViewModel.cs | 17 ++---- .../Views/ExcludeHostDialog.axaml | 17 ++---- .../Views/ExcludeHostDialog.axaml.cs | 56 ++++++++----------- .../Views/ExcludedHostsWindow.axaml | 10 ++-- src/Titanium.Inspector/Views/MainWindow.axaml | 2 +- .../AutomationIdCoverageHeadlessTests.cs | 8 +++ .../Scenarios/ChromeScenario.cs | 1 - website/docs/inspector.md | 14 ++--- wiki/Home.md | 2 +- 9 files changed, 54 insertions(+), 73 deletions(-) diff --git a/src/Titanium.Inspector/ViewModels/MainWindowViewModel.cs b/src/Titanium.Inspector/ViewModels/MainWindowViewModel.cs index ce4d0bce7..0e250287f 100644 --- a/src/Titanium.Inspector/ViewModels/MainWindowViewModel.cs +++ b/src/Titanium.Inspector/ViewModels/MainWindowViewModel.cs @@ -977,7 +977,7 @@ private async Task ExcludeHostAsync() return; } - var (saved, kind, _) = await AwaitCancellableAsync(ExcludeHostDialog.ShowAsync(owner, _settings, selected.Host)); + var (saved, _) = await AwaitCancellableAsync(ExcludeHostDialog.ShowAsync(owner, _settings, selected.Host)); if (!saved) { StatusText = "Exclude host cancelled"; @@ -985,15 +985,8 @@ private async Task ExcludeHostAsync() } ApplyExclusionSettingsFromSettings(); - if (kind == ExcludeHostKind.BypassProxy && SystemProxy) - { - _interception.ReapplySystemProxyIfEnabled(); - } - UpdateExclusionSummary(); - StatusText = kind == ExcludeHostKind.BypassProxy - ? $"Added {selected.Host} to OS bypass exclusions (new connections)" - : $"Added {selected.Host} to tunnel-only exclusions (new connections)"; + StatusText = $"Excluded {selected.Host} — still listed, HTTPS not read"; } private async Task ResetSettingsAsync() @@ -1461,13 +1454,13 @@ public bool ProxyLoopback if (SystemProxy && !_interception.ReapplySystemProxyIfEnabled()) { - StatusText = "Proxy localhost saved; re-toggle System proxy to apply"; + StatusText = "Capture local traffic saved; re-toggle System proxy to apply"; return; } StatusText = value - ? "Proxy localhost on — loopback uses the system proxy" - : "Proxy localhost off — loopback skips the system proxy"; + ? "Capture local traffic on — localhost uses the system proxy" + : "Capture local traffic off — localhost skips the system proxy"; } } diff --git a/src/Titanium.Inspector/Views/ExcludeHostDialog.axaml b/src/Titanium.Inspector/Views/ExcludeHostDialog.axaml index e9b616786..96762c13d 100644 --- a/src/Titanium.Inspector/Views/ExcludeHostDialog.axaml +++ b/src/Titanium.Inspector/Views/ExcludeHostDialog.axaml @@ -3,26 +3,19 @@ x:Class="Titanium.Inspector.Views.ExcludeHostDialog" AutomationProperties.AutomationId="ExcludeHostDialog" Title="Exclude host" - Width="440" Height="280" + Width="440" Height="220" WindowStartupLocation="CenterOwner" CanResize="False"> -