Skip to content

feat(examples): TUI help overlay (?)#67

Merged
Meirtz merged 2 commits into
Agentix-Project:masterfrom
Meirtz:feat/tui-help
May 30, 2026
Merged

feat(examples): TUI help overlay (?)#67
Meirtz merged 2 commits into
Agentix-Project:masterfrom
Meirtz:feat/tui-help

Conversation

@Meirtz
Copy link
Copy Markdown
Collaborator

@Meirtz Meirtz commented May 29, 2026

Stacks on #63 (the Agentix TUI). GitHub shows the cumulative diff until #63 merges; the net change here is the help overlay — eval_tui/help.py, a ? binding + action_help in app.py, and pilot tests.

What

Adds a modal help overlay: pressing ? pushes a centered HelpScreen; ? / esc / q dismiss it. The cheatsheet rows are rendered from the running app's BINDINGS (_binding_rows), so the overlay always matches the keys the app actually binds and can't drift as bindings change.

Verification

  • ruff; headless run_test pilots: ? pushes HelpScreen / esc pops it, and test_help_rows_match_real_bindings asserts every advertised key maps to a real binding (guards against advertising a key the app doesn't bind) — 12 pilot tests green.

Meirtz and others added 2 commits May 30, 2026 20:11
`t` cycles a branded `agentix` theme (best-effort registration) plus
always-available built-ins (tokyo-night / gruvbox / nord / dracula /
textual-light), with a toast showing the active theme. ruff + 11 pilot
tests green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a `HelpScreen` modal that lists the app's key bindings, rendered
from `AgentixTUI.BINDINGS` at display time — so the overlay can't
advertise a key the app doesn't bind, and can't drift as bindings
change. `?` toggles it; `?` / `esc` / `q` dismiss. A pilot test asserts
the rendered rows match the real bindings. ruff + 12 pilot tests green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Meirtz Meirtz merged commit 0a28f1d into Agentix-Project:master May 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant