Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Search suggestion should not list when engine go key is typed. #3294

Closed
srirambv opened this issue Aug 21, 2016 · 13 comments
Closed

Search suggestion should not list when engine go key is typed. #3294

srirambv opened this issue Aug 21, 2016 · 13 comments

Comments

@srirambv
Copy link
Collaborator

srirambv commented Aug 21, 2016

Did you search for similar issues before submitting this one?
Yes

Describe the issue you encountered:
Typing yt and then space automatically shows search suggestion without user even entering a single character.
(Specific to Youtube Search Engine )

Expected behavior:
Should show suggestion only when user enters a character

@alexwykoff alexwykoff added this to the 0.11.6dev milestone Aug 23, 2016
@bbondy
Copy link
Member

bbondy commented Aug 24, 2016

could you write steps to reproduce please? Also how bad is this behaviour? I'm tempted to remove this from 0.11.6.

Do I need a history entry with "yt " in the title? If so can you recommend a site t get that?

@jkup jkup self-assigned this Aug 24, 2016
@jkup
Copy link
Contributor

jkup commented Aug 24, 2016

I'm able to reproduce this but I'm not sure what the desired behavior is. I didn't need a yt history entry but what's weird is that I don't think they are Youtube search results, I think they are regular search results for phrases that start with "yt".

What should we be doing here?

Screenshots attached.
screen shot 2016-08-23 at 8 20 10 pm

@bridiver
Copy link
Collaborator

is there some reason why the suggestions shouldn't be active? I tend to agree with @jkup that these could be legitimate search queries

@bridiver
Copy link
Collaborator

I think these should probably be activated by a different method. Maybe tab?

@bbondy bbondy removed this from the 0.11.6dev milestone Aug 24, 2016
@bbondy
Copy link
Member

bbondy commented Aug 24, 2016

removing from 0.11.6

@srirambv
Copy link
Collaborator Author

srirambv commented Aug 24, 2016

@bbondy @jkup @bridiver Search suggestion should only come up when a user enters a character. I am assuming the search result is showing up automatically since Youtube uses two characters as the go keyword while all others only use one character. Entering the second character could be triggering the auto search suggestions

@bridiver
Copy link
Collaborator

I guess what seems odd to me is that searching for "a big dog" or @jkup's example of "yt bikes" would search amazon instead of the default search engine. It's a separate issue, but if we had a different trigger it would probably be easier to decide when to show the suggestions

@jkup jkup removed their assignment Aug 24, 2016
@darkdh
Copy link
Member

darkdh commented Aug 25, 2016

'a' is actually an amazon search shortcut btw. So it will search amazon for "big dog".

@bridiver
Copy link
Collaborator

right, that's my point. Seems like we should do a better job of differentiating between regular searches and amazon/youtube/etc... searches

@bbondy
Copy link
Member

bbondy commented Aug 25, 2016

I've wanted to do this as well, I think we should have a top level state for searches like we have sites and each search would have the search text, the engine used, the partition, lastAccessedTime, and instead of calling appActions.addSite we'd call a new appActions.addSearch

@bridiver
Copy link
Collaborator

we could convert the search engine go keys from 'a' -> '/a'
I think there's a lot of other cool things we could do with slash commands

@bsclifton
Copy link
Member

This was closed when we added a : in front of the search go keys 😄 (not too long after this was filed)

@luixxiul luixxiul added this to the Backlog milestone Mar 14, 2017
@bbondy bbondy removed this from the Backlog milestone Apr 26, 2017
@Ornataweaver
Copy link

#790 #824 #3053 #3294 #4210

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants