mouafa / module-finder

libraries.io client
http://module-finder.bitballoon.com
0 stars 0 forks source link

Sort by module name, repository owner & GitHub stars #1

Open bennycode opened 7 years ago

bennycode commented 7 years ago

Very nice project! It would be cool if list items can be sorted by name, owner & stars.

mouafa commented 7 years ago

Hi @bennyn, I think so, but unfortunately the API of libraries.io which the app consume doesn't support sorting. I'm thinking of building a custom API service for module searching, but this might take sometime.

bennycode commented 7 years ago

But if you receive the search result you could sort it with JavaScript on the client-side, no?

mouafa commented 7 years ago

Right, but the sort will be just for the current displayed data context, so if the user sort the first result page with stars, then he move to the second page, he'll notice that the data is not sorted in a proper way, because he think that we sorted all the result for him, but we just sorted the current displayed results, and that's in my opinion a fail in term of usability and UX.