zed/crates/project_panel/src
Kunall Banerjee a0ee9fb431
project_panel: Color worktree-modified files as modified, not warning (#57716)
I use the One Dark theme, so to actually test if my fix worked, I had to
also do:

```jsonc
"experimental.theme_overrides": {
  "warning": "#ff0000",
  "modified": "#00ff00",
},
```

| Before | After |
|--------|--------|
| <img width="676" height="254" alt="image"
src="https://github.com/user-attachments/assets/a2831667-1113-49ac-b6aa-1221c71bf997"
/> | <img width="299" height="137" alt="image"
src="https://github.com/user-attachments/assets/ad6e85aa-ba24-47ad-b69d-6d0c3aa3a407"
/> |

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [ ] Performance impact has been considered and is acceptable

Closes #57443.

Release Notes:

- Fixed Project Panel git status indicator showing modified files with a
warning color instead of the modified color
2026-05-26 13:41:44 +00:00
..
tests project_panel: Add redo and restore support (#53311) 2026-04-09 18:49:16 +01:00
project_panel.rs project_panel: Color worktree-modified files as modified, not warning (#57716) 2026-05-26 13:41:44 +00:00
project_panel_settings.rs project_panel: Add sort_order settings (#50221) 2026-04-08 18:33:00 +05:30
project_panel_tests.rs Make project panel to auto reveal multi buffer excerpts with latest selection (#57236) 2026-05-25 11:53:12 +00:00
tests.rs project_panel: Add redo and restore support (#53311) 2026-04-09 18:49:16 +01:00
undo.rs project_panel: Add redo and restore support (#53311) 2026-04-09 18:49:16 +01:00
utils.rs Add Project Panel navigation actions in netrw mode (#20941) 2024-12-05 14:07:13 +01:00