feat(maestro): sidebar cards show diff stats and tool icons #127

Merged
naps62 merged 2 commits from tranquillo-nocturne into main 2026-08-31 15:02:58 +01:00
Collaborator

Line 2 of a session card spelled out its blocked work ("1 uncommitted file") and its command ("claude"). Both now render as marks: the breakdown as diff notation (+312 -47 ?2 ↑1), and the command's leading program as its tool icon in the web client.

The probe carries the line delta of the tracked changes — staged and unstaged together, against HEAD — so git add never makes the counter drop. Untracked files stay a file count. A tracked change with no line delta shows ~N rather than +0 -0.

The TUI gets the diff stat too; its command stays text, since a terminal cannot be assumed to have a font carrying tool glyphs. docs/SIDEBAR.md updated first.

Line 2 of a session card spelled out its blocked work ("1 uncommitted file") and its command ("claude"). Both now render as marks: the breakdown as diff notation (`+312 -47 ?2 ↑1`), and the command's leading program as its tool icon in the web client. The probe carries the line delta of the tracked changes — staged and unstaged together, against HEAD — so `git add` never makes the counter drop. Untracked files stay a file count. A tracked change with no line delta shows `~N` rather than `+0 -0`. The TUI gets the diff stat too; its command stays text, since a terminal cannot be assumed to have a font carrying tool glyphs. docs/SIDEBAR.md updated first.
naps62-yolo added 2 commits 2026-08-31 15:00:42 +01:00
Line 2 of a session card spelled out its blocked work ("1 uncommitted
file") and its command ("claude"). Both now render as marks: the
breakdown as diff notation, and the command's leading program as its
tool's icon in the web client.

The probe carries the line delta of the tracked changes — staged and
unstaged together, against HEAD — so `git add` never makes the counter
drop. Untracked files stay a file count; counting their lines means
reading every one off disk. A tracked change with no line delta falls
back to `~N` rather than claiming `+0 -0`.

The TUI keeps its command as text: a terminal cannot be assumed to have
a font carrying tool glyphs.
Merge remote-tracking branch 'origin/main' into tranquillo-nocturne
ci / web (pull_request) Successful in 46s
ci / rust (pull_request) Successful in 4m16s
ci / flake (pull_request) Successful in 8m45s
8cf9bd0586
naps62 merged commit 5c391f12a6 into main 2026-08-31 15:02:58 +01:00
naps62 deleted branch tranquillo-nocturne 2026-08-31 15:02:59 +01:00
This repo is archived. You cannot comment on pull requests.