zed/crates/git_graph
Anthony Eid b4fe63b097
git_graph: Polish UX (#50123)
This is a follow-up on #50027

I address my comments by adding a hash map look-up to find the selected
pending commit. I also removed the limitation where we would only retry
finding the pending commit 5 times. The pending selection is removed
when the graph is fully loaded and doesn't contain the pending commit.

This PR also cleans up some internal code structure and starts work to
enable search and propagating git log error messages to the UI.

UI wise I made the git graph item show the repository name instead of
"Git Graph" in Zed.

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A

---------

Co-authored-by: Remco Smits <djsmits12@gmail.com>
2026-02-25 19:45:01 +00:00
..
src git_graph: Polish UX (#50123) 2026-02-25 19:45:01 +00:00
Cargo.toml git_graph: Add some design adjustments (#49899) 2026-02-23 17:07:28 +00:00
LICENSE-GPL git: Add graph support (#44434) 2026-01-22 20:53:23 -05:00