Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help: Add mobile instructions to "Share and upload files".
David Rosa122bd3fcc1ce
diff --git a/help/share-and-upload-files.md b/help/share-and-upload-files.mdindex 8675a5c5f9f..5c91e0cb5b9 100644--- a/help/share-and-upload-files.md+++ b/help/share-and-upload-files.md@@ -23,6 +23,11 @@ and you can click on a thumbnail to [view the full image](/help/view-and-browse-1. _(optional)_ Modify the link text as desired.+!!! tip ""++ You can [preview the message](/help/preview-your-message-before-sending)+ before sending to see what your uploaded files will look like.+{tab|via-compose-box-buttons}{!start-composing.md!}@@ -35,13 +40,53 @@ and you can click on a thumbnail to [view the full image](/help/view-and-browse-1. _(optional)_ Modify the link text as desired.-{end_tabs}-!!! tip ""You can [preview the message](/help/preview-your-message-before-sending)before sending to see what your uploaded files will look like.+{tab|mobile}++1. Navigate to a stream, topic, or direct message view.++1. Tap the+ **paperclip** (<img src="/static/images/help/mobile-paperclip-icon.svg" alt="paperclip" class="mobile-icon"/>),+ **image** (<img src="/static/images/help/mobile-image-icon.svg" alt="image" class="mobile-icon"/>),+ or **camera** (<img src="/static/images/help/mobile-camera-icon.svg" alt="camera" class="mobile-icon"/>)+ button at the bottom of the app to select one or more files. Zulip will+ upload the files, and insert named links using+ [Markdown formatting](/help/format-your-message-using-markdown#links):+ `[Link text](URL)`.++1. _(optional)_ Modify the link text as desired.++{end_tabs}++!!! tip ""++ The link text will default to the name of the uploaded file.++## Sharing files++You can share files from other apps on Zulip.++{start_tabs}++{tab|android}++1. Select one or more files and tap the **Zulip**+ (<img src="/static/images/logo/zulip-icon-circle.svg" alt="logo" class="mobile-icon"/>)+ logo.++1. Select a stream name and topic name, or tap the+ **Direct message** tab and **Choose recipients**.++1. _(optional)_ Write a message.++1. Tap the **Send** button.++{end_tabs}+## Named file example### What you typediff --git a/static/images/help/mobile-camera-icon.svg b/static/images/help/mobile-camera-icon.svgnew file mode 100644index 00000000000..cf6d471ff5c--- /dev/null+++ b/static/images/help/mobile-camera-icon.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#6492fd" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-camera">+ <path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path>+ <circle cx="12" cy="13" r="4"></circle>+</svg>diff --git a/static/images/help/mobile-image-icon.svg b/static/images/help/mobile-image-icon.svgnew file mode 100644index 00000000000..67d893780ab--- /dev/null+++ b/static/images/help/mobile-image-icon.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#6492fd" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-image">+ <rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>+ <circle cx="8.5" cy="8.5" r="1.5"></circle>+ <polyline points="21 15 16 10 5 21"></polyline>+</svg>diff --git a/static/images/help/mobile-paperclip-icon.svg b/static/images/help/mobile-paperclip-icon.svgnew file mode 100644index 00000000000..3282441eaad--- /dev/null+++ b/static/images/help/mobile-paperclip-icon.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#6492fd" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-paperclip">+ <path d="M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"></path>+</svg>