Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help: Offer links to "Recent conversations" for logged in users.

David Rosaa9a1946819e9
diff --git a/help/include/open-recent-conversations.md b/help/include/open-recent-conversations.md
deleted file mode 100644
index 692e9afd773..00000000000
--- a/help/include/open-recent-conversations.md
+++ /dev/null
@@ -1 +0,0 @@
-1. Click **Recent conversations** in the left sidebar.
diff --git a/help/include/reading-topics.md b/help/include/reading-topics.md
index e2fe22bf741..5cea959e61b 100644
--- a/help/include/reading-topics.md
+++ b/help/include/reading-topics.md
@@ -2,7 +2,7 @@
{tab|via-recent-conversations}
-{!open-recent-conversations.md!}
+{relative|message|recent}
1. Click on the name of a topic in the **Topic** column.
diff --git a/help/include/recent-conversations.md b/help/include/recent-conversations.md
index b8b48cdd93f..f33babd4f2a 100644
--- a/help/include/recent-conversations.md
+++ b/help/include/recent-conversations.md
@@ -6,7 +6,7 @@ for catching up on messages sent while you were away.
{start_tabs}
-{!open-recent-conversations.md!}
+{relative|message|recent}
1. The filters at the top help you quickly find relevant conversations.
For example, select **Participated** to narrow to the topics you
diff --git a/help/marking-messages-as-read.md b/help/marking-messages-as-read.md
index e5e8500e1b1..8926b3865bc 100644
--- a/help/marking-messages-as-read.md
+++ b/help/marking-messages-as-read.md
@@ -73,7 +73,7 @@ stream or topic as read**.
{tab|via-recent-conversations}
-{!open-recent-conversations.md!}
+{relative|message|recent}
1. Click on an unread messages counter in the **Topic** column to mark all
messages in that topic as read.
diff --git a/zerver/lib/markdown/help_relative_links.py b/zerver/lib/markdown/help_relative_links.py
index 6109c89ad1e..72d28c1db5b 100644
--- a/zerver/lib/markdown/help_relative_links.py
+++ b/zerver/lib/markdown/help_relative_links.py
@@ -75,9 +75,15 @@ scheduled_instructions = """
sidebar. If you do not see this link, you have no scheduled messages.
"""
+recent_instructions = """
+1. Click on <i class="fa fa-clock-o"></i> **Recent conversations** in the left
+ sidebar.
+"""
+
message_info = {
"drafts": ["Drafts", "/#drafts", draft_instructions],
"scheduled": ["Scheduled messages", "/#scheduled", scheduled_instructions],
+ "recent": ["Recent conversations", "/#recent", recent_instructions],
}