mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-22 16:46:28 +01:00
New keyboard shortcuts
This commit is contained in:
parent
8f34d98f47
commit
ea660f9146
1 changed files with 20 additions and 2 deletions
|
@ -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>
|
||||
))}
|
||||
|
|
Loading…
Reference in a new issue