klaussilveira/gitlist — pull request #433 by janvojt (2014-03-30 16:09:19+00:00)
Title: Dev

First commit changes less files so they are compilable with the latest version of lesscss. This is probably backwards incompatible with older lesscss (I did not check), but I guess it should not be a problem for developers to update lesscss and go with the new syntax.

Then I fixed some broken layouts in commit detail in case there are long filepaths. Overflowed text is simply hidden and right-aligned, so you can always see the filename. It would probably be ideal if ellipses were used, but it would require some client-side scripting, which seemed like an overkill.

The last commit implements a new feature I was missing. It may have little performance overhead (especially for folders with many items), but I found it useful for browsing Java packages. It basically recursively merges a path in the folder tree if all subfolders in the given path have no other siblings. For example if you have src/main/java or package com/project/module/submodule, the whole path is merged so you do not have to click through each subdirectory.

I apologize for not creating a separate pull request for each feature. I guess I am just too lazy. Reject if you wish. :)