ensignlee / ssbook

ssbook
5 stars 3 forks source link

If you type slash, reset cursor to search bar #28

Closed ensignlee closed 13 years ago

ensignlee commented 13 years ago

We were talking about this earlier.

I think the slash right to the left of the right shift key on a qwerty keyboard would be a good key to associate with returning to the search bar.

camerondavison commented 13 years ago

/ that character? okay question is if you are in a text box i am assuming that it should do nothing so we may need to figure out do they hit tab or something?

ensignlee commented 13 years ago

hmm, I can't think of a valid situation where I would hit / and not want to go straight back to the search bar.

In any of the text boxes, I can't think of a valid situation where I would hit / on purpose

camerondavison commented 13 years ago

book name? possibly "bookone/booktwo"

ensignlee commented 13 years ago

Hmm. I've never thought of that. I didn't think we supported that actually, having the sportsbook be multiple books. That field is just a text box right now, right?

camerondavison commented 13 years ago

uh yeah it is just a text box so they can put whatever they want in it. thats why the book name could be blah/ooh

ensignlee commented 13 years ago

Yeah. But then we don't want to encourage people to use the / there.

Like, if I type BetPhoenix / BetMania, the filtering won't work correctly when I try to filter my bets by BetPhoenix.

camerondavison commented 13 years ago

the search box and the date box both need to be able to type '/' so i made them allow it otherwise the / never shows up and always gives focus to the search box.

camerondavison commented 13 years ago

adding / shortcut. closed by 485a4e6ce95efe301594644a68cdfd57045c8b4f