From ea660f9146af2eeeb91c2d557c62ee0f9d58031d Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 6 Nov 2023 20:15:13 +0800 Subject: [PATCH] New keyboard shortcuts --- src/components/keyboard-shortcuts-help.jsx | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/components/keyboard-shortcuts-help.jsx b/src/components/keyboard-shortcuts-help.jsx index 52bca71..df4e437 100644 --- a/src/components/keyboard-shortcuts-help.jsx +++ b/src/components/keyboard-shortcuts-help.jsx @@ -117,6 +117,15 @@ export default memo(function KeyboardShortcutsHelp() { action: 'Compose new post', keys: c, }, + { + action: 'Compose new post (new window)', + className: 'insignificant', + keys: ( + <> + Shift + c + + ), + }, { action: 'Send post', keys: ( @@ -134,6 +143,15 @@ export default memo(function KeyboardShortcutsHelp() { action: 'Reply', keys: r, }, + { + action: 'Reply (new window)', + className: 'insignificant', + keys: ( + <> + Shift + r + + ), + }, { action: 'Like (favourite)', keys: ( @@ -162,9 +180,9 @@ export default memo(function KeyboardShortcutsHelp() { ), }, - ].map(({ action, keys }) => ( + ].map(({ action, className, keys }) => ( - {action} + {action} {keys} ))}