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_docs: Extend options for getting links to Zulip content.

Lauryn Menardb67288db672d
diff --git a/templates/zerver/help/link-to-a-message-or-conversation.md b/templates/zerver/help/link-to-a-message-or-conversation.md
index f23cf356043..50e9808abc4 100644
--- a/templates/zerver/help/link-to-a-message-or-conversation.md
+++ b/templates/zerver/help/link-to-a-message-or-conversation.md
@@ -32,35 +32,73 @@ Stream: #**stream name**
Topic: #**stream name>topic name**
```
-## Link to a stream or topic from anywhere
+## Link to Zulip from anywhere
+
+All URLs in Zulip are designed to be shareable.
+Copying the URL from the browser's address bar will work
+for all views, including searches.
+### Get a link to a specific message
+
+This copies to your clipboard a permanent link to the message,
+displayed in its thread (i.e. topic view for messages in a stream).
+Viewing a topic via a message link will never mark messages as read.
+
+These links will still work even when the message is
+[moved to another topic](/help/move-content-to-another-topic)
+or [stream](/help/move-content-to-another-stream) or
+if its [topic is resolved](/help/resolve-a-topic).
+
+Zulip uses the same permanent link syntax when [quoting a
+message](/help/quote-and-reply).
{start_tabs}
-1. Click on a stream or topic in the left sidebar.
+{tab|desktop}
+
+{!message-actions-menu.md!}
+
+1. Click **Copy link to message**.
+
+{tab|via-browser-address-bar}
+
+1. Click on the timestamp of the message.
1. Copy the URL from your browser's address bar.
{end_tabs}
-!!! warn ""
+### Get a link to a specific topic:
- This works for all views, including searches.
- All URLs in Zulip are designed to be shareable.
+{start_tabs}
-## Link to a specific message
+{tab|desktop}
-This will copy to your clipboard a permanent link to the message,
-displayed in its thread (i.e. topic view for messages in a stream).
-Viewing a topic via a message link will never mark messages as read.
+{!topic-actions.md!}
-Zulip uses the same permanent link syntax when [quoting a
-message](/help/quote-and-reply).
+1. Click **Copy link to topic**.
+
+{tab|via-browser-address-bar}
+
+1. Click on a topic in the left sidebar.
+
+1. Copy the URL from your browser's address bar.
+
+{end_tabs}
+### Get a link to a specific stream:
{start_tabs}
-{!message-actions-menu.md!}
+{tab|desktop}
-1. Click **Copy link to message**.
+1. Right-click on the stream in the left sidebar.
+
+1. Click **Copy Link**.
+
+{tab|via-browser-address-bar}
+
+1. Click on a stream in the left sidebar.
+
+1. Copy the URL from your browser's address bar.
{end_tabs}
diff --git a/zerver/lib/markdown/tabbed_sections.py b/zerver/lib/markdown/tabbed_sections.py
index b18f351e385..68b6c325322 100644
--- a/zerver/lib/markdown/tabbed_sections.py
+++ b/zerver/lib/markdown/tabbed_sections.py
@@ -78,6 +78,7 @@ TAB_SECTION_LABELS = {
"private-streams": "Private streams",
"via-user-profile": "Via the user's profile",
"via-organization-settings": "Via organization settings",
+ "via-browser-address-bar": "Via browser's address bar",
}