Skip to content

feat(panel): show status-grouped file counts on collapsed folders#47

Merged
dlyongemallo merged 1 commit intomainfrom
status_counts
Mar 18, 2026
Merged

feat(panel): show status-grouped file counts on collapsed folders#47
dlyongemallo merged 1 commit intomainfrom
status_counts

Conversation

@dlyongemallo
Copy link
Copy Markdown
Owner

Relates to sindrets#597.

Copilot AI review requested due to automatic review settings March 18, 2026 14:03
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds richer collapsed-folder metadata in the diffview file panel by showing per-status file counts (instead of a single total), aligning with the request in issue sindrets#597.

Changes:

  • When a folder node is collapsed, compute leaf file statuses and show counts grouped by status.
  • Apply git-status highlighting to each grouped count segment for quick scanning.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lua/diffview/scene/views/diff/render.lua
Comment thread lua/diffview/scene/views/diff/render.lua Outdated
@dlyongemallo dlyongemallo merged commit 81f94be into main Mar 18, 2026
2 checks passed
@dlyongemallo dlyongemallo deleted the status_counts branch March 18, 2026 14:31
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.

2 participants