grantovich/CSH-WebNews — pull request #34 by ekosz (2011-10-10 16:42:16+00:00)
Title: Added j, J, and k keyboard shortcuts fixes #28

My initial take on things

Included:
-------------

* Posts that don't have a parent are marked as topics, for javascript hooks
* j will bring you to what ever is the next row is
* J will bring you to the next topic
* k will bring you to the parent of whatever you are reading
* If there is no parent nothing happens (Needs to be fixed)

Good / Bad / Indiffrent?

Things that need to be added:
------------------

* Currently there is not way to go back to the previous row, this is due the the CSS sibling selector `+` only looks forward
* Can't find the root post for a selected thread (for opening/closing a thread)
* Can't find the previous thread
* Currently opens every thread, would be nice to highlight thread, then if want to go deeper press a key to open thread

More class/data hooks would be great.