From 58f3ccd4b437fd84213d7079205a8032021eb5f6 Mon Sep 17 00:00:00 2001
From: iliya
Date: Wed, 25 Mar 2026 15:00:42 +0200
Subject: [PATCH] feat(dashboard): add auth troubleshooting guide to CLI status
banner
Add "Already logged in?" button next to Login that expands a
step-by-step troubleshooting panel: re-check status, terminal
commands, re-login instructions, and binary path display.
Also clarifies that browsing works without login.
---
.../components/dashboard/CliStatusBanner.tsx | 120 ++++++++++++++++--
1 file changed, 112 insertions(+), 8 deletions(-)
diff --git a/src/renderer/components/dashboard/CliStatusBanner.tsx b/src/renderer/components/dashboard/CliStatusBanner.tsx
index c5e490cd..e19d3fe7 100644
--- a/src/renderer/components/dashboard/CliStatusBanner.tsx
+++ b/src/renderer/components/dashboard/CliStatusBanner.tsx
@@ -18,7 +18,10 @@ import { formatBytes } from '@renderer/utils/formatters';
import {
AlertTriangle,
CheckCircle,
+ ChevronDown,
+ ChevronUp,
Download,
+ HelpCircle,
Loader2,
LogIn,
Puzzle,
@@ -279,6 +282,7 @@ export const CliStatusBanner = (): React.JSX.Element | null => {
const [showLoginTerminal, setShowLoginTerminal] = useState(false);
const [isVerifyingAuth, setIsVerifyingAuth] = useState(false);
+ const [showTroubleshoot, setShowTroubleshoot] = useState(false);
useEffect(() => {
if (!isElectron) return;
@@ -566,15 +570,115 @@ export const CliStatusBanner = (): React.JSX.Element | null => {
-
+
+
+
+
+
+ {showTroubleshoot && (
+
+
+ If you're sure you're logged in, try these steps:
+
+
+
+ Click{' '}
+ {' '}
+ — sometimes the status is cached for a few seconds
+
+
+ Open your terminal and run:{' '}
+
+ claude auth status
+ {' '}
+ — check if it shows "Logged in"
+
+
+ If it says logged in but the app doesn't see it, try:{' '}
+
+ claude auth logout
+ {' '}
+ then{' '}
+
+ claude auth login
+ {' '}
+ again
+
+
+ Make sure{' '}
+
+ claude
+ {' '}
+ in your terminal is the same binary the app uses
+ {cliStatus.binaryPath && (
+
+ :{' '}
+
+ {cliStatus.binaryPath}
+
+
+ )}
+
+
+
+ Browsing sessions and projects works without login. Login is only needed to run
+ agent teams.
+