diff options
| author | Seth Troisi <[email protected]> | 2025-07-10 18:59:02 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-11 01:59:02 +0000 |
| commit | 8a128d8dc6c1c5d7aea7004e0efa9fd175be36e5 (patch) | |
| tree | cf9d6f3bb06586e6cefe3d72bdd015531f887494 /packages/cli/src/ui/App.tsx | |
| parent | ab66e3a24ebc3ec6c2e8f0c68065680066e265cf (diff) | |
Add NO_BROWSER environment variable to trigger offline oauth flow (#3713)
Diffstat (limited to 'packages/cli/src/ui/App.tsx')
| -rw-r--r-- | packages/cli/src/ui/App.tsx | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/packages/cli/src/ui/App.tsx b/packages/cli/src/ui/App.tsx index e3a5eb55..2a6bf088 100644 --- a/packages/cli/src/ui/App.tsx +++ b/packages/cli/src/ui/App.tsx @@ -728,13 +728,29 @@ const App = ({ config, settings, startupWarnings = [] }: AppProps) => { /> </Box> ) : isAuthenticating ? ( - <AuthInProgress - onTimeout={() => { - setAuthError('Authentication timed out. Please try again.'); - cancelAuthentication(); - openAuthDialog(); - }} - /> + <> + <AuthInProgress + onTimeout={() => { + setAuthError('Authentication timed out. Please try again.'); + cancelAuthentication(); + openAuthDialog(); + }} + /> + {showErrorDetails && ( + <OverflowProvider> + <Box flexDirection="column"> + <DetailedMessagesDisplay + messages={filteredConsoleMessages} + maxHeight={ + constrainHeight ? debugConsoleMaxHeight : undefined + } + width={inputWidth} + /> + <ShowMoreLines constrainHeight={constrainHeight} /> + </Box> + </OverflowProvider> + )} + </> ) : isAuthDialogOpen ? ( <Box flexDirection="column"> <AuthDialog |
