From 347c3dce5eb2fc91f0e149b5c88f912e6e003962 Mon Sep 17 00:00:00 2001 From: David Rosa Date: Fri, 4 Aug 2023 23:38:23 -0500 Subject: [PATCH] help: Update "View your starred messages" section. - Adds instructions block and relative link to Starred messages. - Adds "Toggle starred messages counter" subheading. - Adds "Searching for messages" as a related article. --- help/star-a-message.md | 15 ++++++++++++--- zerver/lib/markdown/help_relative_links.py | 6 ++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/help/star-a-message.md b/help/star-a-message.md index cf37a0f4e5..deade7b54f 100644 --- a/help/star-a-message.md +++ b/help/star-a-message.md @@ -31,11 +31,17 @@ tasks you need to go back to or documents you reference often. {end_tabs} - ## View your starred messages -You can view your starred messages by clicking **Starred messages** in the -left sidebar, or by [searching](/help/search-for-messages) for `is:starred`. +{start_tabs} + +{tab|desktop} + +{relative|message|starred} + +{end_tabs} + +## Toggle starred messages counter By default, Zulip displays the number of starred messages in the left sidebar; this allows you to use them as an inbox of messages you'd @@ -45,6 +51,8 @@ can disable that feature. {start_tabs} +{tab|desktop-web} + {settings_tab|preferences} 1. Under **Advanced**, toggle **Show counts for starred messages**. @@ -55,3 +63,4 @@ can disable that feature. * [Marking messages as unread](/help/marking-messages-as-unread) * [Reading strategies](/help/reading-strategies) +* [Searching for messages](/help/search-for-messages) diff --git a/zerver/lib/markdown/help_relative_links.py b/zerver/lib/markdown/help_relative_links.py index 91f3613ac3..af2e078631 100644 --- a/zerver/lib/markdown/help_relative_links.py +++ b/zerver/lib/markdown/help_relative_links.py @@ -96,11 +96,17 @@ all_instructions = """ sidebar or use the A keyboard shortcut. """ +starred_instructions = """ +1. Click on **Starred messages** in the left + sidebar, or by [searching](/help/search-for-messages) for `is:starred`. +""" + message_info = { "drafts": ["Drafts", "/#drafts", draft_instructions], "scheduled": ["Scheduled messages", "/#scheduled", scheduled_instructions], "recent": ["Recent conversations", "/#recent", recent_instructions], "all": ["All messages", "/#all_messages", all_instructions], + "starred": ["Starred messages", "/#narrow/is/starred", starred_instructions], }