Skip to content

docs/tui: rewrite Navigation section to match actual screens#309

Merged
ooloth merged 6 commits into
mainfrom
claude/issue-58
Jun 15, 2026
Merged

docs/tui: rewrite Navigation section to match actual screens#309
ooloth merged 6 commits into
mainfrom
claude/issue-58

Conversation

@ooloth

@ooloth ooloth commented Jun 11, 2026

Copy link
Copy Markdown
Owner

✅ What

  • Replaces the stale three-level Home → Category → Detail navigation description with the two screens that actually exist: UnifiedList and the split detail pane
  • Removes the nonexistent Tab/Shift-Tab tile navigation keybinds and the Home/Category headings
  • Adds a complete, accurate keybind table for both screens, sourced directly from unified_list_keys and the universal key handler in input.rs
  • Fixes two stale function name references in the State machine section (home_keys/list_keysunified_list_keys/merge_confirm_key)

🤔 Why

The Navigation section described a tile-based Home screen that never shipped. Any agent or contributor following it would implement against a ghost architecture — the Screen enum has no Home or Category variant, input.rs has no home_keys function, and Tab only fires ToggleSessionDetail when the split view is active.

👩‍🔬 How to validate

  • Open ui/tui/README.md and read the Navigation section — expect two headings: UnifiedList and Split detail pane, with no Home or Category heading
  • Search the file for Shift-Tab — expect zero matches
  • Search the file for home_keys — expect zero matches
  • Open ui/tui/src/input.rs and scan unified_list_keys — expect every key listed in the UnifiedList table to have a matching branch in that function
  • Scan the split view guard branches (lines using split_active) — expect every key in the Split detail pane table to have a matching branch

🔖 Related links

Closes #58

https://claude.ai/code/session_01FEgY11QaxQdZGmjUV23HjY


Generated by Claude Code

#58

The Navigation section described a three-level Home → Category → Detail
architecture with category preview tiles, Tab/Shift-Tab tile navigation,
and Home/Category screen headings. None of these exist. The Screen enum
has two variants — UnifiedList and MergingPr — and the input module has
no home_keys function and no Tab binding for tile navigation.

Replace the section with an accurate two-screen description: UnifiedList
(the main flat list with inline group expand/collapse via h/l) and the
split detail pane (opened with Enter, closed with Esc). Every keybind in
the new tables corresponds to a branch in unified_list_keys or the
universal key handler in key_to_action. Also fix two stale references in
the State machine section that named home_keys and list_keys instead of
unified_list_keys and merge_confirm_key.

Closes #58
Copilot AI review requested due to automatic review settings June 11, 2026 05:12
@ooloth ooloth added the author:agent This was authored by an agent. label Jun 11, 2026 — with Claude

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the TUI documentation to describe the actual navigation model and key bindings implemented in ui/tui/src/input.rs, replacing stale references to nonexistent screens and handlers.

Changes:

  • Rewrites the Navigation section to document UnifiedList plus the split detail pane behavior and keybinds.
  • Removes outdated Home/Category/Detail navigation descriptions and keybinds that don’t exist.
  • Updates State machine references to match current key dispatch functions (unified_list_keys, merge_confirm_key).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ui/tui/README.md Outdated
Comment thread ui/tui/README.md
Comment thread ui/tui/README.md Outdated
Comment thread ui/tui/README.md Outdated
Comment thread ui/tui/README.md Outdated
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Copilot AI review requested due to automatic review settings June 15, 2026 23:04
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
ooloth and others added 3 commits June 15, 2026 19:04
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@ooloth ooloth merged commit 502d6b4 into main Jun 15, 2026
1 check passed
@ooloth ooloth deleted the claude/issue-58 branch June 15, 2026 23:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.

Comment thread ui/tui/README.md
| Esc | back to category |
| ? | toggle help |
| q / Ctrl-C | quit |
One screen (`UnifiedList`) with an optional split detail pane. `Enter` opens the pane; `Esc` closes it.
Comment thread ui/tui/README.md
Comment on lines +231 to +233
| o | open URL in browser |
| N | open blank task creation form |
| p | filter to PRs |
Comment thread ui/tui/README.md
| m | merge PR (PR only) |
| d | open PR diff submenu (PR only) |
| a | approve for agent (issue only) |
| s | open task status submenu (task or badged signal) |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author:agent This was authored by an agent.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ui/tui/README.md: Navigation section documents nonexistent Home screen

2 participants