Files
zed/crates/git_ui
Manoj sk 08104dc649 git_ui: Add missing tooltips to Git Graph commit details (#66016)
## Summary

- **Close button**: "Close Details Panel" with its keybinding
(`menu::Cancel`). It uses
`Tooltip::for_action_in` with the Git Graph's focus handle, so the
keybinding shown doesn't
change depending on what else is focused (e.g. with the terminal
focused, `Tooltip::for_action`
  showed a different binding than the one that works in the Git Graph).
- **Commit message disclosure**: "Show Commit Message" / "Hide Commit
Message", matching the
  existing "Show/Hide Commit Details" disclosure in the same panel.
- **"View on <provider>" button**: "Open in Browser". The label is
truncated when the panel is
  narrow, so the tooltip also makes the action clear in that case.


**Close button**
<img width="538" height="236" alt="image"
src="https://github.com/user-attachments/assets/524103cc-91ba-4357-974e-23c47d681b74"
/>

**Commit message disclosure**
<img width="316" height="249" alt="image"
src="https://github.com/user-attachments/assets/b9ab5379-29f2-4010-9d7f-7610966d50dc"
/>

 **View on GitHub**
<img width="349" height="114" alt="image"
src="https://github.com/user-attachments/assets/84aabae0-8f84-43d8-9c2a-b4b123ea52f7"
/>
 

Release Notes:

- Improved Git Graph commit details panel by adding missing tooltips to
the close, commit message, and "View on" buttons.

---------

Co-authored-by: Remco Smits <djsmits12@gmail.com>
2026-10-26 08:10:49 +00:00
..