Skip to content
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

Why does site not use URLs? #319

Open
CSDUMMI opened this issue Dec 31, 2019 · 2 comments
Open

Why does site not use URLs? #319

CSDUMMI opened this issue Dec 31, 2019 · 2 comments
Labels

Comments

@CSDUMMI
Copy link

CSDUMMI commented Dec 31, 2019

This is a question and proposal as implied by the question:

Why doesn't the site use the Query String to store and refer
queries?

I mean, that you can't refer to search results
on package.elm-lang.org, like this would do:

https://package.elm-lang.org?q=list

So, I propose to change this, because it would
help in remote work, when choosing a library to use
or when trying to incorporate package.elm-lang.org
in your page or search engine, like if you would like to
incorporate it in DuckDuckGo's !Bangs.

@evancz evancz added the request label Jan 4, 2020
@sentience
Copy link

sentience commented Apr 20, 2020

I wish I could search package.elm-lang.org using my launcher, LaunchBar, but doing this would require URL-based query support in the site. I use this for many other package sites, like NPM, RubyGems, and Sublime Text Package Control:

CleanShot 2020-04-20 at 12 37 25@2x

Support for this would let me, from any application on my Mac, type ⌘space, “elm”, space, to bring up packages matching that query without my hands ever leaving the keyboard.

I would be happy to attempt to write a PR with this functionality if at any stage that would be helpful.

@rlefevre
Copy link
Member

rlefevre commented Apr 20, 2020

It would be better to get this merged at some point, but until then, you can use this feature today by using the unofficial forked frontend provided at https://elm.dmy.fr (or https://dark.elm.dmy.fr). It just loads a different .js and .css file, but the backend is still the official one (so it is always up to date).

For example: https://elm.dmy.fr/?q=list

See this discourse post for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 participants