1
0
Fork 0

New keyboard shortcuts

This commit is contained in:
Lim Chee Aun 2023-11-06 20:15:13 +08:00
parent 8f34d98f47
commit ea660f9146

View file

@ -117,6 +117,15 @@ export default memo(function KeyboardShortcutsHelp() {
action: 'Compose new post',
keys: <kbd>c</kbd>,
},
{
action: 'Compose new post (new window)',
className: 'insignificant',
keys: (
<>
<kbd>Shift</kbd> + <kbd>c</kbd>
</>
),
},
{
action: 'Send post',
keys: (
@ -134,6 +143,15 @@ export default memo(function KeyboardShortcutsHelp() {
action: 'Reply',
keys: <kbd>r</kbd>,
},
{
action: 'Reply (new window)',
className: 'insignificant',
keys: (
<>
<kbd>Shift</kbd> + <kbd>r</kbd>
</>
),
},
{
action: 'Like (favourite)',
keys: (
@ -162,9 +180,9 @@ export default memo(function KeyboardShortcutsHelp() {
</>
),
},
].map(({ action, keys }) => (
].map(({ action, className, keys }) => (
<tr key={action}>
<th>{action}</th>
<th class={className}>{action}</th>
<td>{keys}</td>
</tr>
))}