Files
zed/crates/git_ui
Smit Barmase 422b53cff8 git_ui: Keep the open commit highlighted in the History tab (#66226)
Closes #65488
Supersedes #65772
Supersedes #65774

After opening a commit from the History tab and clicking into the commit
view, its row had no marker. History rows only showed the focus border,
and only while the panel had focus during keyboard navigation.

History now highlights the commit open in the active tab, matched by
sha, and clears it when another tab is active. The keyboard cursor
follows the open commit and no longer starts on HEAD. The focus border
now only shows after keyboard input instead of flashing on click.


https://github.com/user-attachments/assets/4be21893-9055-4a32-a58c-a9eeaa08fbc7

Release Notes:

- Fixed the History tab in the git panel losing the highlight on the
open commit when you click into the commit view.
2026-10-30 10:34:45 +00:00
..