Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
left-sidebar: Rename "All direct messages" => "Direct message feed".
Tim Abbott2c62152a8b0d
diff --git a/docs/testing/manual-testing.md b/docs/testing/manual-testing.mdindex 2462d83d9a9..2f6b2ceac15 100644--- a/docs/testing/manual-testing.md+++ b/docs/testing/manual-testing.md@@ -185,7 +185,7 @@ through the following views for Cordelia (and have Hamlet send newmessages after each narrow):- Go to Combined feed view.-- Go to All direct messages view.+- Go to Direct message feed view.- Go to Direct messages w/Hamlet.- Go to Direct messages w/Hamlet and Othello.- Go to Verona view.@@ -217,9 +217,9 @@ populated and where the focus is placed.- Buttons- Narrow to a stream and click on "New topic"- - Narrow "All direct messages" and click on "New topic"+ - Narrow to "Direct message feed" and click on "New topic"- Narrow to a stream and click on "New direct message"- - Narrow "All direct messages" and click on "New direct message"+ - Narrow to "Direct message feed" and click on "New direct message"- Topicsdiff --git a/help/keyboard-shortcuts.md b/help/keyboard-shortcuts.mdindex 269023c0613..d5eab6373fd 100644--- a/help/keyboard-shortcuts.md+++ b/help/keyboard-shortcuts.md@@ -96,7 +96,7 @@ in the Zulip app to add more to your repertoire as needed.* **Go to stream from topic view**: <kbd>S</kbd>-* **Go to all direct messages**: <kbd>Shift</kbd> + <kbd>P</kbd>+* **Go to your direct message feed**: <kbd>Shift</kbd> + <kbd>P</kbd>* **Zoom to message in conversation context**: <kbd>Z</kbd> — This view does not mark messages as read.diff --git a/help/reading-strategies.md b/help/reading-strategies.mdindex be7bb115626..28e426b005c 100644--- a/help/reading-strategies.md+++ b/help/reading-strategies.md@@ -49,7 +49,7 @@ workflows:{!all-messages.md!}-### All direct messages+### Direct message feedYou can see all your direct messages in one place.@@ -57,7 +57,7 @@ You can see all your direct messages in one place.{tab|desktop-web}-1. Click on the **All direct messages** (<i class="fa fa-align-right"></i>)+1. Click on the **Direct message feed** (<i class="fa fa-align-right"></i>)icon next to **DIRECT MESSAGES** in the left sidebar.1. Read your direct messages, starting from your first unread message. You can@@ -69,7 +69,7 @@ You can see all your direct messages in one place.!!! keyboard_tip ""Use the <kbd>Shift</kbd> + <kbd>P</kbd> keyboard shortcut to go to- **All direct messages**.+ **Direct message feed**.{end_tabs}diff --git a/web/e2e-tests/message-basics.test.ts b/web/e2e-tests/message-basics.test.tsindex 5ed5721dec0..631e01d5c96 100644--- a/web/e2e-tests/message-basics.test.ts+++ b/web/e2e-tests/message-basics.test.ts@@ -304,7 +304,7 @@ async function expect_all_direct_messages(page: Page): Promise<void> {await common.get_text_from_selector(page, "#new_conversation_button"),"Start new conversation",);- assert.strictEqual(await page.title(), "All direct messages - Zulip Dev - Zulip");+ assert.strictEqual(await page.title(), "Direct message feed - Zulip Dev - Zulip");}async function test_narrow_by_clicking_the_left_sidebar(page: Page): Promise<void> {diff --git a/web/src/click_handlers.js b/web/src/click_handlers.jsindex 437b684ccc3..7130793e5ee 100644--- a/web/src/click_handlers.js+++ b/web/src/click_handlers.js@@ -777,7 +777,7 @@ export function initialize() {".direct-messages-container.zoom-out #private_messages_section_header",(e) => {if ($(e.target).closest("#show_all_private_messages").length === 1) {- // Let the browser handle the "all direct messages" widget.+ // Let the browser handle the "direct message feed" widget.return;}diff --git a/web/src/filter.ts b/web/src/filter.tsindex 7804c12cd47..617c3dfd60e 100644--- a/web/src/filter.ts+++ b/web/src/filter.ts@@ -1033,7 +1033,7 @@ export class Filter {case "is-mentioned":return $t({defaultMessage: "Mentions"});case "is-dm":- return $t({defaultMessage: "All direct messages"});+ return $t({defaultMessage: "Direct message feed"});case "is-resolved":return $t({defaultMessage: "Topics marked as resolved"});// These cases return false for is_common_narrow, and therefore are notdiff --git a/web/src/narrow.js b/web/src/narrow.jsindex ed7a1b8a1ce..38a0ebe0e25 100644--- a/web/src/narrow.js+++ b/web/src/narrow.js@@ -1055,7 +1055,7 @@ export function to_compose_target() {const emails = util.extract_pm_recipients(recipient_string);const invalid = emails.filter((email) => !people.is_valid_email_for_compose(email));// If there are no recipients or any recipient is- // invalid, narrow to all direct messages.+ // invalid, narrow to your direct message feed.if (emails.length === 0 || invalid.length > 0) {by("is", "dm", opts);return;diff --git a/web/src/narrow_state.ts b/web/src/narrow_state.tsindex ccb2451de08..642b00ded16 100644--- a/web/src/narrow_state.ts+++ b/web/src/narrow_state.ts@@ -318,8 +318,8 @@ export function _possible_unread_message_ids(return undefined;}-// Are we narrowed to direct messages: all direct messages-// or direct messages with particular people.+// Are we narrowed to direct messages: the direct message feed or a+// specific direct message conversation.export function narrowed_to_pms(current_filter: Filter | undefined = filter()): boolean {if (current_filter === undefined) {return false;diff --git a/web/templates/keyboard_shortcuts.hbs b/web/templates/keyboard_shortcuts.hbsindex d6a22c72ca4..e0258814a2b 100644--- a/web/templates/keyboard_shortcuts.hbs+++ b/web/templates/keyboard_shortcuts.hbs@@ -148,7 +148,7 @@<td><span class="hotkey"><kbd>S</kbd></span></td></tr><tr>- <td class="definition">{{t 'Go to all direct messages' }}</td>+ <td class="definition">{{t 'Go to your direct message feed' }}</td><td><span class="hotkey"><kbd>Shift</kbd> + <kbd>P</kbd></span></td></tr><tr>diff --git a/web/templates/left_sidebar.hbs b/web/templates/left_sidebar.hbsindex 34981353dd2..fb8abde839d 100644--- a/web/templates/left_sidebar.hbs+++ b/web/templates/left_sidebar.hbs@@ -140,7 +140,7 @@<h4 class="left-sidebar-title toggle_private_messages_section"><span class="dm-tooltip-target">{{t 'DIRECT MESSAGES' }}</span></h4><div class="heading-markers-and-controls"><a id="show_all_private_messages" href="#narrow/is/dm" data-tooltip-template-id="show-all-pms-template">- <i class="fa fa-align-right" aria-label="{{t 'All direct messages' }}"></i>+ <i class="fa fa-align-right" aria-label="{{t 'Direct message feed' }}"></i></a><span class="unread_count"></span></div>diff --git a/web/templates/tooltip_templates.hbs b/web/templates/tooltip_templates.hbsindex 4f42614b4f3..637fb0efc21 100644--- a/web/templates/tooltip_templates.hbs+++ b/web/templates/tooltip_templates.hbs@@ -117,7 +117,7 @@{{tooltip_hotkey_hints "D"}}</template><template id="show-all-pms-template">- {{t 'All direct messages' }}+ {{t 'Direct message feed' }}{{tooltip_hotkey_hints "Shift" "P"}}</template><template id="mentions-tooltip-template">diff --git a/web/tests/filter.test.js b/web/tests/filter.test.jsindex 86f600bccb8..48cb6f5e250 100644--- a/web/tests/filter.test.js+++ b/web/tests/filter.test.js@@ -1696,7 +1696,7 @@ test("navbar_helpers", () => {terms: is_dm,is_common_narrow: true,icon: "envelope",- title: "translated: All direct messages",+ title: "translated: Direct message feed",redirect_url_with_search: "/#narrow/is/dm",},{diff --git a/zerver/lib/markdown/help_relative_links.py b/zerver/lib/markdown/help_relative_links.pyindex 08fb12ce824..8ec63ab526f 100644--- a/zerver/lib/markdown/help_relative_links.py+++ b/zerver/lib/markdown/help_relative_links.py@@ -166,7 +166,7 @@ starred_instructions = """"""direct_instructions = """-1. In the left sidebar, click the **All direct messages**+1. In the left sidebar, click the **Direct message feed**(<i class="fa fa-align-right"></i>) icon to the right of the**Direct messages** label, or use the <kbd>Shift</kbd> + <kbd>P</kbd>keyboard shortcut.@@ -183,7 +183,7 @@ message_info = {"recent": ["Recent conversations", "/#recent", recent_instructions],"all": ["Combined feed", "/#all_messages", all_instructions],"starred": ["Starred messages", "/#narrow/is/starred", starred_instructions],- "direct": ["All direct messages", "/#narrow/is/dm", direct_instructions],+ "direct": ["Direct message feed", "/#narrow/is/dm", direct_instructions],"inbox": ["Inbox", "/#inbox", inbox_instructions],}