Skip to content

git_ui: Add section checkbox and align header#41565

Merged
ChristopherBiscardi merged 3 commits intozed-industries:mainfrom
cppcoffee:git-pannel
Apr 16, 2026
Merged

git_ui: Add section checkbox and align header#41565
ChristopherBiscardi merged 3 commits intozed-industries:mainfrom
cppcoffee:git-pannel

Conversation

@cppcoffee
Copy link
Copy Markdown
Contributor

Release Notes:

  • Added git panel support select all and deselect all check box

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Oct 30, 2025
@github-actions github-actions Bot added the community champion Issues filed by our amazing community champions! 🫶 label Oct 30, 2025
@cppcoffee
Copy link
Copy Markdown
Contributor Author

cppcoffee commented Oct 30, 2025

The git pannel as follow:

截屏2025-10-30 21 13 56

Click the checkbox at the top to select or deselect all, which is convenient for batch operations when there are many files.

@maxdeviant maxdeviant changed the title git_pannel: Add section checkbox and align header git_ui: Add section checkbox and align header Oct 30, 2025
@cppcoffee cppcoffee force-pushed the git-pannel branch 2 times, most recently from adcbf82 to f442f19 Compare October 30, 2025 13:47
@JosephTLyons
Copy link
Copy Markdown
Collaborator

Thanks for submitting a PR @cppcoffee, we'll take a look at this soon!

@mattermill
Copy link
Copy Markdown
Contributor

I had started to tackle this myself before I saw this PR, so I'll respond here since you're further along than I am 🙂

The change I'd like to see implemented would hide checkboxes by default, but show them on hover. They would persist when checked. The section headers for tracked/untracked would work the same as you have here.

The only other caveat is that I think they should move over to the right to avoid the icon clutter that can happen while file icons are visible.

@cppcoffee
Copy link
Copy Markdown
Contributor Author

Hi @mattermill , Added a feature that checkboxes only appear when moving to entries. Please review.

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
@cppcoffee
Copy link
Copy Markdown
Contributor Author

Adjust to the right:

2026-01-27.21.14.13.mov

@SomeoneToIgnore SomeoneToIgnore removed the community champion Issues filed by our amazing community champions! 🫶 label Mar 27, 2026
Copy link
Copy Markdown
Contributor

@ChristopherBiscardi ChristopherBiscardi left a comment

Choose a reason for hiding this comment

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

Thanks @cppcoffee ! I've merged main an updated and its working as expected

Image

@ChristopherBiscardi ChristopherBiscardi merged commit fdd81d0 into zed-industries:main Apr 16, 2026
31 checks passed
@github-project-automation github-project-automation Bot moved this from Community Champion PRs to Done in Quality Week – December 2025 Apr 16, 2026
G36maid pushed a commit to G36maid/zed that referenced this pull request Apr 29, 2026
Release Notes:

- Added git panel support select all and deselect all check box

---------

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Co-authored-by: Christopher Biscardi <chris@christopherbiscardi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

Development

Successfully merging this pull request may close these issues.

9 participants