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

Parse search parameter #25

Open
fregante opened this issue Jun 10, 2020 · 2 comments
Open

Parse search parameter #25

fregante opened this issue Jun 10, 2020 · 2 comments

Comments

@fregante
Copy link
Member

Issue search links are messy:

https://github.com/sindresorhus/refined-github/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc

and are currently shortened to:

sindresorhus/refined-github/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc

I think they can be shortened to

sindresorhus/refined-github/issues (is:open sort:updated-desc)

Other search parameters, if any, should be left untouched

sindresorhus/refined-github/issues?foo=bar (is:open sort:updated-desc)

Failing tests in #24

@fregante
Copy link
Member Author

Fixed by #24

@fregante
Copy link
Member Author

fregante commented Mar 16, 2021

This should also apply to global search URLs

https://github.com/issues?q=is%3Aissue+is%3Aopen+author%3Afregante+archived%3Afalse+sort%3Aupdated-desc

Should appear as:

github.com/issues (is:issue is:open author:fregante archived:false sort:updated-desc)

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

No branches or pull requests

1 participant