Repository navigation
Add responsive style tabs - #4
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the TUI navigation model by replacing sequential meter-style cycling with a responsive, clickable tab rail (including keyboard navigation via Tab/Shift+Tab), while also updating Stopwatch start controls and bumping the source version to v0.1.2.
Changes:
- Introduces a responsive meter-style tab rail with mouse hover/click selection and Tab/Shift+Tab navigation, including activation pulse feedback and a recording indicator on the Stopwatch tab.
- Reworks header/footer metadata alignment (signal/account in header; theme right-aligned in footer; removes style button from footer) and updates related UI geometry/hit-testing.
- Updates Stopwatch start hotkey/labels (
s/ “Start”) and bumps version references/tests to v0.1.2.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates documented controls and version; describes new tab-based style selection. |
| main_test.go | Updates --version/-v expected output to v0.1.2. |
| internal/version/version.go | Bumps maintained fallback version to 0.1.2. |
| internal/version/version_test.go | Updates version fallback expectation to 0.1.2. |
| internal/ui/view.go | Moves signal/account metadata into header and adds style tab rail above meters; footer theme right-aligned. |
| internal/ui/view_test.go | Adds coverage for the streamlined header/footer metadata alignment. |
| internal/ui/theme.go | Adds previous() to support Shift+Tab reverse navigation. |
| internal/ui/tabs.go | Implements responsive style tab layout/rendering and tab hit-testing. |
| internal/ui/tabs_test.go | Adds tests for responsive labels, mouse hover/click + pulse, recording dot, and s behavior outside Stopwatch. |
| internal/ui/stopwatch.go | Renames Stopwatch control label/hints from Go/G to Start/S. |
| internal/ui/stopwatch_test.go | Updates tests to use Start/S labeling and hotkey. |
| internal/ui/model.go | Adds style hover/flash state, Tab/Shift+Tab navigation, and style tab click handling; removes footer style button; adjusts layout. |
| internal/ui/model_test.go | Updates tests for Tab/Shift+Tab style navigation and revised footer behavior. |
Suppressed comments (1)
README.md:183
- The Stopwatch meter-style description still refers to pressing/clicking “Go”, but the UI and hotkey were renamed to Start/S. This makes the README inconsistent with the updated controls.
Select a tab with the mouse, `Tab`, or `Shift+Tab`:
1. **Bars** — chunky quota bars, with one full-width rate-limit window per row.
2. **Stopwatch** — establishes a zero baseline across locally active Codex
sessions when you press Go. A large readout follows newly appended token
telemetry once per second and shows total observed tokens, elapsed time, and
average rate; clickable Go and Stop controls sit beside it. The full-width
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Owner
Author
|
Also addressed Copilot’s suppressed README consistency note in commit f467f88: the remaining “Go” references now use “Start,” matching the S hotkey and visible button label. |
merefield
marked this pull request as ready for review
August 11, 2026 15:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Why
Direct tab selection makes the available presentations visible and easier to reach than cycling through them one at a time. Responsive label tiers preserve all five choices as the terminal narrows, while keyboard controls remain available without mouse support.
Validation