Skip to content

Commit 873cc42

Browse files
committed
keys: Improve descriptions of hotkeys that switch narrows.
Replace "Narrow to": - Use "View" instead of "Narrow to" - Use "View all" for the narrow buttons - Use "Open PM with" for the compose box message recipient Rephrasing help texts: - Use "zoom in/out" to simplify and shorten the longest description, while also being clear on the choice of key being 'z' - "messages in which you're mentioned" -> "messages you're mentioned in" reduces length while retaining clarity Hotkeys document regenerated.
1 parent cdd22c8 commit 873cc42

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

docs/hotkeys.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232
## Switching Messages View
3333
|Command|Key Combination|
3434
| :--- | :---: |
35-
|Narrow to the stream of the current message|<kbd>s</kbd>|
36-
|Narrow to the topic of the current message|<kbd>S</kbd>|
37-
|Narrow to a topic/direct-chat, or stream/all-direct-messages|<kbd>z</kbd>|
38-
|Narrow to compose box message recipient|<kbd>Meta</kbd> + <kbd>.</kbd>|
39-
|Narrow to all messages|<kbd>a</kbd> / <kbd>Esc</kbd>|
40-
|Narrow to all direct messages|<kbd>P</kbd>|
41-
|Narrow to all starred messages|<kbd>f</kbd>|
42-
|Narrow to messages in which you're mentioned|<kbd>#</kbd>|
35+
|View the stream of the current message|<kbd>s</kbd>|
36+
|View the topic of the current message|<kbd>S</kbd>|
37+
|Zoom in/out the message's conversation context|<kbd>z</kbd>|
38+
|Open PM with compose box message recipient|<kbd>Meta</kbd> + <kbd>.</kbd>|
39+
|View all messages|<kbd>a</kbd> / <kbd>Esc</kbd>|
40+
|View all direct messages|<kbd>P</kbd>|
41+
|View all starred messages|<kbd>f</kbd>|
42+
|View all messages you're mentioned in|<kbd>#</kbd>|
4343

4444
## Searching
4545
|Command|Key Combination|

zulipterminal/config/keys.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -170,23 +170,23 @@ class KeyBinding(TypedDict):
170170
},
171171
'STREAM_NARROW': {
172172
'keys': ['s'],
173-
'help_text': 'Narrow to the stream of the current message',
173+
'help_text': 'View the stream of the current message',
174174
'key_category': 'narrowing',
175175
},
176176
'TOPIC_NARROW': {
177177
'keys': ['S'],
178-
'help_text': 'Narrow to the topic of the current message',
178+
'help_text': 'View the topic of the current message',
179179
'key_category': 'narrowing',
180180
},
181181
'TOGGLE_NARROW': {
182182
'keys': ['z'],
183183
'help_text':
184-
'Narrow to a topic/direct-chat, or stream/all-direct-messages',
184+
"Zoom in/out the message's conversation context",
185185
'key_category': 'narrowing',
186186
},
187187
'NARROW_MESSAGE_RECIPIENT': {
188188
'keys': ['meta .'],
189-
'help_text': 'Narrow to compose box message recipient',
189+
'help_text': 'Open PM with compose box message recipient',
190190
'key_category': 'narrowing',
191191
},
192192
'REACTION_AGREEMENT': {
@@ -201,22 +201,22 @@ class KeyBinding(TypedDict):
201201
},
202202
'ALL_MESSAGES': {
203203
'keys': ['a', 'esc'],
204-
'help_text': 'Narrow to all messages',
204+
'help_text': 'View all messages',
205205
'key_category': 'narrowing',
206206
},
207207
'ALL_PM': {
208208
'keys': ['P'],
209-
'help_text': 'Narrow to all direct messages',
209+
'help_text': 'View all direct messages',
210210
'key_category': 'narrowing',
211211
},
212212
'ALL_STARRED': {
213213
'keys': ['f'],
214-
'help_text': 'Narrow to all starred messages',
214+
'help_text': 'View all starred messages',
215215
'key_category': 'narrowing',
216216
},
217217
'ALL_MENTIONS': {
218218
'keys': ['#'],
219-
'help_text': "Narrow to messages in which you're mentioned",
219+
'help_text': "View all messages you're mentioned in",
220220
'key_category': 'narrowing',
221221
},
222222
'NEXT_UNREAD_TOPIC': {

0 commit comments

Comments
 (0)