digitalmars.D - Is it me, or the search doesn't work?
- Andrei Alexandrescu (14/14) Apr 14 2016 1. Go to http://dlang.org
- Steven Schveighoffer (8/17) Apr 14 2016 GET url is:
- Vladimir Panteleev (6/7) Apr 14 2016 Looking at the code, it appears to be "by design". Pressing the
- w0rp (10/17) Apr 14 2016 From what I can see, there is an input field with name="q" which
- Andrei Alexandrescu (3/9) Apr 14 2016 Well I hope we agree it's a bug. Pressing Enter does a useless thing. --...
- Vladimir Panteleev (4/18) Apr 14 2016 Yeah. The autocomplete popup should probably also be rewritten as
1. Go to http://dlang.org 2. Type hello in the search box. 3. Press Enter You'll be sent to a Google search for hello restricted to site:dlang.org. Nice. Now do this: 1. Go to https://dlang.org/library/index.html (or anywhere under /library/). 2. Type hello in the search box. 3. Press Enter The hello part is lost. You'll be sent to a Google search restricted to site:dlang.org but no hello. What is happening there? Thanks, Andrei
Apr 14 2016
On 4/14/16 4:31 PM, Andrei Alexandrescu wrote:1. Go to http://dlang.org 2. Type hello in the search box. 3. Press Enter You'll be sent to a Google search for hello restricted to site:dlang.org. Nice.GET url is: https://www.google.com/search?domains=dlang.org&sourceid=google-search&q=hello&sitesearch=dlang.orgNow do this: 1. Go to https://dlang.org/library/index.html (or anywhere under /library/). 2. Type hello in the search box.GET url is: https://www.google.com/search?domains=dlang.org&sourceid=google-search&q=&symbolSearch=hello&sitesearch=dlang.org%2Flibrary Seems like an error in the way the URL is generated. Looks like it should be "q=hello", but it's "q=" -Steve
Apr 14 2016
On Thursday, 14 April 2016 at 20:31:11 UTC, Andrei Alexandrescu wrote:What is happening there?Looking at the code, it appears to be "by design". Pressing the Enter key is simply not handled, instead it seems that you are expected to type a search term, then click with your mouse on one of the completion suggestions.
Apr 14 2016
On Thursday, 14 April 2016 at 20:55:24 UTC, Vladimir Panteleev wrote:On Thursday, 14 April 2016 at 20:31:11 UTC, Andrei Alexandrescu wrote:From what I can see, there is an input field with name="q" which is hidden and replaced instead with another input field with no name, which has the placeholder "API Search". When you press return, it submits the form with a blank value, because you aren't typing text into the input field for the search query, which is hidden. I don't know what's really intended there, but that's what's happening.What is happening there?Looking at the code, it appears to be "by design". Pressing the Enter key is simply not handled, instead it seems that you are expected to type a search term, then click with your mouse on one of the completion suggestions.
Apr 14 2016
On 04/14/2016 04:55 PM, Vladimir Panteleev wrote:On Thursday, 14 April 2016 at 20:31:11 UTC, Andrei Alexandrescu wrote:Well I hope we agree it's a bug. Pressing Enter does a useless thing. -- AndreiWhat is happening there?Looking at the code, it appears to be "by design". Pressing the Enter key is simply not handled, instead it seems that you are expected to type a search term, then click with your mouse on one of the completion suggestions.
Apr 14 2016
On Friday, 15 April 2016 at 00:29:20 UTC, Andrei Alexandrescu wrote:On 04/14/2016 04:55 PM, Vladimir Panteleev wrote:Yeah. The autocomplete popup should probably also be rewritten as an HTML5 datalist.On Thursday, 14 April 2016 at 20:31:11 UTC, Andrei Alexandrescu wrote:Well I hope we agree it's a bug. Pressing Enter does a useless thing. -- AndreiWhat is happening there?Looking at the code, it appears to be "by design". Pressing the Enter key is simply not handled, instead it seems that you are expected to type a search term, then click with your mouse on one of the completion suggestions.
Apr 14 2016