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

[Feature request] Navigate to directories #575

Closed
hormesiel opened this issue Nov 19, 2018 · 1 comment
Closed

[Feature request] Navigate to directories #575

hormesiel opened this issue Nov 19, 2018 · 1 comment

Comments

@hormesiel
Copy link

Hi there,
First, thanks for this extension! Always helpful.

However I'd like to submit a feature request : it'd be great if we could browse to directories, instead of files only. Currently, when you click on a directory it automatically unfolds it (which is probably what you want to do most of the time). But sometimes you want to navigate to it instead.

For example, some repositories like babel are huge monorepos with some directories dedicated to different tools (see babel's packages/ directory). In those cases, you don't always want to unfold their content but also navigate to it. And currently, the "easiest" way to do it is to click on a file in this directory from Octotree's panel, and then on the directory's name in GitHub's breadcrumb navigation–but I'm sure we can do better :)

So maybe a simple link button next to each directory could do the trick, something exactly like the red "external link" icon that appears when you hover your mouse over a file. This way you're not introducing any breaking change ; expected default behavior is preserved. This button could also only appear when the mouse is over the directory's name, so it doesn't appear next to every directory in the list and doesn't impact readability.

@hormesiel
Copy link
Author

Just realised it's already possible by doing a Right click -> Open in a new ... or Mouse Wheel click on the folder.

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