Skip to content

feat(cli): align activity TUI navigation help#1064

Merged
gtrrz-victor merged 2 commits intomainfrom
soph/activity-keybindings-replay
Apr 28, 2026
Merged

feat(cli): align activity TUI navigation help#1064
gtrrz-victor merged 2 commits intomainfrom
soph/activity-keybindings-replay

Conversation

@Soph
Copy link
Copy Markdown
Collaborator

@Soph Soph commented Apr 28, 2026

https://entire.io/gh/entireio/cli/trails/253

This is a redo of #1056

What

  • Aligns entire activity keyboard behavior with the repo's newer TUI navigation vocabulary while keeping it single-screen.
  • Documents both arrow and vim-style navigation controls in the footer: up/down/j/k scrolling, home/end/g/G top/bottom, and q quit.
image

Uses now the same bindings introduced in #1060

Replay the activity TUI navigation and footer improvements onto the shared Bubble Tea keymap introduced on main.

Co-authored-by: Sven Pfleiderer <sven@entire.io>
Entire-Checkpoint: 3a78cdbe197c
Copilot AI review requested due to automatic review settings April 28, 2026 13:03
@Soph Soph requested a review from a team as a code owner April 28, 2026 13:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Aligns the entire activity TUI navigation/help with the repo’s newer keybinding vocabulary, adding top/bottom jumps and making the footer help adapt to available width while keeping the UI single-screen.

Changes:

  • Add home/g (top) and end/G (bottom) navigation handling in the activity TUI.
  • Rework the activity footer help to include arrow + vim-style navigation and dynamically fit/aligned scroll percentage.
  • Add Bubble Tea model tests covering key handling and footer rendering/width behavior.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
cmd/entire/cli/activity_tui.go Adds Home/End handling and updates footer help rendering to fit width and align scroll percent.
cmd/entire/cli/activity_tui_test.go Introduces unit tests for new keybindings and footer rendering behavior.

Comment thread cmd/entire/cli/activity_tui_test.go Outdated
gtrrz-victor
gtrrz-victor previously approved these changes Apr 28, 2026
@gtrrz-victor gtrrz-victor merged commit 94437b1 into main Apr 28, 2026
9 checks passed
@gtrrz-victor gtrrz-victor deleted the soph/activity-keybindings-replay branch April 28, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants