kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Merge branch 'search-hotkey' into 'develop'
Add `/` as a hotkey for search See merge request soapbox-pub/soapbox!2517environments/review-develop-3zknud/deployments/3384
commit
73ec6a92bb
|
@ -113,7 +113,7 @@ const HotkeysModal: React.FC<IHotkeysModal> = ({ onClose }) => {
|
|||
<TableCell><FormattedMessage id='keyboard_shortcuts.back' defaultMessage='to navigate back' /></TableCell>
|
||||
</tr>
|
||||
<tr>
|
||||
<TableCell><Hotkey>s</Hotkey></TableCell>
|
||||
<TableCell><Hotkey>s</Hotkey>, <Hotkey>/</Hotkey></TableCell>
|
||||
<TableCell><FormattedMessage id='keyboard_shortcuts.search' defaultMessage='to focus search' /></TableCell>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -156,7 +156,7 @@ const EmptyPage = HomePage;
|
|||
const keyMap = {
|
||||
help: '?',
|
||||
new: 'n',
|
||||
search: 's',
|
||||
search: ['s', '/'],
|
||||
forceNew: 'option+n',
|
||||
reply: 'r',
|
||||
favourite: 'f',
|
||||
|
|
Ładowanie…
Reference in New Issue