Conversation
|
We require contributors to sign our Contributor License Agreement, and we don't have @IsraelAraujo70 on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
|
Sure, i will also try to make the lines connect. |
|
@Anthony-Eid : is this the official ui that zed wants?
Look: #39595 |
|
@Angelk90 its really more pretty! |
|
@IsraelAraujo70 : I'll give you a piece of advice, so you don't waste time. Is it part of their current plans? Read here: #39595 (comment) |
|
No actually, this was the only thing I missed from vsc, so I was just implementing for myself.
|
|
@IsraelAraujo70 pr#39595 has already been closed, they didn't even accept it as a preview. |
|
The git graph is a stretch goal for our current Git project, so I can't promise anything. However, it's something that I want to add, so I'll be willing to put some work in during my free time. With that said, I still need to talk with our designer and team lead to see what direction we would take this in. |
|
@Anthony-Eid : Could we reconsider starting from #39595? |
|
Yeah agree, I think the #39595 is a better starting point. |
Starting from #39595 is difficult because it has a +11k line diff. Meaning that the Zed team would have to spend a lot of time auditing/reviewing the PR, and commit to maintaining that code once it's merged. I also need to talk with the team and the design to figure out how we want the git graph to interact with Zed's UI. With that being said, if I was working on it there are some files I would cherry pick from that PR. I still don't know if I'm going to be the one to work on the git graph btw. |
|
As the author of this PR, I'm not proud of the UI. I could do much better then this. But I'm also new to rust. So if I have a say on this, the other branch seems more like a finished product. Mine is more to fill a hole.
|
|
On the weekend I'll revisit the PR and try to make it better. |
|
@Anthony-Eid : If you carefully analyze pr#39595, there are two large files, one of |
|
Looks like #44434 supersedes this one hence closing. |




Summary
This PR introduces a new Git Graph view to Zed, allowing users to visualize the commit history directly within the editor.
Features
Implementation Details
commit_graphmethod toGitRepositorytrait and implementation incrates/git.GitGraphViewincrates/git_uiusing GPUI.