Commit graph

2 commits

Author SHA1 Message Date
Drew Blessing
409f2f4dd2 Improve performance of tree rendering in repositories with lots of items
Rails is slow to generate paths dynamically especially when called
hundreds/thousands of times. Also, rendering many partials hundreds
of times can be slower. This change reduces the number of partials
rendered and introduces two fast path methods to speed up path
generation.
2018-10-31 15:50:30 -05:00
Adam Buckland
8abc757539 Update tree view to sort folders with submodules
Currently trees are sorted in the fashion:
- folders
- files
- submodules
with each section sorted alphabetically

This changes to this system:
- folders and submodules (sorted together)
- files
2016-08-09 14:08:47 +01:00