Repository navigation
FEAT: filter Sessions by status and prioritise statusline telemetry - #85
Merged
Merged
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved moderate issues remain in telemetry deduplication, command picker behavior, filter hit testing, and focus restoration.
3 open issues
What changed in this PR
Adds terminal session filtering, prioritized telemetry, keyboard focus navigation, composer-driven command menus, and improved ready-session activity detection.
Changes:
- Adds Active/Working and attention filters with keyboard and mouse navigation.
- Reuses
/statuslinepreferences for session telemetry. - Adds inline command browsing, filtering, confirmations, and responsive popups.
- Preserves drafts and improves quiet ready-session activity handling.
| File | Summary |
|---|---|
| README.md | Documents filters, telemetry, and command navigation. |
| internal/ui/view.go | Adjusts hints during header focus. |
| internal/ui/monitor.go | Renders filtered rows and prioritized telemetry. |
| internal/ui/monitor_test.go | Updates telemetry fallback coverage. |
| internal/ui/monitor_summary.go | Adds filter summaries and focus styling. |
| internal/ui/monitor_summary_test.go | Tests summary counts and responsive layout. |
| internal/ui/monitor_suggestions.go | Shares popup rendering and sizing. |
| internal/ui/monitor_statusline.go | Supplies per-session telemetry values. |
| internal/ui/monitor_statusline_test.go | Tests telemetry prioritization. |
| internal/ui/monitor_schedule.go | Clears header focus for scheduling. |
| internal/ui/monitor_queue.go | Clears header focus for queue editing. |
| internal/ui/monitor_prompt.go | Clears header focus when focusing the composer. |
| internal/ui/monitor_navigation.go | Extends navigation through filters and headers. |
| internal/ui/monitor_navigation_test.go | Updates navigation boundary coverage. |
| internal/ui/monitor_name_test.go | Updates compact telemetry expectations. |
| internal/ui/monitor_model_test.go | Tests telemetry fallback behavior. |
| internal/ui/monitor_header_focus.go | Implements keyboard header traversal. |
| internal/ui/monitor_header_focus_test.go | Tests focus navigation and hit surfaces. |
| internal/ui/monitor_filter.go | Implements session filters and filter focus. |
| internal/ui/monitor_filter_test.go | Tests filtering, paging, and focus behavior. |
| internal/ui/monitor_context.go | Integrates filter and focus handling. |
| internal/ui/monitor_context_modes.go | Preserves filtered context visibility. |
| internal/ui/monitor_commands.go | Adds inline command menus and filtering. |
| internal/ui/monitor_commands_test.go | Updates command-menu coverage. |
| internal/ui/monitor_commands_inline.go | Implements composer-driven command interaction. |
| internal/ui/monitor_commands_inline_test.go | Tests nested menus, drafts, and confirmations. |
| internal/ui/monitor_command_popup.go | Defines responsive popup geometry. |
| internal/ui/monitor_command_popup_test.go | Tests popup rendering and controls. |
| internal/ui/monitor_close_all.go | Scopes bulk dismissal to filtered sessions. |
| internal/ui/model.go | Stores filter and focus state. |
| internal/ui/localisation_test.go | Adds localized surface coverage. |
| internal/ui/english_snapshot_test.go | Updates presentation snapshots. |
| internal/codex/session_ready_activity_test.go | Tests quiet ready-session activity. |
| internal/codex/live_usage.go | Preserves activity for confirmed idle sessions. |
Review effort: Lite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Why
Make Sessions easier to triage, prioritise the telemetry users actually want, and let slash-command options drill down from the command line without replacing the conversation.
Changes
Sessions status filters
Keyboard focus through attention pills
Configurable telemetry priority
Composer-driven slash-command expansion
Filters, configurable telemetry presentation and command-menu changes are terminal-only. The ready-session activity correction is shared by TUI and web. No new API/write capabilities, dependencies or background polling.
Validation
go test -race -timeout 10m -skip '^TestLocalisedScreens$' ./...go vet ./..., formatting andgit diff --check.