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.
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
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