mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
left-sidebar: Rename "All direct messages" => "Direct message feed".
This aligns with the new naming scheme for other left sidebar elements.
This commit is contained in:
@@ -185,7 +185,7 @@ through the following views for Cordelia (and have Hamlet send new
|
||||
messages 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"
|
||||
|
||||
- Topics
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ workflows:
|
||||
|
||||
{!all-messages.md!}
|
||||
|
||||
### All direct messages
|
||||
### Direct message feed
|
||||
|
||||
You 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}
|
||||
|
||||
|
||||
@@ -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> {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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 not
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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",
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user