Closed gazpachoking closed 8 years ago
Thanks
@scragg0x Here is how I was thinking flat view could still be supported. It seems like it might be useful still to get a full listing of all wiki pages at once, especially with the quick search by title. Also, a recently edited view becomes trivial, just do a flat index sorted by mtime.
https://github.com/gazpachoking/realms-wiki/commit/9f9401a7f74e1fcb637226370aa6807e7d10cdb1
@scragg0x I was also wondering if we should give some more visual indication of files vs dirs in the index, not sure if the trailing '/' is noticeable enough. EDIT: Maybe an icon to indicate type at the beginning. Could even have its own column header, so you could sort by type.
Sure, I think font awesome is loaded.
This could probably stand to be tweaked and cleaned up a bit still, but it seems to be working. There are a few changes here:
I'll clean it up if you have any comments, I'm sleepy now, and figured I'd put it up for review. Would be pretty easy to add an option to enable flat view, it's just a matter of returning
items
or_tree_view(items)