Repository navigation
Git Panel should dock on the left and match the Agent Panel width by default #63907
Sha1rholder
started this conversation in
Feature Requests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Body
Since Zed default UI shifted to a new look ("Agentic Coding" style), the Agent Panel docks to the left and Project Panel docks to the right by default — the reverse of what it used to be. While the Git Panel's default position seems haven't change and still docks to the right and overlaps with the Project Panel. While it's very easy to change in the settings, the new default (not so "new" now) comes with UX issues and could be improved.
I suggest adjusting the Git Panel to have it docks to the left by default and raise its default width to match the Agent Panel. That is, use the following as the defaults:
Reasons
Currently you can't access the Git Panel and the Project Panel simultaneously by default as they both dock to right. From my personal experience, situations that need to review the Project Panel + Agent Panel together >> situations that need to review the Project Panel + Git Panel together >> situations that need to review the Agent Panel + Git Panel together. So having the Git Panel docks to the left and overlaps with Agent Panel will reduce how often users need to hit a shortcut to summon one of these 3 panels.
Git Panel is wider than Project Panel, so each time you switch between Git Panel and Project Panel they replace each other, causing a visual "jump." This is much more noticeable with
"soft_wrap": "bounded"enabled — the currently opened file in the middle of the screen gets instantly "squeezed" or "relaxed" and reflows.For complex projects with deeply nested paths (like Zed), file paths are often too long to fully display in Git Panel. Developers have to widen Git Panel until they can see full paths of modified files instead of incomplete ones.
To accommodate Git Panel's default width, Zed makes the commit message input box and its default font size extremely small. And even with the font size that small, users still often have to rely on
Shift+ESCto bring up a floating panel to write commit messages. Raising the Git Panel's default width would let the commit message input box and default font size be enlarged accordingly, reducing the reliance on the commit message popup and improving accessibility, making it actually useful.If Git Panel docks to the left by default and its default width is raised to match the Agent Panel's as suggested, the left edge of the open document stays essentially fixed when switching between the Agent Panel and the Git Panel. This avoids visual "jump" mentioned in point 2 and avoids reflow of currently opened files.
After the suggested changes
All reactions