leetcode-patterns icon indicating copy to clipboard operation
leetcode-patterns copied to clipboard

Improve UX for sorting questions by most asked

Open seanprashad opened this issue 4 years ago • 3 comments

In #104, we introduced the functionality to left click on the Companies column header to sort the question list based on how many companies asked each question (see this for an example).

However, it is not apparent that this functionality now exists so we should consider new ways to showcase this.

seanprashad avatar Jun 08 '21 17:06 seanprashad

Hey Sean, Could we keep it sorted by default? If there is an icon present, it would become obvious to toggle it for the user.

Tanuj1789 avatar Aug 15 '21 17:08 Tanuj1789

What about adding a tooltip when the pointer is on companies ?

matteasu avatar Mar 05 '22 09:03 matteasu

Hey guys, so sorry for not getting back sooner - not sure how I didn't see this!!

By default, things are not sorted, and I think that it might be the most beneficial that way. I think the least-evasive way would be to add a tooltip like how @matteasu mentioned.. maybe something like "Sorted by default", "Sorted by company count ASC", and "Sorted by company count DESC" - this is really rough but it's something we can iterate on!

seanprashad avatar Aug 08 '22 00:08 seanprashad