Skip to content

Conversation

@bborn
Copy link
Owner

@bborn bborn commented Jan 24, 2026

Summary

  • When using 'g' to jump to a task from a notification, the executor pane is now automatically focused
  • This allows users to immediately interact with the AI assistant without manually switching panes

Test plan

  • All existing tests pass
  • New test TestJumpToNotificationKey_FocusExecutor verifies the focusExecutor flag is set
  • Manual testing: trigger a notification, press 'g' to jump, verify executor pane has focus

🤖 Generated with Claude Code

When using 'g' to jump to a task from a notification, the executor
pane is now automatically focused instead of leaving focus on the
TUI pane. This allows users to immediately start interacting with
the AI assistant without having to manually switch panes.

Changes:
- Add focusExecutor flag to taskLoadedMsg
- Add loadTaskWithFocus helper that sets the flag
- Add focusExecutorOnJoin field to DetailModel
- Focus the Claude pane after panes are joined when flag is set
- Add test for the new behavior

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bborn bborn force-pushed the task/598-notification-jump-to-task-should-automat branch from 20505f9 to 768288c Compare January 24, 2026 15:27
@bborn bborn merged commit 7540515 into main Jan 24, 2026
3 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.

2 participants