mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-08 09:06:48 -07:00
feat(cli): add welcome message and exercise TDD with TTY smoke tests
Verified the TDD workflow by: 1. Adding an expectation for a 'Welcome to Gemini CLI!' message to the TTY bootstrap test. 2. Observing the test failure. 3. Implementing the message in AppHeader.tsx. 4. Verifying the test pass with the built binary.
This commit is contained in:
@@ -124,6 +124,14 @@ export const AppHeader = ({ version, showDetails = true }: AppHeaderProps) => {
|
||||
/>
|
||||
)}
|
||||
|
||||
{showHeader && (
|
||||
<Box paddingLeft={2} marginTop={1}>
|
||||
<Text italic color={theme.text.secondary}>
|
||||
Welcome to Gemini CLI!
|
||||
</Text>
|
||||
</Box>
|
||||
)}
|
||||
|
||||
{!(settings.merged.ui.hideTips || config.getScreenReader()) &&
|
||||
showTips && <Tips config={config} />}
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user