Merge pull request #2724 from cpradio/key-binding-reply-new-topic
UX: Add keyboard binding for reply as new topic
This commit is contained in:
commit
cb45d5fa25
|
@ -22,7 +22,8 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
|
|||
'e': 'editPost',
|
||||
'l': 'toggleLike',
|
||||
'r': 'replyToPost',
|
||||
'!': 'showFlags'
|
||||
'!': 'showFlags',
|
||||
't': 'replyAsNewTopic'
|
||||
},
|
||||
|
||||
CLICK_BINDINGS: {
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
<li>{{{i18n keyboard_shortcuts_help.actions.star}}}</li>
|
||||
<li>{{{i18n keyboard_shortcuts_help.actions.share_topic}}}</li>
|
||||
<li>{{{i18n keyboard_shortcuts_help.actions.share_post}}}</li>
|
||||
<li>{{{i18n keyboard_shortcuts_help.actions.reply_as_new_topic}}}</li>
|
||||
<li>{{{i18n keyboard_shortcuts_help.actions.reply_topic}}}</li>
|
||||
<li>{{{i18n keyboard_shortcuts_help.actions.reply_post}}}</li>
|
||||
<li>{{{i18n keyboard_shortcuts_help.actions.quote_post}}}</li>
|
||||
|
|
|
@ -2066,6 +2066,7 @@ en:
|
|||
star: '<b>f</b> Star topic'
|
||||
share_topic: '<b>shift s</b> Share topic'
|
||||
share_post: '<b>s</b> Share post'
|
||||
reply_as_new_topic: '<b>t</b> Reply as new topic'
|
||||
reply_topic: '<b>shift r</b> Reply to topic'
|
||||
reply_post: '<b>r</b> Reply to post'
|
||||
quote_post: '<b>q</b> Quote post'
|
||||
|
|
Loading…
Reference in New Issue