Skip to content

Improve branch name visibility and prevent truncation in Git Panel #57238

@akhunti-ns

Description

@akhunti-ns

Reproduction steps

  1. Start Zed
  2. Open any Github repo
  3. Click On Git Panel

Current vs. Expected behavior

In the current Git Panel UI, long branch names are aggressively truncated with ellipses. This makes it difficult to distinguish between multiple active branches at a glance without hovering or widening the sidebar to an impractical size.

Image

Expected Behavior

The branch name should be adapt based on the Git Panel width and available space.

Zed version and system specs

Zed 1.2.7
Commit: deb48ce
Version: 1.2.7+stable.284.deb48ceb47125223df73902d1c3b72f2f442222b
OS: MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    .contrib/good first issueIssue suitable for first-time contributorsarea:design papercutSmall visual defectsarea:integrations/gitGit integration feedbackfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usagepriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

    Type

    No fields configured for Bug.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions