Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load branches with long names truncated with ellipsis #1179

Open
dvanoni opened this issue May 29, 2024 · 0 comments
Open

Unable to load branches with long names truncated with ellipsis #1179

dvanoni opened this issue May 29, 2024 · 0 comments

Comments

@dvanoni
Copy link

dvanoni commented May 29, 2024

Description

When viewing a branch with a long name, GitHub truncates the name with an ellipsis character () in the branch dropdown. When navigating to such a branch on GitHub Enterprise Server 3.12.2, Octotree fails to load the branch.

CleanShot 2024-05-29 at 15 32 33@2x

Viewing the console logs, it appears that Octotree is trying to request the branch based on the truncated name rather than the full name of the branch.

CleanShot 2024-05-29 at 15 33 52@2x

Viewing the inspector, it appears that the text value of the element is truncated with an ellipsis rather than just via CSS. I'm not sure if this is where Octotree is getting the value of the currently-visible branch, but if so, I could see how it would cause this bug.

CleanShot 2024-05-29 at 15 52 26@2x

The same issue does not occur on github.com, and I wonder if it's because the truncation is performed using CSS, retaining the full branch name within the text value of the element.

CleanShot 2024-05-29 at 15 45 17@2x

Environment (if bug)

  • Octotree version: 7.12.4
  • GitHub Enterprise Server version: 3.12.2
  • Browser & version: Arc Version 1.44.2 (50412) - Chromium Engine Version 125.0.6422.112
  • OS & version: macOS 14.4.1
  • Screenshot, if any (drag an image here)
  • Console error log below this line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant