denoland / dotland

[Archived] deno.land website
https://deno.land
MIT License
957 stars 626 forks source link

Pagination and Sorting #2104

Closed Industrial closed 2 years ago

Industrial commented 2 years ago

Hello.

Please add pagination and sorting to https://deno.land/x. Without it, you are looking through a list looking for the entries with the most stars, sorting them by stars in your head and then you can't go to the next page. This feels like a let down :-1:

Industrial commented 2 years ago

Is there an API call that can be made to list packages that returns JSON?

lucacasonato commented 2 years ago

The page has pagination: https://deno.land/x?page=3

lucacasonato commented 2 years ago

Is there an API call that can be made to list packages that returns JSON?

https://github.com/denoland/deno_registry2/blob/main/API.md#get-modules

meszarosdezso commented 2 years ago

@Industrial I assume you are talking about searching in the registry. Like on https://deno.land/x?query=deno there's no pagination or sorting indeed, but I agree it would be a nice UX improvement. I will look into the pagination part, I guess the sorting should be handled in denoland/deno_registry2 (?)

Industrial commented 2 years ago

Yes, I am talking about sorting and pagination in the UI. Having sorting would make it easier to glance what the community is leaning towards for solving problems and pagination for knowing what else is out there.

crowlKats commented 2 years ago

Search has been fixed