You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.9 KiB
1.9 KiB
| title | status | type | priority | created_at | updated_at | parent | blocked_by | |
|---|---|---|---|---|---|---|---|---|
| TUI: session list screen widget | in-progress | feature | normal | 2026-03-30T04:45:53Z | 2026-03-30T16:47:21Z | claudbg-i6l2 |
|
Render the full-screen session list as the TUI's home screen.
Layout
┌─ Sessions ──────────────────────────────────────────────────────┐
│ ID Date Project Model Msgs Agents │
│ ────────────────────────────────────────────────────────────────────── │
│ 21fae0a8 2026-03-29 14:32:01 …/pop/claudbg claude-3 42 3 │◄ selected (highlighted)
│ def4776b 2026-03-28 10:15:44 …/pop/claudbg claude-3 128 1 │
│ ... │
└─────────────────────────────────────────────────────────────────┘
Implementation
- Use
ratatui::widgets::TablewithTableStatefor selection tracking. - Highlight the selected row with a
Stylethat inverts colors or uses a distinct background. - Columns: ID (8), Date (20), Project (dynamic, truncated to tail), Model (20), Msgs (6), Agents (7).
- Project path: display only the last 30 or so characters (prefix with
…). - Populate from
AppState.sessions(loaded on TUI start fromdiscover_sessions+ DB). - Scroll with arrow keys / j/k; selected index tracked in
AppState.list_selected.
Blocked by
- app state model (claudbg-nq36)
- agent discovery fix (claudbg-33n0) — for accurate agent counts