Skip to content

Ensure Details pane has focus when entering task detail view#71

Merged
bborn merged 1 commit intomainfrom
task/147-when-i-enter-tasak-detail-view-the-task
Jan 9, 2026
Merged

Ensure Details pane has focus when entering task detail view#71
bborn merged 1 commit intomainfrom
task/147-when-i-enter-tasak-detail-view-the-task

Conversation

@bborn
Copy link
Copy Markdown
Owner

@bborn bborn commented Jan 9, 2026

Summary

  • Automatically focus the Details pane when entering task detail view
  • Ensures immediate keyboard interaction without manual pane switching
  • Works both with and without active tmux sessions

Test plan

  • Build the application and verify it compiles
  • Open task UI and navigate to a task without an active session
  • Verify the Details pane has focus (keyboard navigation works immediately)
  • Start a task with Claude/Shell panes
  • Verify the Details pane has focus after panes are joined
  • Test keyboard navigation (↑/↓ for scrolling) works immediately

🤖 Generated with Claude Code

When navigating to a task detail view, the Details pane now automatically
receives focus, allowing immediate keyboard interaction (scrolling, etc.)
without requiring manual pane switching.

Changes:
- Added focusDetailsPane() method to set focus on the TUI pane
- Updated NewDetailModel() to call focusDetailsPane() on route change
- Enhanced joinTmuxPanes() to explicitly focus Details pane after setup

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@bborn bborn merged commit 7474968 into main Jan 9, 2026
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