You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tui): address review feedback on unread feature
CodeRabbit review on agent-of-empires#2088:
- Promote unread in `attention_group_key` too, so project-grouped Attention
agrees with the flat view (a group with an unread Idle now outranks a group
whose best member is a read Error).
- Map `v`/`V` to `ToggleUnread` in the context menu's `handle_key`, with a
regression test; the quick-pick only fires when the row is present.
- Gate the `v` binding behind the feature: a new `Context::UnreadEnabled`
drops it from dispatch when off, and the help overlay and command palette
skip it, so disabling the setting removes it from every surface (not just a
no-op handler).
- Clear auto-unread unconditionally (only when an `Auto` flag is present) so a
stale marker can't survive a disable/re-enable; `Manual` is still preserved.
- Fall back an omitted theme `unread` to that theme's own `accent` instead of
Empire's default, via a load-time `fill_unread_from_accent`.
- Lighten catppuccin-latte's `unread` so it stays below Waiting in that light
theme (waiting > unread > idle).
🤖 Generated with Claude Code
0 commit comments