Skip to content

git_ui: Add file and folder icons to the Git panel#51000

Merged
danilo-leal merged 7 commits intozed-industries:mainfrom
kickbelldev:feature/git-panel-icons
Mar 16, 2026
Merged

git_ui: Add file and folder icons to the Git panel#51000
danilo-leal merged 7 commits intozed-industries:mainfrom
kickbelldev:feature/git-panel-icons

Conversation

@kickbelldev
Copy link
Copy Markdown
Contributor

@kickbelldev kickbelldev commented Mar 7, 2026

Closes #49740

Adds optional file and folder icons to the Git panel so its file list is easier to scan, especially in larger repositories.

  • add folder icons for Git panel entries
  • add Git panel settings for file and folder icon visibility

Release Notes:

  • Made the Git Panel aware of icon themes.
  • Added the ability to render file type icons in the Git panel.

Expose a single git_panel.icons toggle and apply it to file and folder icons so users can disable themed icons without affecting Git status indicators.
Let users configure file and folder icon visibility independently and avoid theme icon lookups when a category is disabled. When folder icons are off, render chevrons to match project and outline panel behavior.
…cons

# Conflicts:
#	Cargo.lock
#	crates/git_ui/src/git_panel.rs
#	crates/settings_ui/src/page_data.rs
@cla-bot
Copy link
Copy Markdown

cla-bot bot commented Mar 7, 2026

We require contributors to sign our Contributor License Agreement, and we don't have @kickbelldev on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@zed-community-bot zed-community-bot bot added the first contribution the author's first pull request to Zed. NOTE: the label application is automated via github actions label Mar 7, 2026
@kickbelldev
Copy link
Copy Markdown
Contributor Author

@cla-bot check

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 7, 2026
@cla-bot
Copy link
Copy Markdown

cla-bot bot commented Mar 7, 2026

The cla-bot has been summoned, and re-checked this pull request!

Copy link
Copy Markdown
Member

@danilo-leal danilo-leal left a comment

Choose a reason for hiding this comment

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

Thank you! Note that I turned file icons off by default as I think it gets pretty noisy with it over there. But you can always turn it on if you want it 👍

@danilo-leal danilo-leal merged commit c54fe0f into zed-industries:main Mar 16, 2026
30 checks passed
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 first contribution the author's first pull request to Zed. NOTE: the label application is automated via github actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants