This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Ryan Sullivan 5100c2bbd2 Add Global Keyboard Shortcuts
Not all of these have been fully implemented yet.

**Jump To**
* `g` then `h` - Home (Latest)
* `g` then `l` - Latest
* `g` then `n` - New
* `g` then `u` - Unread
* `g` then `f` - Favorited
* `g` then `c` - Categories List

**Navigation**
* `u` - Back to topic list
* `k` / `j` - Newer/Older conversation or post
* `o` or `Enter` - Open selected conversation
* <code>`</code> - Go to next section
* `~` - Go to previous section

**Application**
* `c` - Create a new topic
* `n` - Open notifications menu
* `/` - Search
* `?` - Open keyboard shortcut help

**Actions**
* `f` - Favorite topic
* `s` - Share topic
* `<Shift>` + `s` - Share selected post
* `r` - Reply to topic
* `<Shift>` + `r` - Reply to selected post
* `l` - Like selected post
* `!` - Flag selected post
* `b` - Bookmark selected post
* `e` - Edit selected post
* `d` - Delete selected post
* `m` then `m` - Mark topic as muted
* `m` then `r` - Mark topic as regular
* `m` then `t` - Mark topic as tracking
* `m` then `w` - Mark topic as watching
2013-12-22 12:16:42 -07:00
..
components Add Global Keyboard Shortcuts 2013-12-22 12:16:42 -07:00
controllers Add Global Keyboard Shortcuts 2013-12-22 12:16:42 -07:00
dialects Remove unused hook. 2013-12-19 14:43:36 -05:00
ember refactors Discourse.Resolver 2013-09-30 18:18:03 +02:00
helpers use a helper instead of a view for custom HTML content 2013-12-17 18:56:59 +01:00
initializers Add Global Keyboard Shortcuts 2013-12-22 12:16:42 -07:00
lib Revert "Re-apply with fixes: Stop using user agent to detect mobile devices. Use a media query and yepnope to load the appropriate css and customizations." 2013-12-18 14:47:22 -05:00
mixins FIX: CSRF token retrieval bug 2013-12-03 15:30:33 -05:00
models Improve tooltip on categories stats. 2013-12-17 17:43:04 -05:00
routes Add Global Keyboard Shortcuts 2013-12-22 12:16:42 -07:00
templates Add Global Keyboard Shortcuts 2013-12-22 12:16:42 -07:00
views Add Global Keyboard Shortcuts 2013-12-22 12:16:42 -07:00