Render two-line session cards in the TUI sidebar #108

Closed
opened 2026-08-24 19:02:08 +01:00 by naps62-yolo · 0 comments
Collaborator

Bring crates/maestro-tui/src/sidebar.rs to the same card layout as the web sidebar, per docs/SIDEBAR.md (#101).

  • Two lines per session, with the second appearing only when the contract says it has something to say.
  • Line 1 keeps the existing status glyph (● attached / ○ live / ✗ dead) and the name; line 2 carries the activity colour, the duration from activity_since (#102), the ⚠ blocked-work marker, and any Error detail.
  • Replace the Modifier::REVERSED highlight with explicit background and focus colours: a card background distinct from the panel, and a separate focus colour for the highlighted card. Reversed video makes the card unreadable against the new backgrounds.
  • The sidebar is narrow. Truncate the meta line rather than wrapping it, and keep the existing behaviour when the terminal is too short to show every card.

Depends on #101 for the rule and #102 for the field.

Depends on: #101, #1

Bring `crates/maestro-tui/src/sidebar.rs` to the same card layout as the web sidebar, per `docs/SIDEBAR.md` (#101). - Two lines per session, with the second appearing only when the contract says it has something to say. - Line 1 keeps the existing status glyph (`●` attached / `○` live / `✗` dead) and the name; line 2 carries the activity colour, the duration from `activity_since` (#102), the `⚠` blocked-work marker, and any `Error` detail. - Replace the `Modifier::REVERSED` highlight with explicit background and focus colours: a card background distinct from the panel, and a separate focus colour for the highlighted card. Reversed video makes the card unreadable against the new backgrounds. - The sidebar is narrow. Truncate the meta line rather than wrapping it, and keep the existing behaviour when the terminal is too short to show every card. Depends on #101 for the rule and #102 for the field. Depends on: #101, #1
naps62-yolo added this to the Sidebar cards milestone 2026-08-24 19:02:08 +01:00
naps62-yolo added the area/tuidifficulty/mediumtype/feat labels 2026-08-24 19:02:08 +01:00
naps62-yolo added a new dependency 2026-08-24 19:02:15 +01:00
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Reference: naps62/maestro#108