ZIm/assets
Arseny Kapoulkine 0ed6b4ef1a
git_ui: Add collapse_untracked_diff settings to improve usability for untracked files (#32591)
In repositories with untracked files that are not intended to be added,
showing the expanded diffs in the panel is confusing, as it places the
changes side by side with changes in tracked files.

This change adds a setting, collapse_untracked_diff, that can be enabled
to collapse untracked diffs by default when the panel is opened.

See
https://github.com/zed-industries/zed/pull/31855#issuecomment-2957547018
(and previous comment for examples of why this is useful).

Example before this change, or with the setting in its default state:


![image](https://github.com/user-attachments/assets/f974c849-7ebf-424e-9397-442a6cc2513b)

Example after this change with the setting set to `true`:


![image](https://github.com/user-attachments/assets/bd8934f5-bd9a-4f5a-b723-cd4b798d2c2c)

Release Notes:

- Git: Added `collapse_untracked_diff` setting to auto-collapse
untracked diffs
2025-06-22 00:38:24 +03:00
..
fonts Fix font selection on macOS (#13615) 2024-06-27 17:02:45 -06:00
icons agent: Add button to scroll to top of the thread (#33130) 2025-06-20 20:28:07 -03:00
images debugger: Add onboarding modal (#32961) 2025-06-18 18:44:02 +00:00
keymaps debugger: Add variable watchers (#32743) 2025-06-20 20:45:55 +00:00
prompts Include full abs paths of worktrees in system prompt (#32725) 2025-06-15 15:45:26 +02:00
settings git_ui: Add collapse_untracked_diff settings to improve usability for untracked files (#32591) 2025-06-22 00:38:24 +03:00
sounds agent: Add sound notification when done generating (#31472) 2025-05-26 21:20:41 -03:00
themes One Light Theme: Change constant color (#33166) 2025-06-21 12:43:02 -04:00