feat(fleet-tui-poc): Tab-triggered ⌘K section-jump overlay#15
Merged
NagyVikt merged 1 commit intoMay 14, 2026
Merged
Conversation
Adds the iOS-style "Jump to section" grid the user mocked: pressing
prefix Tab inside a codex-fleet tmux session pops up a 3×2 card grid
(Overview · Fleet · Plan · Waves · Review), and number keys 1–5 dispatch
`tmux select-window -t <session>:<window>` then exit. Esc / 0 / q / Tab
dismiss. Enter activates the card matching --active <window>, falling
back to section 1.
- rust/fleet-tui-poc/src/main.rs:
new Overlay::SectionJump variant; SECTIONS metadata table;
render_section_jump + render_jump_card with the iOS card chrome
(icon badge + key badge + title + sub + footer line, active card
in IOS_TINT); App::section_active threads the caller's "current
window" hint into the renderer; run() gains session + active_section
params and a new key branch that handles 1–5 / Esc / Enter / Tab;
main() learns --session, --active flags and a CODEX_FLEET_TMUX_SESSION
env fallback. parse_overlay accepts "section-jump" / "jump".
- scripts/codex-fleet/bin/section-jump-chooser.sh (new):
thin launcher mirroring pane-context-menu-chooser.sh — resolves
the workspace target dir (release → debug → loud failure), infers
session + active window via `tmux display-message`, exec's the
fleet-tui-poc binary in single-shot mode.
- scripts/codex-fleet/tmux-bindings.conf:
binds `prefix Tab` to display-popup invoking the chooser. Bare Tab
is intentionally left untouched so shell tab-completion inside
panes is unaffected.
Smoke-tested by running the binary in a detached tmux session with
`--overlay section-jump --session codex-fleet --active fleet`:
overlay renders with the expected card grid + footer hints, Esc exits
cleanly (session vanishes), and `cargo build -p fleet-tui-poc` is
clean (only the pre-existing ctx_menu_items dead-code warning from the
in-flight iOS context-menu lane).
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.
Automated by gx branch finish (PR flow).