johan / github-improved

Incremental UI improvements for github.com, in the form of useful user scripts (Google Chrome or Firefox + Greasemonkey), a Chrome and Opera extension.
https://chrome.google.com/webstore/detail/nkbnmpfpclijlllipmfbkkednidgngaa
40 stars 9 forks source link

Collapse folders with just one subfolder in tree view #6

Closed jab416171 closed 9 years ago

jab416171 commented 12 years ago

I have a feature request. I have a repository, with the folder structure /src/edu/neumont/battleship/ All of those folders have just one subfolder in them. It would be nice if, from the root directory, I could click directly into the battleship directory. See https://github.com/jab416171/Android-Battleship-Client for what I'm referring to.

johan commented 11 years ago

While it's perfectly possible to implement a script that auto-clicks the only existing directory when you click its parent (or the script auto-clicked it), I don't think I will any time soon (I more miss git tag and branch names, which require a new auth reimplementation).

NARKOZ commented 9 years ago

The feature was implemented by GitHub: https://github.com/blog/1877