diff options
| author | Allen Hutchison <[email protected]> | 2025-05-14 16:15:41 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-14 16:15:41 -0700 |
| commit | a5f5d7b33abf1d4f8711edc658af9e236ae1430b (patch) | |
| tree | 9f6703ec6033f6d232cd7ab46a616daab544fd47 /packages/cli/src/ui/components/Footer.tsx | |
| parent | 416813452eafd4b9497fe7f4b36d5000b51c969d (diff) | |
Refactor: Move GEMINI.md file count to Footer (#351)
Diffstat (limited to 'packages/cli/src/ui/components/Footer.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/Footer.tsx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/packages/cli/src/ui/components/Footer.tsx b/packages/cli/src/ui/components/Footer.tsx index 06721a4b..d3fe7a4a 100644 --- a/packages/cli/src/ui/components/Footer.tsx +++ b/packages/cli/src/ui/components/Footer.tsx @@ -11,31 +11,31 @@ import { Config } from '@gemini-code/server'; interface FooterProps { config: Config; - queryLength: number; debugMode: boolean; debugMessage: string; cliVersion: string; + geminiMdFileCount: number; } export const Footer: React.FC<FooterProps> = ({ config, - queryLength, debugMode, debugMessage, cliVersion, + geminiMdFileCount, }) => ( - <Box marginTop={1} display="flex" justifyContent="space-between" width="100%"> - {/* Left Section: Help/DebugMode */} + <Box> <Box> - <Text color={Colors.SubtleComment}> - {queryLength === 0 ? '? for shortcuts' : ''} - {debugMode && ( - <Text color={Colors.AccentRed}> - {' '} - {debugMessage || 'Running in debug mode.'} - </Text> - )} - </Text> + {geminiMdFileCount > 0 && ( + <Text color={Colors.SubtleComment}> + Using {geminiMdFileCount} GEMINI.md files + </Text> + )} + {debugMode && ( + <Text color={Colors.AccentRed}> + {debugMessage || ' | Running in debug mode.'} + </Text> + )} </Box> {/* Middle Section: Centered Sandbox Info */} |
