Skip to content

Add link-to-search on "Package not found" page #440

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lspitzner opened this issue Oct 29, 2015 · 3 comments
Closed

Add link-to-search on "Package not found" page #440

lspitzner opened this issue Oct 29, 2015 · 3 comments

Comments

@lspitzner
Copy link

i have a shortcut in browser to navigate to specific package. when i make error typing/remembering name, it would be nice if i'd get a link to search for this package. I.e.

https://hackage.haskell.org/packages/foo
->
https://hackage.haskell.org/packages/search?terms=foo

(Similar to wikipedia's second link, see https://en.wikipedia.org/wiki/Haksell)

@dcoutts
Copy link
Contributor

dcoutts commented May 15, 2016

The approach here would be to use a different error page template and then make that template provide a link to the search, with the term filled out.

@gbaz
Copy link
Contributor

gbaz commented Jun 21, 2016

@sooryan this looks like another ticket that may relate to your work?

sooryan pushed a commit to sooryan/hackage-server that referenced this issue Jul 8, 2016
Add link-to-search on "Package not found" page
display the names of the executables that a package can build
sooryan pushed a commit to sooryan/hackage-server that referenced this issue Jul 14, 2016
Add link-to-search on "Package not found" page
display the names of the executables that a package can build
sooryan pushed a commit to sooryan/hackage-server that referenced this issue Jul 16, 2016
Add link-to-search on "Package not found" page
display the names of the executables that a package can build
sooryan pushed a commit to sooryan/hackage-server that referenced this issue Jul 19, 2016
Add link-to-search on "Package not found" page
display the names of the executables that a package can build
sooryan pushed a commit to sooryan/hackage-server that referenced this issue Aug 31, 2016
Add link-to-search on "Package not found" page
display the names of the executables that a package can build
sooryan pushed a commit to sooryan/hackage-server that referenced this issue Oct 9, 2016
Add link-to-search on "Package not found" page
display the names of the executables that a package can build
@gbaz
Copy link
Contributor

gbaz commented Oct 23, 2016

Should be fixed by merge of #551

@hvr hvr closed this as completed in 63754a3 Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants