ryanhugh / searchneu

Search over Classes, Professors and Employees at NEU!
https://searchneu.com
GNU Affero General Public License v3.0
74 stars 18 forks source link

The search box should select the search text when the cursor is back on the search bar #66

Open adityaponnada opened 5 years ago

adityaponnada commented 5 years ago

Right now it simply places the cursor to a position, but if it selects the search text, user can start typing directly.

ryanhugh commented 5 years ago

Seems to me like this would be a good idea if people usually start their subsequent queries from scratch rather than editing their existing queries. We should have enough data in amplitude to figure this out. Also, looks like most of the other search engines on the internet do it the same way that we do now, but the omnibar on chrome does it this new way.

I might take a look over the next week or so and figure out if we want to do this.

adityaponnada commented 5 years ago

Good point. Just that course search is limited to one or two keywords and in all likelihood, users might want to just search from scratch. I am just stating my experience and do not really have the data to back it up. But a feature request to consider. Great work BTW!

ryanhugh commented 5 years ago

Thanks a lot for letting us know and awesome to hear you like the site! :)