From d0b33e8f43d6453f174f0aa999cf008b839bdace Mon Sep 17 00:00:00 2001 From: SuperDooper <37051355+superdooper86@users.noreply.github.com> Date: Mon, 11 May 2026 12:40:38 +0200 Subject: [PATCH] beta.21: diagnostics view, cookie polling, detailed error messages --- ClaudeChecker/ContentView.swift | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ClaudeChecker/ContentView.swift b/ClaudeChecker/ContentView.swift index 7aed344..787d401 100644 --- a/ClaudeChecker/ContentView.swift +++ b/ClaudeChecker/ContentView.swift @@ -584,6 +584,7 @@ struct SettingsView: View { @Binding var showSettings: Bool @Binding var showUpdateSheet: Bool @State private var checkingForUpdates = false + @State private var showDiagnostics = false let refreshOptions: [(label: String, seconds: TimeInterval)] = [ ("1 min", 60), @@ -770,6 +771,23 @@ struct SettingsView: View { Divider() + // Diagnostics + HStack { + Label("Diagnostics", systemImage: "stethoscope") + .font(.system(size: 12, weight: .medium)) + .foregroundColor(.secondary) + Spacer() + Button("Open") { showDiagnostics = true } + .buttonStyle(.bordered) + .controlSize(.small) + } + .sheet(isPresented: $showDiagnostics) { + DiagnosticsView(isPresented: $showDiagnostics) + .environmentObject(vm) + } + + Divider() + // About HStack(spacing: 12) { Image(nsImage: NSImage(named: "AppIcon") ?? NSImage())