# Improve diff tabs toolbar design \(\#60464\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/f16b46419dc84b357afe2ed0cd187440de6e9c7a)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: f16b46419dc84b357afe2ed0cd187440de6e9c7a

Requested commit: f16b46419dc84b357afe2ed0cd187440de6e9c7a

Commit: f16b46419dc84b357afe2ed0cd187440de6e9c7a

Tree: 6292614e5fc660981a214163cf03fa044684356a

Author: Danilo Leal

Committer: GitHub

## Message

```
Improve diff tabs toolbar design (#60464)

This PR adds a bunch of design improvements to the toolbar of (tab)
views that display diffs: the uncommitted changes, branch diff, and
agent diff tabs. This involves adjusting spacing, sizing, and other
small tweaks across all of these views, including touching up the
divider component API a little bit, adjusting Git icons design, adding
diff stat numbers to the uncommitted changes tab so its consistent with
the others, and more (e.g., moving the split buttons into its own
component to ensure they look the same across all uses). Ended up also
going on a slight de-tour to make all uses of the split button in the
Git panel consistent design-wise.

All in all, this is just tidying up the design of all of these surfaces
that are all relatively similar.

| Branch Diff | Uncommitted Diff | Single-file Diff | Git Panel |
|--------|--------|--------|--------|
| <img width="800" alt="Screenshot 2026-07-06 at 11  25@2x"
src="https://github.com/user-attachments/assets/4ebf87e7-c52d-41d9-9de3-7944125114a1"
/> | <img width="800" alt="Screenshot 2026-07-06 at 11  25 2@2x"
src="https://github.com/user-attachments/assets/51ccd2eb-904b-455a-a708-b4cb50b3a7cb"
/> | <img width="800" alt="Screenshot 2026-07-06 at 11  26@2x"
src="https://github.com/user-attachments/assets/6ae7df68-d1bd-4d36-a250-ba16e43c4e8e"
/> | <img width="800" alt="Screenshot 2026-07-06 at 11  26 2@2x"
src="https://github.com/user-attachments/assets/e032bc60-4551-41f0-b578-90ed305167c2"
/> |

Release Notes:

- Added diff stat numbers to the uncommitted changes view.
```

## Parents

- [e58a02d97409c2ecdbeaee7a936131ccc8f9dc16](https://git.cafe/gitcafe/zed/commit/e58a02d97409c2ecdbeaee7a936131ccc8f9dc16?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/f16b46419dc84b357afe2ed0cd187440de6e9c7a?format=markdown)
