Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/pkgsite: show more than 10 results per page #41594
What is the URL of the page with the issue?
The search results page, ex:
What is your user agent?
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
What did you do?
Perform a search
What did you expect to see?
Option to (permanently?) show more than 10 results per page
What did you see instead?
results fixed at 10 per page
This is more of an issue for when there aren't well established/overwhelmingly popular libraries, or when the search is for something generic, where browsing through a longer page results would make the discovery process easier.
There is a limit query param, to do what you need, currently its max value is 100, example (in code it's there internal/frontend/search.go:123)
I can implement this feature at frontend, I think it should be somewhere here
"Because we are currently working on design updates to pkg.go.dev, we will not be accepting any contributions for issues with a UX label." looks like this issue will take UX label...