feat(auth): Improve auth dialog error handling and messaging (#11320)

This commit is contained in:
Abhi
2025-10-16 18:08:42 -04:00
committed by GitHub
parent 01c577c371
commit 02241e9126
6 changed files with 18 additions and 7 deletions
+4 -1
View File
@@ -26,7 +26,7 @@ interface AuthDialogProps {
settings: LoadedSettings;
setAuthState: (state: AuthState) => void;
authError: string | null;
onAuthError: (error: string) => void;
onAuthError: (error: string | null) => void;
}
export function AuthDialog({
@@ -174,6 +174,9 @@ Logging in with Google... Please restart Gemini CLI to continue.
items={items}
initialIndex={initialAuthIndex}
onSelect={handleAuthSelect}
onHighlight={() => {
onAuthError(null);
}}
/>
</Box>
{authError && (