mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-25 11:12:36 -07:00
0d50b16f69
This commit saves the current state of the sticky topic header implementation. - Introduced 'TopicUpdated' event to CoreEventEmitter to track topic changes. - Updated TopicState to store topic summaries and emit update events. - Refactored TopicMessage into a shared TopicDisplay component for UI consistency. - Implemented TopicStickyHeader to persistently show the current topic and summary. - Positioned the sticky header immediately below the prompt (Composer) in both Default and ScreenReader layouts. - Removed redundant topic messages from the chat history to prevent duplicate display. - Adjusted terminal height calculations to account for the new persistent UI element. - Added unit tests for the new sticky header component and updated core tests. - Addressed some React Hook dependency warnings in AppContainer and MainContent.