From 930909c1b266b3133ce3bdfd7ddbc7a73f30d95f Mon Sep 17 00:00:00 2001 From: David Rosa Date: Thu, 20 Jul 2023 19:57:01 -0500 Subject: [PATCH] help: Offer links to "All messages" for logged in users. - Replaces instructions for opening all messages with `{relative|message|all}`. --- help/include/all-messages.md | 3 +-- zerver/lib/markdown/help_relative_links.py | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/help/include/all-messages.md b/help/include/all-messages.md index ababe1c60c..4467f4727a 100644 --- a/help/include/all-messages.md +++ b/help/include/all-messages.md @@ -9,8 +9,7 @@ view](/help/configure-default-view#configure-default-view) for the Zulip web app {tab|desktop-web} -1. Open **All messages** from the left sidebar or with the - A keyboard shortcut. +{relative|message|all} {tab|mobile} diff --git a/zerver/lib/markdown/help_relative_links.py b/zerver/lib/markdown/help_relative_links.py index 72d28c1db5..12d2166136 100644 --- a/zerver/lib/markdown/help_relative_links.py +++ b/zerver/lib/markdown/help_relative_links.py @@ -80,10 +80,16 @@ recent_instructions = """ sidebar. """ +all_instructions = """ +1. Click on **All messages** in the left + sidebar or use the A keyboard shortcut. +""" + 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], }