diff --git a/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js b/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js index f1abde1d40..d84447a79b 100644 --- a/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js +++ b/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js @@ -22,7 +22,8 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({ 'e': 'editPost', 'l': 'toggleLike', 'r': 'replyToPost', - '!': 'showFlags' + '!': 'showFlags', + 't': 'replyAsNewTopic' }, CLICK_BINDINGS: { diff --git a/app/assets/javascripts/discourse/templates/discovery/topics.js.handlebars b/app/assets/javascripts/discourse/templates/discovery/topics.js.handlebars index 34708a1ebc..bd7b9a847a 100644 --- a/app/assets/javascripts/discourse/templates/discovery/topics.js.handlebars +++ b/app/assets/javascripts/discourse/templates/discovery/topics.js.handlebars @@ -5,11 +5,11 @@ {{#if showDismissAtTop}}
- - The topic title will always take you to your next unread post. Use the last activity time to quickly jump to the first or last post in a topic.
+
## How do I reply?
@@ -1299,19 +1301,22 @@ en:
(To quote an entire post, use the Import Quote button on the editor toolbar.)
- To mention someone's name in your reply, start typing `@` and an autocompleter will pop up.
+ To ping someone in your reply, mention their name. Type `@` and an autocompleter will pop up.
+ For [standard Emoji](http://www.emoji-cheat-sheet.com/), just start typing `:` or the traditional smileys `:)` :smile:
+
## What else can I do?
- To let someone know that you enjoyed their post, use the **like** button at the bottom of the post. If you see a problem with a post, don't hesitate to use the **flag** button and privately let them, or our staff, know about it.
+ There are action buttons at the bottom of each post.
- You can also share a link to a post, or bookmark a post for later reference on your user page.
+ To let someone know that you enjoyed their post, use the **like** button. If you see a problem with a post, privately let them, or our staff, know about it with the **flag** button.
+
+ You can also **share** a link to a post, or **bookmark** it for later reference on your user page.
- For [standard Emoji](http://www.emoji-cheat-sheet.com/), just start typing `:` or the traditional smileys `:)` :smile:
## Who is talking to me?
@@ -1323,7 +1328,7 @@ en:
## When are conversations new?
- By default all conversations less than two days old are considered new, and any conversation you've participated in will automatically be tracked.
+ By default all conversations less than two days old are considered new, and any conversation you've participated in (replied to, created, or read for an extended period) will automatically be tracked.
You will see the blue new and number indicators next to these topics:
diff --git a/spec/fabricators/user_fabricator.rb b/spec/fabricators/user_fabricator.rb
index 3aab6184bc..26b7ce4dee 100644
--- a/spec/fabricators/user_fabricator.rb
+++ b/spec/fabricators/user_fabricator.rb
@@ -67,7 +67,7 @@ Fabricator(:active_user, from: :user) do
end
Fabricator(:leader, from: :user) do
- name 'Leader McLeaderman'
+ name 'Veteran McVeteranish'
username { sequence(:username) { |i| "leader#{i}" } }
email { sequence(:email) { |i| "leader#{i}@leaderfun.com" } }
trust_level TrustLevel.levels[:leader]
diff --git a/test/javascripts/components/keyboard-shortcuts-test.js.es6 b/test/javascripts/components/keyboard-shortcuts-test.js.es6
index 627de5641d..4a335328f8 100644
--- a/test/javascripts/components/keyboard-shortcuts-test.js.es6
+++ b/test/javascripts/components/keyboard-shortcuts-test.js.es6
@@ -46,6 +46,8 @@ module("Discourse.KeyboardShortcuts", {
" ",
" ",
" ",
+ " ",
+ " ",
"