~whereiseveryone/toys#178: 
Implement pagination for packages, services, channels, and public symbols.

Currently, toys search engine shows every search result which can be a lot. For example, look at https://toys.whereis.xn--q9jyb4c/?search=emacs. It burdens the users and the server. It is beneficial to implement pagination in the style of gentoo portage overlays and google.

This improvement will improve UX and server performance.

http://gpo.zugaina.org/Search?search= returns

Page: "1" 2 3 4 5 6 7 8 9 > Results: 1 - 50 of 69058

If I click page 9, I see

Page: < 5 6 7 8 "9" 10 11 12 13 > Results: 401 - 50 of 69058

Google does something similar to that.

Status
RESOLVED IMPLEMENTED
Submitter
~amano-kenji
Assigned to
Assign someone
Submitted
4 months ago
Updated
3 months ago
Labels
No labels applied.

~unwox referenced this from #15 4 months ago

~unwox REPORTED IMPLEMENTED 3 months ago · edit

Done. Paginator may look a bit silly with a lot of pages but I actually don't mind it. Let me know what you think of it

~amano-kenji 3 months ago · edit

If I type emacs, I see 331 pages. I don't know whether it's a good iea to show all pages at once.

Sent with Proton Mail secure email.

On Sunday, September 29th, 2024 at 5:54 AM, ~unwox outgoing@sr.ht wrote:

Ticket resolved: IMPLEMENTED

Done. Paginator may look a bit silly with a lot of pages but I actually don't mind it. Let me know what you think of it

-- View on the web: https://todo.sr.ht/~whereiseveryone/toys/178#event-389647

~amano-kenji referenced this from #178 3 months ago

Register here or Log in to comment, or comment via email.