gitkraken / vscode-gitlens

Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
http://gitkraken.com/gitlens
Other
9.02k stars 1.35k forks source link

Not at all apparent how to unhide hidden branches #3101

Open bcolloran opened 10 months ago

bcolloran commented 10 months ago

Description

I've hidden a couple branches, and I can't find anywhere in the UI anything that allows me to unhide them. I would expect some option to become available in some context menu or something.

This issue https://github.com/gitkraken/vscode-gitlens/issues/2925 mentions a clickin on Hidden Branches / Tags, but I don't see that anywhere. I've clicked (right and left) on everything I can see... if this Hidden Branches / Tags exists somewhere, it seem to be buried. I've checked the command palette, but "hidden" turns up no results. I've even done string search in my settings.json (all of them...) and can't find the name of the hidden branch, so I can't delete it from the list.

I have no idea how to unhide this branch. Please halp!

GitLens Version

14.6.1

VS Code Version

Version: 1.85.1 (user setup) Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2 Date: 2023-12-13T09:49:37.021Z Electron: 25.9.7 ElectronBuildId: 25551756 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.22621

Git Version

git version 2.25.1

Logs, Screenshots, Screen Captures, etc

No response

axosoft-ramint commented 10 months ago

You can unhide using the eye icon at the right end of the BRANCH / TAG column header at the top of the graph, assuming that's what you mean.

image

But to your point, this is not at all obvious and should probably be improved. So I'm going to leave this issue open for now as a reminder to improve it. Thanks for bringing it to our attention!

bcolloran commented 10 months ago

Ok thanks I'm an idiot.

For whatever it's worth: I think what was happening is that the icon there looks like part of the "GRAPH" header, and so my eye skipped over it as an independent click target. And I'd tried left clicking + right clicking all over the header, so I probably convinced myself that nothing in that bar other than the gear icon on the far left does anything.

manuel-jasso commented 5 months ago

Hi, I also faced this same issue, I wasn't able to find the UI to unhide the hidden branch until I found this issue, so I'm upvoting to have this improvement. Thank you!

Suggestion: maybe add a sub-menu in the filter options menu, it already has show and hide options.

gitenstuff commented 1 month ago

Wasted too much time on this too. yeah doesn't "look" like it's clickable. Once you know, then it's no problem

hmeerlo commented 1 month ago

Ok, have been looking for months in the tool. Got so fed up with it and ended up here. Finally solved, but let's agree it's not the best UX ;-)