From c90eb7be6965567a5fb367c008b6810cff1e8fd3 Mon Sep 17 00:00:00 2001 From: SuperDooper <37051355+superdooper86@users.noreply.github.com> Date: Mon, 11 May 2026 14:18:59 +0200 Subject: [PATCH] port multi-org fix and add diagnostics panel to Windows app MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Read lastActiveOrg cookie in both the browser JS path and HttpClient fallback, then prefer the matching org in ParseBootstrap for both org ID and plan label selection — same fix as macOS v1.3.0. Add Settings → Diagnostics panel showing app state, last request details, cookie store counts/domains, and stored cookie names. --- windows/PopupWindow.xaml | 40 +++++++- windows/PopupWindow.xaml.cs | 198 ++++++++++++++++++++++++++++++++++-- windows/UsageViewModel.cs | 117 ++++++++++++++++----- 3 files changed, 317 insertions(+), 38 deletions(-) diff --git a/windows/PopupWindow.xaml b/windows/PopupWindow.xaml index 918a1db..0f3253f 100644 --- a/windows/PopupWindow.xaml +++ b/windows/PopupWindow.xaml @@ -150,7 +150,7 @@ + Padding="14,12" Margin="0,0,0,16"> @@ -185,6 +185,19 @@ + + + + +