Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help: Document Inbox view.
David Rosa69b8dbeb286d
diff --git a/help/configure-default-new-user-settings.md b/help/configure-default-new-user-settings.mdindex 1e29c0be849..dce9dadef66 100644--- a/help/configure-default-new-user-settings.md+++ b/help/configure-default-new-user-settings.md@@ -16,7 +16,9 @@ preference settings, including the following:* [Displaying availability to other users](/help/status-and-availability)* [Allowing others to see when the user has read messages](/help/read-receipts)* Preferences, including:- * Default view ([Recent conversations](/help/recent-conversations) vs.+ * [Default view](/help/configure-default-view)+ ([Inbox](/help/inbox) vs.+ [Recent conversations](/help/recent-conversations) vs.[All messages](/help/reading-strategies#all-messages))* [Light theme vs. dark theme](/help/dark-theme)* [Emoji theme](/help/emoji-and-emoticons#change-your-emoji-set)diff --git a/help/configure-default-view.md b/help/configure-default-view.mdindex 0ffd074eb0c..f047381ce5c 100644--- a/help/configure-default-view.md+++ b/help/configure-default-view.md@@ -5,7 +5,8 @@ to the Zulip web app. You can also navigate to the default view viakeyboard shortcuts.The default views available in Zulip are-[Recent conversations](/help/recent-conversations) and+[**Inbox**](/help/inbox),+[Recent conversations](/help/recent-conversations), and[All messages](/help/all-messages). See[Reading strategies](/help/reading-strategies) for recommendationson how to use these views.@@ -17,12 +18,15 @@ shortcut.## Change default view-Organization administrators can [set the default view for their+Organization administrators can [configure the default view for theirorganization](/help/configure-default-new-user-settings) to-[**Recent conversations**](/help/recent-conversations) or+[**Inbox**](/help/inbox),+[**Recent conversations**](/help/recent-conversations), or[**All messages**](/help/all-messages).-**Recent conversations** is especially recommended for high-traffic-organizations, and is configured by default.+The **Inbox** view works best if you regularly clear all unread messages+in most streams you follow. Otherwise, **Recent conversations**+works well in high-traffic organizations. **All messages** is convenient for+low-traffic organizations, or for skimming messages as they come in.You can customize your personal default view regardless oforganization settings:@@ -38,11 +42,9 @@ organization settings:shortcut twice to exit the settings and navigate to your default view(<kbd>Ctrl</kbd> + <kbd>[</kbd> or <kbd>Esc</kbd> if enabled).-[configure-esc]: /help/configure-default-view#set-whether-esc-navigates-to-the-default-view-{end_tabs}-## Set whether <kbd>Esc</kbd> navigates to the default view+## Configure whether <kbd>Esc</kbd> navigates to the default viewZulip has a number of [keyboard shortcuts](/help/keyboard-shortcuts)designed to enhance the user experience in the app.diff --git a/help/finding-a-topic-to-read.md b/help/finding-a-topic-to-read.mdindex dc91b4f195f..288e5a01b31 100644--- a/help/finding-a-topic-to-read.md+++ b/help/finding-a-topic-to-read.md@@ -2,6 +2,10 @@Like your email inbox, Zulip works best if you read it topic-by-topic.+## From the Inbox view++{!inbox.md!}+## From Recent conversations{!recent-conversations.md!}diff --git a/help/getting-started-with-zulip.md b/help/getting-started-with-zulip.mdindex 48ef95a674e..eabcabd5227 100644--- a/help/getting-started-with-zulip.md+++ b/help/getting-started-with-zulip.md@@ -22,6 +22,10 @@ Like your email inbox, Zulip works best if you read it topic-by-topic.### Finding a topic to read+#### From the Inbox view++{!inbox.md!}+#### From Recent conversations{!recent-conversations.md!}diff --git a/help/inbox.md b/help/inbox.mdindex d29ae162856..c849584b8f1 100644--- a/help/inbox.md+++ b/help/inbox.md@@ -1,32 +1,47 @@# Inbox-The **Inbox** is the default view in the Zulip mobile app. It's a great way to-get an overview of all the unmuted [conversations](/help/recent-conversations)-where you have unread messages, excluding [inactive-streams](/help/manage-inactive-streams).+{!conversation-definition.md!}-The **Inbox** view shows your unread direct message conversations, followed by-all topics with unread messages, grouped by stream. The list of streams is-sorted alphabetically, with [pinned streams](/help/pin-a-stream) at the top.+{!inbox-intro.md!}++Inbox is a convenient [default view](/help/configure-default-view) if you+regularly clear all unread messages in your subscribed streams.++{!inbox-instructions.md!}++!!! keyboard_tip ""++ The arrow keys and vim navigation keys (<kbd>J</kbd>, <kbd>K</kbd>,+ <kbd>L</kbd>, <kbd>H</kbd>) can be used to move between elements.++## Include muted conversations++In the web app, you can control whether **Inbox** includes muted+conversations.{start_tabs}-{tab|mobile}+{tab|desktop-web}++{relative|message|inbox}-1. Tap the **Inbox**- (<img src="/static/images/help/mobile-inbox-icon.svg" alt="inbox" class="mobile-icon"/>)- tab in the bottom left corner of the app.+1. Toggle **Include muted** next to the filter box at the top.{end_tabs}-!!! tip ""+## Filter conversations++{start_tabs}++{tab|desktop-web}++{relative|message|inbox}++1. Use the **Filter** box at the top to find a conversation.+ You can filter by stream, topic, or direct message participants.++{end_tabs}- You can collapse or expand the list of topics in a stream by tapping the- **collapse**- (<img src="/static/images/help/mobile-expand-less-icon.svg" alt="inbox" class="mobile-icon"/>)- or **expand**- (<img src="/static/images/help/mobile-expand-more-icon.svg" alt="inbox" class="mobile-icon"/>)- icon to the left of a stream name.## Related articlesdiff --git a/help/include/configure-topic-notifications.md b/help/include/configure-topic-notifications.mdindex cabbeb3c164..0aa8372d955 100644--- a/help/include/configure-topic-notifications.md+++ b/help/include/configure-topic-notifications.md@@ -9,7 +9,8 @@!!! tip ""You can also configure notifications by clicking the topic notifications status- icon in the message recipient bar or in **Recent conversations**.+ icon in the message recipient bar, in the **Inbox view**, or in+ **Recent conversations**.{tab|mobile}diff --git a/help/include/inbox-instructions.md b/help/include/inbox-instructions.mdnew file mode 100644index 00000000000..b09c05c6768--- /dev/null+++ b/help/include/inbox-instructions.md@@ -0,0 +1,37 @@+{start_tabs}++{tab|desktop-web}++{relative|message|inbox}++1. Click on a conversation you're interested in to view it. You can return to+ **Inbox** when done to select the next conversation.++!!! tip ""++ You can collapse or expand the list of topics in a stream by clicking the+ **collapse**+ (<i class="zulip-icon zulip-icon-arrow-down"></i>)+ or **expand**+ (<i class="zulip-icon zulip-icon-arrow-down icon-collapsed-state"></i>)+ icon to the left of a stream name.++{tab|mobile}++1. Tap the **Inbox**+ (<img src="/static/images/help/mobile-inbox-icon.svg" alt="inbox" class="mobile-icon"/>)+ tab in the bottom left corner of the app.++2. Tap on a conversation you're interested in to view it. You can return to+ **Inbox** when done to select the next conversation.++!!! tip ""++ You can collapse or expand the list of topics in a stream by tapping the+ **collapse**+ (<img src="/static/images/help/mobile-expand-less-icon.svg" alt="inbox" class="mobile-icon"/>)+ or **expand**+ (<img src="/static/images/help/mobile-expand-more-icon.svg" alt="inbox" class="mobile-icon"/>)+ icon to the left of a stream name.++{end_tabs}diff --git a/help/include/inbox-intro.md b/help/include/inbox-intro.mdnew file mode 100644index 00000000000..63dea11db10--- /dev/null+++ b/help/include/inbox-intro.md@@ -0,0 +1,3 @@+**Inbox** provides an overview of your conversations with unread messages.+Conversations are shown in the same order as in the left sidebar in the web app,+and you can collapse any streams you are not currently interested in.diff --git a/help/include/reading-topics.md b/help/include/reading-topics.mdindex 5cea959e61b..0104c647358 100644--- a/help/include/reading-topics.md+++ b/help/include/reading-topics.md@@ -1,5 +1,23 @@{start_tabs}+{tab|via-inbox-view}++{relative|message|inbox}++1. Click on the name of a topic.++1. Read the topic, scrolling down with the mouse or by pressing+ <kbd>PgDn</kbd>.++1. If the topic is not of interest, you can+ [mark all messages as read](/help/marking-messages-as-read) by+ jumping to the bottom with the **Scroll to bottom**+ (<i class="fa fa-chevron-down"></i>) button or the <kbd>End</kbd> shortcut.++1. You can then click on another topic in the left sidebar, use the+ <kbd>N</kbd> key to go to the next unread topic, or go back to the+ **Inbox** view.+{tab|via-recent-conversations}{relative|message|recent}diff --git a/help/include/sidebar_index.md b/help/include/sidebar_index.mdindex 95d593c2640..cc85a23d309 100644--- a/help/include/sidebar_index.md+++ b/help/include/sidebar_index.md@@ -93,9 +93,9 @@## Reading messages* [Reading strategies](/help/reading-strategies)+* [Inbox](/help/inbox)* [Recent conversations](/help/recent-conversations)* [All messages](/help/all-messages)-* [Inbox](/help/inbox)* [Message actions](/help/message-actions)* [Marking messages as read](/help/marking-messages-as-read)* [Marking messages as unread](/help/marking-messages-as-unread)diff --git a/help/keyboard-shortcuts.md b/help/keyboard-shortcuts.mdindex 520350e1a5e..512ada8b540 100644--- a/help/keyboard-shortcuts.md+++ b/help/keyboard-shortcuts.md@@ -48,7 +48,7 @@ in the Zulip app to add more to your repertoire as needed.<kbd>Esc</kbd>, [if enabled][disable-escape])until you are in the [default view](/help/configure-default-view).-[disable-escape]: /help/configure-default-view#set-whether-esc-navigates-to-the-default-view+[disable-escape]: /help/configure-default-view#configure-whether-esc-navigates-to-the-default-view## Navigation* **Search messages**: <kbd>/</kbd> or <kbd>Ctrl</kbd> + <kbd>K</kbd>diff --git a/help/marking-messages-as-read.md b/help/marking-messages-as-read.mdindex 61037723237..10378846588 100644--- a/help/marking-messages-as-read.md+++ b/help/marking-messages-as-read.md@@ -71,6 +71,16 @@ stream or topic as read**.jumping to the bottom with the **Scroll to bottom**(<i class="fa fa-chevron-down"></i>) button or the <kbd>End</kbd> shortcut.+{tab|via-inbox-view}++{relative|message|inbox}++1. Hover over a stream or topic in the left sidebar.++1. Click on the **ellipsis** (<i class="zulip-icon zulip-icon-more-vertical"></i>).++1. Click **Mark all messages as read**.+{tab|via-recent-conversations}{relative|message|recent}diff --git a/help/reading-strategies.md b/help/reading-strategies.mdindex 80b5be7e9fa..86e4da76c88 100644--- a/help/reading-strategies.md+++ b/help/reading-strategies.md@@ -15,6 +15,10 @@ topic-by-topic.### Finding a topic to read+#### From the Inbox view++{!inbox.md!}+#### From Recent conversations{!recent-conversations.md!}diff --git a/web/styles/portico/markdown.css b/web/styles/portico/markdown.cssindex 048a2bff3d1..647ec21881d 100644--- a/web/styles/portico/markdown.css+++ b/web/styles/portico/markdown.css@@ -208,6 +208,10 @@vertical-align: middle;}+ & i.icon-collapsed-state {+ transform: rotate(270deg);+ }+@media (width <= 500px) {padding: 10px;}diff --git a/zerver/lib/markdown/help_relative_links.py b/zerver/lib/markdown/help_relative_links.pyindex 2c1c45d55a9..b634a27f3e8 100644--- a/zerver/lib/markdown/help_relative_links.py+++ b/zerver/lib/markdown/help_relative_links.py@@ -109,6 +109,11 @@ direct_instructions = """keyboard shortcut."""+inbox_instructions = """+1. Click on <i class="zulip-icon zulip-icon-inbox"></i> **Inbox** in the left+ sidebar.+"""+message_info = {"drafts": ["Drafts", "/#drafts", draft_instructions],"scheduled": ["Scheduled messages", "/#scheduled", scheduled_instructions],@@ -116,6 +121,7 @@ message_info = {"all": ["All messages", "/#all_messages", all_instructions],"starred": ["Starred messages", "/#narrow/is/starred", starred_instructions],"direct": ["All direct messages", "/#narrow/is/dm", direct_instructions],+ "inbox": ["Inbox", "/#inbox", inbox_instructions],}diff --git a/zerver/lib/markdown/tabbed_sections.py b/zerver/lib/markdown/tabbed_sections.pyindex d598225c38b..932dc3801d8 100644--- a/zerver/lib/markdown/tabbed_sections.py+++ b/zerver/lib/markdown/tabbed_sections.py@@ -73,6 +73,7 @@ TAB_SECTION_LABELS = {"stream": "From a stream view","not-stream": "From other views","via-recent-conversations": "Via recent conversations",+ "via-inbox-view": "Via inbox view","via-left-sidebar": "Via left sidebar","instructions-for-all-platforms": "Instructions for all platforms","public-streams": "Public streams",