mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-14 22:02:59 -07:00
6e5c1c709e
This PR implements a more compact version display in the AppHeader, as requested in Issue #21373. Long pre-release version strings (e.g., `0.42.0-nightly.20260428.g59b2dea0e`) are now parsed to show the base version followed by a small bracketed tag (e.g., `v0.42.0 [nightly]`). Changes: - Modified `AppHeader.tsx` to parse version strings for pre-release tags (`nightly`, `preview`, `alpha`, `beta`, `rc`). - Added `AppHeaderVersion.test.tsx` to verify the new rendering logic for various version formats. This makes the header cleaner, especially on narrower terminals where long version strings could cause layout issues. cc @jacob314 @keithguerin labels: bot-fix