vscode-gitlens icon indicating copy to clipboard operation
vscode-gitlens copied to clipboard

Smart truncation of branch name on the commit graph view

Open nzaytsev opened this issue 1 year ago • 0 comments

image

Currently it's possible to lose some content to the right of the branch view when the branch name is too long. Fast solution is to truncate it using css text-overflow: ellipsis

But full solution should consider the content of the name and highlight the most important parts of the name, such as:

  • branch path
  • issue links

Examples:

  • bugs/3448-sele...
  • bugs/se...3448
  • bugs/..3448..3449

nzaytsev avatar Aug 29 '24 03:08 nzaytsev