mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
This commit reverts experimental UX changes and stabilizes the layout by aligning key components with origin/main. It ensures consistency across settings, core UI logic, and test suites. Layout & Component Reverts: - InputPrompt.tsx: Removed speculative 'disabled' prop and restored original padding/border logic. - InputPrompt.test.tsx: Restored original click offsets and removed speculative test logic. - HalfLinePaddedBox.tsx: Removed 'marginX' prop and restored full-width rendering for both iTerm and standard terminals. - HistoryItemDisplay.tsx: Restored original padding handling. - ScreenReaderAppLayout.tsx: Reverted Composer call to standard form. Core Logic & Cleanup: - Composer.tsx: Removed unused experimental border styles and the temporary 'Action required' status indicator. - useLoadingIndicator.ts & LoadingIndicator.tsx: Standardized prop names (loadingPhrasesMode) and reinforced use of the original LoadingPhrasesMode type. - settings.ts: Restored original union type and deprecated warning for enableLoadingPhrases to match main. - AppContainer.tsx: Updated hook calls to match cleaned-up prop names. Test Suite Updates: - Composer.test.tsx: Migrated tests to use footerLayoutRefresh instead of useLegacyLayout. - useLoadingIndicator.test.tsx: Aligned with new prop names and types. - Snapshots: Re-verified all 413 CLI tests pass following the reverts.