ZIm/crates/git_ui/src
5brian b67d3fd21b
git_ui: Show disabled states in context menu (#28288)
Other elements in the git panel are shown as disabled when an action is
not actionable (For example: stage all, commit). Updating the context
menu to match this behavior when an action does nothing.

|Before|After|
|--|--|

|![image](https://github.com/user-attachments/assets/e517f758-216f-4451-911b-7121dce0c53b)|![image](https://github.com/user-attachments/assets/a85905c1-2f42-44c3-8b11-2f93c8a6f686)|





Release Notes:

- Git: Improved the Git panel context menu to show actions with no
effect as disabled.
2025-04-09 10:46:21 -04:00
..
askpass_modal.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
blame_ui.rs markdown: Don't retain MarkdownStyle in favor of using MarkdownElement directly (#28255) 2025-04-07 19:03:24 +00:00
branch_picker.rs Git activity indicator (#28204) 2025-04-07 18:10:01 +00:00
commit_message_prompt.txt git_ui: Try to prompt the model out of including the diff output (#26281) 2025-03-07 15:05:35 +00:00
commit_modal.rs Finish removing git repository state and scanning logic from worktrees (#27568) 2025-04-01 17:41:20 -04:00
commit_tooltip.rs markdown: Don't retain MarkdownStyle in favor of using MarkdownElement directly (#28255) 2025-04-07 19:03:24 +00:00
commit_view.rs chore: Replace as_any functions with trait upcasting (#28221) 2025-04-08 22:16:27 +02:00
git_panel.rs git_ui: Show disabled states in context menu (#28288) 2025-04-09 10:46:21 -04:00
git_panel_settings.rs Add git init button (#26522) 2025-03-12 07:25:19 +00:00
git_ui.rs Merge Component and ComponentPreview trait (#28365) 2025-04-08 16:09:06 -06:00
onboarding.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
picker_prompt.rs chore: Bump Rust version to 1.86 (#28021) 2025-04-03 23:32:50 +02:00
project_diff.rs Merge Component and ComponentPreview trait (#28365) 2025-04-08 16:09:06 -06:00
remote_output.rs Fix message on push (#26588) 2025-03-12 20:18:28 +00:00
repository_selector.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00