[ENHANCEMENT] Sorting and Filtering
fejes713 opened this issue · 7 comments
We want the UI to be as minimal as possible while staying fully functional. That being said I do not see a single reason to have sorting by alphabet options as most questions start with words "how" or "why".
Instead, we can do default sorting by expertise with nice animations (arrow up and arrow down).
Currently, alphabet/non-alpha sorting is sorting after the question's name, i.e. functional-programming.md
for What is functional programming?
Still, I don't know if this is a good idea. One single button does 4 different things - definitely not a good thing looking from UX perspective
Yeah maybe we should change it to just an sort by expertise button with an arrow animation as you mentioned
My take on this:
- Default sorting: Everything as it is output by the script, based on file names.
- Expertise sorting: From junior to senior.
- (Optional) Category sorting: Sorted as default, but grouped in categories, so you get JS first, HTML afterwards etc.
There are SEVERAL sorting algorithms that can fit here, however a relative search might be the best option. You take keywords from the questions and use those keywords, meaning that each question will be tagged with different categories, and when someone searches a term, they get the questions related to that category. Multiple categories will lead to a set union, showing questions common to both words, etc.
We've resolved this a long time ago.