tilboerner / laserchicken

RSS reader web application built on Rails
MIT License
20 stars 3 forks source link

Keyboard shortcuts #1

Closed tilboerner closed 11 years ago

tilboerner commented 11 years ago

Have shortcuts like in Google (Reader|Mail).

For further options, see https://support.google.com/reader/answer/69973?hl=en and http://www.hongkiat.com/blog/28-google-reader-shortcuts/ .

XORwell commented 11 years ago

Any requirements? Browser to Support/Test ? Suggestions for Libs or should it be self-made js? Btw, I used Shortcut.js some weeks ago. Very easy to use..

devsnd commented 11 years ago

If the shortcuts are static, you can simply grab about 20 lines of code from cherrymusic, which seem to work on every computer i've tested it on so far.

XORwell commented 11 years ago

btw, Ctrl+ right/left arrow works out of the box. is it from Turbolinks because of the rel=prev thing?

tilboerner commented 11 years ago

@XORwell, I was finally getting around to checking out your pull request, but I can't seem to find it anymore. Any chance to get it back? :)

btw, Ctrl+ right/left arrow works out of the box. is it from Turbolinks because of the rel=prev thing?

My guess is the rel=prev|next does the trick. Doesn't work for me on Firefox 23, though. What browser are you using?

XORwell commented 11 years ago

i've separated the commits in a feature branch. you can check the pull-requests.

My guess is the rel=prev|next does the trick. Doesn't work for me on Firefox 23, though. What browser are you using?

I'm using Chrome Version 28.0.1500.95

tilboerner commented 11 years ago

i've separated the commits in a feature branch. you can check the pull-requests.

Alright, thanks! I'll try to do that tonight.

XORwell commented 11 years ago

just stumbled upon this: http://dmauro.github.io/Keypress/

tilboerner commented 11 years ago

I was thinking to https://github.com/kugaevsky/mousetrap-rails in the long run.

tilboerner commented 11 years ago

Basic implementation complete, courtesy of @XORwell (→#18).

Issue closed until further notice.