mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-20 15:33:54 +00:00
fix(desktop): show +/- summary on collapsed review folders
ReviewDirRow never rendered a DiffCount, so collapsed folders gave no indication of the additions/deletions inside them. The tree builder already aggregates added/removed onto directory nodes (verified by tree-data tests) — this just renders them, matching the file rows.
This commit is contained in:
parent
1d48863b85
commit
1600008ab0
1 changed files with 1 additions and 0 deletions
|
|
@ -218,6 +218,7 @@ function ReviewDirRow({
|
|||
<span className="min-w-0 flex-1 truncate" title={node.name}>
|
||||
{node.name}
|
||||
</span>
|
||||
{!open && <DiffCount added={node.added} className="text-[0.64rem] leading-4" removed={node.removed} />}
|
||||
</div>
|
||||
{open && node.children && (
|
||||
<ReviewNodeList animate={animate} depth={depth + 1} motion={useMotion} nodes={node.children} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue