Skip to content

feat(tui): show sidebar file diff totals#27794

Open
glinford wants to merge 1 commit into
anomalyco:devfrom
glinford:feat/sidebar-file-diff-totals
Open

feat(tui): show sidebar file diff totals#27794
glinford wants to merge 1 commit into
anomalyco:devfrom
glinford:feat/sidebar-file-diff-totals

Conversation

@glinford
Copy link
Copy Markdown

@glinford glinford commented May 15, 2026

Issue for this PR

Closes #27793

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Shows the total additon/deletion count next to Modified Files in the TUI sidebar, using the same theme colors as each file row.

This makes the sidebar a bit closer to a PR file list, so you can see the overal diff size without doing math in your head. I just find this quicker / easier especially when I run "cleanup" agents to actually quickly see if there is more red than green =)

How did you verify your code works?

  • bun test test/cli/tui/sidebar-files.test.tsx
  • bun typecheck
  • bun test test/cli/tui
  • git push pre-push typecheck also passed

Screenshots / recordings

Screenshot 2026-05-15 at 23 13 21 Screenshot 2026-05-15 at 23 14 12 Screenshot 2026-05-15 at 23 14 24

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

@glinford glinford marked this pull request as ready for review May 15, 2026 21:25
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.

[FEATURE]: show total diff counts in TUI sidebar

1 participant