Skip to content

Commit 66c74ba

Browse files
Niloth-pneiljp
authored andcommitted
keys: Improve descriptions of hotkeys that switch narrows.
Replace "Narrow to": - Use "View" instead of "Narrow to" - Use "View all" for those corresponding to narrow buttons - Use "Switch message view" 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' - "compose box message recipient" -> "compose box target" reduces length and user-friendliness, while retaining clarity Hotkeys document regenerated.
1 parent aaac094 commit 66c74ba

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

Diff for: docs/hotkeys.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
## Switching Messages View
3131
|Command|Key Combination|
3232
| :--- | :---: |
33-
|Narrow to the stream of the current message|<kbd>s</kbd>|
34-
|Narrow to the topic of the current message|<kbd>S</kbd>|
35-
|Narrow to a topic/direct-chat, or stream/all-direct-messages|<kbd>z</kbd>|
36-
|Narrow to compose box message recipient|<kbd>Meta</kbd> + <kbd>.</kbd>|
37-
|Narrow to all messages|<kbd>a</kbd> / <kbd>Esc</kbd>|
38-
|Narrow to all direct messages|<kbd>P</kbd>|
39-
|Narrow to all starred messages|<kbd>f</kbd>|
40-
|Narrow to messages in which you're mentioned|<kbd>#</kbd>|
33+
|View the stream of the current message|<kbd>s</kbd>|
34+
|View the topic of the current message|<kbd>S</kbd>|
35+
|Zoom in/out the message's conversation context|<kbd>z</kbd>|
36+
|Switch message view to the compose box target|<kbd>Meta</kbd> + <kbd>.</kbd>|
37+
|View all messages|<kbd>a</kbd> / <kbd>Esc</kbd>|
38+
|View all direct messages|<kbd>P</kbd>|
39+
|View all starred messages|<kbd>f</kbd>|
40+
|View all messages in which you're mentioned|<kbd>#</kbd>|
4141
|Next unread topic|<kbd>n</kbd>|
4242
|Next unread direct message|<kbd>p</kbd>|
4343

Diff for: zulipterminal/config/keys.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -169,23 +169,23 @@ class KeyBinding(TypedDict):
169169
},
170170
'STREAM_NARROW': {
171171
'keys': ['s'],
172-
'help_text': 'Narrow to the stream of the current message',
172+
'help_text': 'View the stream of the current message',
173173
'key_category': 'narrowing',
174174
},
175175
'TOPIC_NARROW': {
176176
'keys': ['S'],
177-
'help_text': 'Narrow to the topic of the current message',
177+
'help_text': 'View the topic of the current message',
178178
'key_category': 'narrowing',
179179
},
180180
'TOGGLE_NARROW': {
181181
'keys': ['z'],
182182
'help_text':
183-
'Narrow to a topic/direct-chat, or stream/all-direct-messages',
183+
"Zoom in/out the message's conversation context",
184184
'key_category': 'narrowing',
185185
},
186186
'NARROW_MESSAGE_RECIPIENT': {
187187
'keys': ['meta .'],
188-
'help_text': 'Narrow to compose box message recipient',
188+
'help_text': 'Switch message view to the compose box target',
189189
'key_category': 'narrowing',
190190
},
191191
'EXIT_COMPOSE': {
@@ -205,22 +205,22 @@ class KeyBinding(TypedDict):
205205
},
206206
'ALL_MESSAGES': {
207207
'keys': ['a', 'esc'],
208-
'help_text': 'Narrow to all messages',
208+
'help_text': 'View all messages',
209209
'key_category': 'narrowing',
210210
},
211211
'ALL_PM': {
212212
'keys': ['P'],
213-
'help_text': 'Narrow to all direct messages',
213+
'help_text': 'View all direct messages',
214214
'key_category': 'narrowing',
215215
},
216216
'ALL_STARRED': {
217217
'keys': ['f'],
218-
'help_text': 'Narrow to all starred messages',
218+
'help_text': 'View all starred messages',
219219
'key_category': 'narrowing',
220220
},
221221
'ALL_MENTIONS': {
222222
'keys': ['#'],
223-
'help_text': "Narrow to messages in which you're mentioned",
223+
'help_text': "View all messages in which you're mentioned",
224224
'key_category': 'narrowing',
225225
},
226226
'NEXT_UNREAD_TOPIC': {

0 commit comments

Comments
 (0)