mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-23 12:37:09 +00:00
The git panel footer truncated branch and repo against a predefined character budget. This PR improves that and lets both float free with flex-based truncation. Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Some examples. <img width="738" height="1794" alt="Screenshot 2026-05-22 at 17 35 09" src="https://github.com/user-attachments/assets/18a4873c-fbcf-4875-8d1a-82eaa2ce222c" /> <img width="1590" height="1562" alt="Screenshot 2026-05-22 at 17 35 15" src="https://github.com/user-attachments/assets/c4adf7a3-e093-4104-af20-c098eda80c08" /> <img width="990" height="1570" alt="Screenshot 2026-05-22 at 17 28 20" src="https://github.com/user-attachments/assets/eda0dd31-2461-4d4b-b63c-902c6c47231e" /> <img width="606" height="1640" alt="Screenshot 2026-05-22 at 17 28 12" src="https://github.com/user-attachments/assets/4a165d75-93d3-45a4-9d8b-525c39f49493" /> Closes #57238 Release Notes: - Fixed the git panel branch name staying truncated even when the panel was wide enough to show the full name (#57238) |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| LICENSE-GPL | ||