|
|
@ -89,6 +89,7 @@ const keyMap = { |
|
|
|
goToProfile: 'g u', |
|
|
|
goToProfile: 'g u', |
|
|
|
goToBlocked: 'g b', |
|
|
|
goToBlocked: 'g b', |
|
|
|
goToMuted: 'g m', |
|
|
|
goToMuted: 'g m', |
|
|
|
|
|
|
|
goToRequests: 'g r', |
|
|
|
toggleHidden: 'x', |
|
|
|
toggleHidden: 'x', |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
@ -427,6 +428,10 @@ export default class UI extends React.PureComponent { |
|
|
|
this.context.router.history.push('/mutes'); |
|
|
|
this.context.router.history.push('/mutes'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
handleHotkeyGoToRequests = () => { |
|
|
|
|
|
|
|
this.context.router.history.push('/follow_requests'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
render () { |
|
|
|
render () { |
|
|
|
const { draggingOver } = this.state; |
|
|
|
const { draggingOver } = this.state; |
|
|
|
const { children, isComposing, location, dropdownMenuIsOpen } = this.props; |
|
|
|
const { children, isComposing, location, dropdownMenuIsOpen } = this.props; |
|
|
@ -449,6 +454,7 @@ export default class UI extends React.PureComponent { |
|
|
|
goToProfile: this.handleHotkeyGoToProfile, |
|
|
|
goToProfile: this.handleHotkeyGoToProfile, |
|
|
|
goToBlocked: this.handleHotkeyGoToBlocked, |
|
|
|
goToBlocked: this.handleHotkeyGoToBlocked, |
|
|
|
goToMuted: this.handleHotkeyGoToMuted, |
|
|
|
goToMuted: this.handleHotkeyGoToMuted, |
|
|
|
|
|
|
|
goToRequests: this.handleHotkeyGoToRequests, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|