-
Notifications
You must be signed in to change notification settings - Fork 192
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
Search query in URL has no effect #634
Comments
Thanks for reporting--this shouldn't be too difficult to fix. |
@tagawa so this is a little tricky. In order to get search results, we need to use the Search API. We don't offer a proxied search, so the user has to be logged in. Do you think we should do some kind of flash message prompting to log-in if there's a |
What @miketaylr forgot to mention is that it's not the non-logged user doing the request but webcompat.com doing the request to github and returns it to the user. So what is happening is
So the real user is
That said there might be a solution which would require if the user is logged or not.
It's a bit more complex, but it could work. |
Innnnteresting. That is news to me. |
Thanks for the explanations. I hadn't realised it was so tricky. I raised the issue because it was also affecting the back button, i.e. clicking Back after a search takes you back to the full issue list rather than what you searched for. The only other option I can think of is to store search results as an object in local storage for the Back button use case and just not worry about the URL direct entry use case. Maybe even that's too much complexity for a minor issue and it's OK as is. |
Nah, it's not much more work. I think we should do it. We can ship the "authed" version now, and then add the unauthed stuff later--hopefully before this week is over. ^_^ |
Steps to reproduce:
What should happen:
Only issues containing the term "vivaldi" should be displayed.
What actually happens:
All open issues are displayed.
The text was updated successfully, but these errors were encountered: