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
Removed sorting from CLI + added sorting from HTML #44
Conversation
It would be optimal if you could try using unicode chars first. Then it will also look fine in lynx. :) |
Once you're happy with your code, remove WIP and I'll do a review. |
The default order should be to implicitly sort by name, right? It doesn't seem to be the case for me. I honestly can't tell which order the default is. It seems random. |
Apart from that, this actually seems really good and it's super fast. Great job! BTW what do you think about highlighting the currently hovered line? Should be a breeze in CSS. |
Also I just took a look and turns out actix-web now has typed URL params: https://docs.rs/actix-web/0.7.18/actix_web/struct.Query.html So we should probably use those. |
Merging as is. Great work! |
Removed sorting from CLI + added sorting from HTML
So this is my WIP for solving #37
Right now, I can sort by name/size/date, in ascending and descending order by clicking the corresponding header. I'll clean up some parts of the code which, I think, could be simplified. Sorting by name is done using natural sort, does that seem fine to you ?