Skip to content

Conversation

@bborn
Copy link
Owner

@bborn bborn commented Jan 24, 2026

Summary

  • Adds subtle notification indicator to task detail view header when another task needs attention
  • Uses Ctrl+g shortcut to jump to notified task (avoids conflicts with text input in executor/shell panes)
  • Syncs notification state from app to detail view for immediate display

Implementation Details

  • Notification display: Shows a muted gray/yellow indicator in the top-right of the detail header showing the task number and "ctrl+g" hint
  • Key binding: Added JumpToNotificationDetail with Ctrl+g to work in detail view context where users may be typing in tmux panes
  • State sync: Notification state is passed to detail view on every refresh tick and immediately when notifications are triggered

Test plan

  • Unit tests for HasNotification() method covering:
    • No notification
    • Notification for different task
    • Notification for same task (should not show)
    • Expired notification
  • Unit tests for Ctrl+g shortcut in detail view
  • Manual testing: Open task detail, trigger notification on another task, verify indicator appears and Ctrl+g works

🤖 Generated with Claude Code

bborn and others added 2 commits January 24, 2026 07:37
When viewing a task in detail view, notifications for other tasks now appear
as a subtle indicator in the header's right corner. Users can press Ctrl+g
to jump to the notified task.

The Ctrl+g modifier was chosen over plain 'g' to avoid conflicts with text
input in the executor and shell panes that users frequently interact with
in the detail view.

Changes:
- Add notification state to DetailModel (notification, notifyTaskID, notifyUntil)
- Add SetNotification, HasNotification, NotifyTaskID methods
- Display subtle notification indicator in detail header when active
- Add JumpToNotificationDetail key binding (Ctrl+g)
- Sync notification state from AppModel to DetailModel on refresh
- Add ctrl+g help hint when notification is active
- Add tests for notification handling in detail view

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Resolve conflict in detail.go by integrating notification indicator
with the new right-aligned header layout from main.
@bborn bborn merged commit dd4a36e 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