Skip to content

fix(app): hide unknown line counts in the details sidebar's Untracked row - #595

Merged
iamnbutler merged 2 commits into
mainfrom
fix-untracked-counts
Oct 22, 2026
Merged

iamnbutler merged 2 commits into
mainfrom
fix-untracked-counts

Conversation

@iamnbutler

Copy link
Copy Markdown
Contributor

The details sidebar's Untracked row showed +0 -0 beside its file count. Untracked directories too large to list (changes.dirs, over 100 files) are only counted, and binary files have no line counts, yet both were totaled as 0 lines.

  • DetailsChanges gains lines: whether adds/dels are known.
  • A group is known once it has a text file, and unknown when a large untracked directory adds to it (partial totals would understate it). Binary files add to the file count only.
  • When unknown, the row and its label show only the file count.

Smoke: isolated loopback host from this lane, rebuilt apps/app/dist, a project with an untracked 150-file big/. The row read Untracked 150 files (no +0 -0). Adding a 3-line notes.txt gave Untracked 151 files. Removing big/ gave Untracked 1 file +3 -0.

Built in Ace

Made by Claude Code (a fix-train worker), outside Ace, for an unattended batch of demo fixes; Ace has no headless batch-worker mode for this. See #5.

@iamnbutler
iamnbutler merged commit 87bddf8 into main Oct 22, 2026
1 check passed
@iamnbutler
iamnbutler deleted the fix-untracked-counts branch October 22, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant