Skip to content

Add deleted color to project panel#51553

Merged
SomeoneToIgnore merged 1 commit intozed-industries:mainfrom
tidefield:add-deleted-color
Mar 17, 2026
Merged

Add deleted color to project panel#51553
SomeoneToIgnore merged 1 commit intozed-industries:mainfrom
tidefield:add-deleted-color

Conversation

@tidefield
Copy link
Copy Markdown
Contributor

When a file is deleted, the parent folder isn't colored which makes it hard to know unless we look at the Git Panel.

This PR adds Color::Deleted to fix that.

Screenshot 2026-03-14 at 7 56 04 PM

Release Notes:

  • Improved project panel to color folder with deleted file

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

@SomeoneToIgnore SomeoneToIgnore 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.

@SomeoneToIgnore SomeoneToIgnore self-assigned this Mar 17, 2026
@SomeoneToIgnore SomeoneToIgnore enabled auto-merge (squash) March 17, 2026 09:42
@SomeoneToIgnore SomeoneToIgnore merged commit 5eb4d33 into zed-industries:main Mar 17, 2026
32 checks passed
@micronetic
Copy link
Copy Markdown

micronetic commented Mar 26, 2026

Is it possible to disable that? Because when I update the dependencies in my project it deletes and adds the updated packages in my .yarn folder so I don't really need the folder to be red then.
@SomeoneToIgnore @tidefield

@tidefield
Copy link
Copy Markdown
Contributor Author

@mkjed If I understand correctly, this should only reflect the git non-ignored files, right?

Do you commit your .yarn folder? If so, this works as expected then.

@micronetic
Copy link
Copy Markdown

@mkjed If I understand correctly, this should only reflect the git non-ignored files, right?

Do you commit your .yarn folder? If so, this works as expected then.

I would like to disable it completely in the project panel.

@tidefield
Copy link
Copy Markdown
Contributor Author

You can do that by adding .yarn to .gitignore.

@micronetic
Copy link
Copy Markdown

This is not a good solution. It's not only that it's the .yarn folder, it's just in general that the red folders are, for me personally, very distracting, especially in light mode when there are red folders yelling at me.

I think a setting for this could be useful.

@tidefield
Copy link
Copy Markdown
Contributor Author

tidefield commented Mar 28, 2026

@mkjed Can you file an issue? I don't know if adding a setting is reasonable unless other people (and Zed team) agree.

Re: "personally, very distracting"

I respect your feedback but your experience isn't necessarily everyone else's experience. But if you really need the setting, feel free to make a PR. Someone will take a look.

I will not make a PR upon only your request. Also, I'm not a Zed maintainer.

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

None yet

Development

Successfully merging this pull request may close these issues.

3 participants