"Your search term is too short" message when no search term is entered at all

(Anton) #1

This might be considered a bit confusing:

I have not entered any text yet, but it already says that my search term is too short (while there is no search term at all).

Maybe for zero-length input we should say something different, e.g.:

Enter at least {n} chars to start the search

(Jeff Atwood) #2

You can only get here by entering text and then deleting it, so I don’t consider that worth spending time on at the moment.

(Sam Saffron) #3

Fine for someone to submit a PR for enter at least {n} chars to search. Or something along those lines.

(Anton) #4

I see that state as soon as I press the / key.

(Vinoth Kannan) #5

PR submitted

(Vinoth Kannan) #6

Anyone retry my PR in travis. It will pass now. Before it failed because of master branch’s build failure.

(Erlend Sogge Heggen) #7