Change s to z for zen mode shortcut and update copy and docs

This commit is contained in:
Kim Gardner
2018-01-25 14:50:06 -05:00
parent a8f794ef76
commit 63347dc0eb
4 changed files with 16 additions and 14 deletions
@@ -23,7 +23,7 @@ export default class ModerationKeysModal extends React.Component {
'ctrl+f': 'modqueue.toggle_search',
t: 'modqueue.next_queue',
[`1...${this.props.queueCount}`]: 'modqueue.jump_to_queue',
s: 'modqueue.singleview',
z: 'modqueue.singleview',
'?': 'modqueue.thismenu',
},
},
@@ -19,7 +19,7 @@ class Moderation extends Component {
componentWillMount() {
const { toggleModal, singleView } = this.props;
key('s', () => singleView());
key('z', () => singleView());
key('shift+/', () => toggleModal(true));
key('esc', () => toggleModal(false));
key('ctrl+f', () => this.openSearch());
@@ -113,7 +113,7 @@ class Moderation extends Component {
};
componentWillUnmount() {
key.unbind('s');
key.unbind('z');
key.unbind('shift+/');
key.unbind('esc');
key.unbind('ctrl+f');
@@ -133,16 +133,18 @@ Talk also allows you to moderate a commenters recent comments from this view.
Talk also supports a number of keyboard shortcuts that moderators can leverage
to moderate quickly:
| Shortcut | Action |
| -------- | ------------------------------- |
| `j` | Go to the next comment |
| `k` | Go to the previous comment |
| `ctrl+f` | Open search |
| `t` | Switch queues |
| `s` | Toggle single comment edit view |
| `?` | Open this menu |
| `d` | Approve |
| `f` | Reject |
| Shortcut | Action |
| -------- | -------------------------- |
| `j` | Go to the next comment |
| `k` | Go to the previous comment |
| `ctrl+f` | Open search |
| `t` | Switch queues |
| `z` | Zen mode |
| `?` | Open this menu |
| `d` | Approve |
| `f` | Reject |
Note: "Zen mode" allows a moderator to view and action only one comment at a time. Namaste!
### Stories
+1 -1
View File
@@ -330,7 +330,7 @@ en:
shortcuts: "Shortcuts"
sort: "Sort"
show_shortcuts: "Show Shortcuts"
singleview: "Toggle single comment edit view"
singleview: "Zen mode"
thismenu: "Open this menu"
jump_to_queue: "Jump to specific queue"
thousand: k