From 7cbc321704b8daf1d8fd2e239c644cdec21fc606 Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Sat, 26 Jul 2025 17:09:41 +0200 Subject: [PATCH] help: Remove "Reading direct messages" article. In #27186, we updated the help center documentation on reading conversations and removed the article from the left sidebar. Removes remaining links to the article in "Printing messages" and adds a redirect to go to the main article on "Direct messages". --- help/printing-messages.md | 5 ++--- help/reading-dms.md | 36 ------------------------------------ zerver/lib/url_redirects.py | 3 ++- 3 files changed, 4 insertions(+), 40 deletions(-) delete mode 100644 help/reading-dms.md diff --git a/help/printing-messages.md b/help/printing-messages.md index 6b704c1dd1..a05486ecca 100644 --- a/help/printing-messages.md +++ b/help/printing-messages.md @@ -1,8 +1,8 @@ # Printing messages Zulip lets you print the messages in any view, including -[conversations](/help/reading-conversations), [direct message -conversations](/help/reading-dms), and [searches](/help/search-for-messages). +[conversations](/help/reading-conversations) and +[searches](/help/search-for-messages). Printouts include just the content you need, without sidebars and buttons. Messages will be printed with black text on a white background, regardless of @@ -30,6 +30,5 @@ whether you're using [light or dark theme](/help/dark-theme). ## Related articles * [Reading conversations](/help/reading-conversations) -* [Reading direct messages (DMs)](/help/reading-dms) * [Dark theme](/help/dark-theme) * [Supported browsers](/help/supported-browsers) diff --git a/help/reading-dms.md b/help/reading-dms.md deleted file mode 100644 index 05a850c113..0000000000 --- a/help/reading-dms.md +++ /dev/null @@ -1,36 +0,0 @@ -# Reading direct messages (DMs) - -{start_tabs} - -1. If the **Direct messages** section in the left sidebar is collapsed, click - on it to expand it. - -1. Click on a conversation under **Direct messages**. - -1. Read the conversation, scrolling down with the mouse or by pressing - PgDn. - -1. If the conversation 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** - () button or the End shortcut. - -1. Click on the next conversation in the left sidebar, or use the - P key to go to the next unread conversation. - -1. To view all your direct message conversations, click the **more - conversations** link at the bottom of the **Direct messages** section. - -!!! tip "" - - You can also find recent DMs in the [**Recent - conversations**](/help/recent-conversations) tab by selecting the **Include DMs** option. - -{end_tabs} - -## Related articles - -* [Getting started with Zulip](/help/getting-started-with-zulip) -* [Reading conversations](/help/reading-conversations) -* [Finding a conversations to read](/help/finding-a-conversation-to-read) -* [Reading strategies](/help/reading-strategies) diff --git a/zerver/lib/url_redirects.py b/zerver/lib/url_redirects.py index b4a4a1c62a..83e84248b8 100644 --- a/zerver/lib/url_redirects.py +++ b/zerver/lib/url_redirects.py @@ -22,7 +22,7 @@ HELP_DOCUMENTATION_REDIRECTS: list[URLRedirect] = [ # Add URL redirects for help center documentation here: URLRedirect("/help/pm-mention-alert-notifications", "/help/dm-mention-alert-notifications"), URLRedirect("/help/restrict-private-messages", "/help/restrict-direct-messages"), - URLRedirect("/help/reading-pms", "/help/reading-dms"), + URLRedirect("/help/reading-pms", "/help/direct-messages"), URLRedirect("/help/private-messages", "/help/direct-messages"), URLRedirect("/help/configure-who-can-edit-topics", "/help/restrict-moving-messages"), URLRedirect( @@ -128,6 +128,7 @@ HELP_DOCUMENTATION_REDIRECTS: list[URLRedirect] = [ URLRedirect("/help/add-or-remove-users-from-a-channel", "/help/subscribe-users-to-a-channel"), URLRedirect("/help/disable-message-edit-history", "/help/restrict-message-edit-history-access"), URLRedirect("/help/edit-a-bot", "/help/manage-a-bot"), + URLRedirect("/help/reading-dms", "/help/direct-messages"), ] LANDING_PAGE_REDIRECTS = [