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: Update instructions that include SendButtonIcon.

Lauryn Menard0c51606171c0
diff --git a/starlight_help/src/content/docs/collaborative-to-do-lists.mdx b/starlight_help/src/content/docs/collaborative-to-do-lists.mdx
index daaf6d205c6..8c3e9f04765 100644
--- a/starlight_help/src/content/docs/collaborative-to-do-lists.mdx
+++ b/starlight_help/src/content/docs/collaborative-to-do-lists.mdx
@@ -7,6 +7,7 @@ import {Steps, TabItem, Tabs} from "@astrojs/starlight/components";
import FlattenedSteps from "../../components/FlattenedSteps.astro";
import ZulipNote from "../../components/ZulipNote.astro";
import ZulipTip from "../../components/ZulipTip.astro";
+import EndComposing from "../include/_EndComposing.mdx";
import StartComposing from "../include/_StartComposing.mdx";
import ToDoListsExamples from "../include/_ToDoListsExamples.mdx";
import ToDoListsIntro from "../include/_ToDoListsIntro.mdx";
@@ -15,7 +16,6 @@ import CheckIcon from "~icons/fa/check";
import PencilIcon from "~icons/fa/pencil";
import RemoveIcon from "~icons/fa/remove";
import GripVerticalIcon from "~icons/zulip-icon/grip-vertical";
-import SendIcon from "~icons/zulip-icon/send";
import TodoListIcon from "~icons/zulip-icon/todo-list";
import TrashIcon from "~icons/zulip-icon/trash";
@@ -32,9 +32,8 @@ import TrashIcon from "~icons/zulip-icon/trash";
1. Click the **Add to-do list** (<TodoListIcon />) icon at the bottom of the compose box.
1. Fill out todo-list information as desired, and click **Create to-do
list** to insert todo-list formatting.
- 1. Click the **Send** (<SendIcon />)
- button, or use a [keyboard shortcut](/help/configure-send-message-keys)
- to send your message.
+
+ <EndComposing />
</FlattenedSteps>
<ZulipTip>
@@ -53,9 +52,8 @@ import TrashIcon from "~icons/zulip-icon/trash";
1. Type `/todo` followed by a space, and the title of the to-do list.
1. *(optional)* Type each task on a new line, with its description, if
any, after a <kbd>:</kbd> and blank space.
- 1. Click the **Send** (<SendIcon />)
- button, or use a [keyboard shortcut](/help/configure-send-message-keys)
- to send your message.
+
+ <EndComposing />
</FlattenedSteps>
<ZulipTip>
diff --git a/starlight_help/src/content/docs/configure-send-message-keys.mdx b/starlight_help/src/content/docs/configure-send-message-keys.mdx
index 8c2fbce712a..ac494da72ed 100644
--- a/starlight_help/src/content/docs/configure-send-message-keys.mdx
+++ b/starlight_help/src/content/docs/configure-send-message-keys.mdx
@@ -7,11 +7,9 @@ import {TabItem, Tabs} from "@astrojs/starlight/components";
import FlattenedSteps from "../../components/FlattenedSteps.astro";
import NavigationSteps from "../../components/NavigationSteps.astro";
import ZulipTip from "../../components/ZulipTip.astro";
+import ComposeBoxMenu from "../include/_ComposeBoxMenu.mdx";
import StartComposing from "../include/_StartComposing.mdx";
-import MoreVerticalIcon from "~icons/zulip-icon/more-vertical";
-import SendIcon from "~icons/zulip-icon/send";
-
By default, the <kbd>Enter</kbd> key adds a new line to your message,
and <kbd>Ctrl</kbd> + <kbd>Enter</kbd> sends your message.
@@ -31,9 +29,8 @@ Zulip so that the <kbd>Enter</kbd> key sends your message.
<FlattenedSteps>
<StartComposing />
- 1. Click on the **ellipsis** (<MoreVerticalIcon />)
- in the bottom right corner of the compose box, next to the **Send**
- (<SendIcon />) button.
+ <ComposeBoxMenu />
+
1. Toggle your preferred option for **Press ... to send**.
</FlattenedSteps>
</TabItem>
diff --git a/starlight_help/src/content/docs/create-a-poll.mdx b/starlight_help/src/content/docs/create-a-poll.mdx
index cdd87df140b..15edc7287a1 100644
--- a/starlight_help/src/content/docs/create-a-poll.mdx
+++ b/starlight_help/src/content/docs/create-a-poll.mdx
@@ -7,6 +7,7 @@ import {Steps, TabItem, Tabs} from "@astrojs/starlight/components";
import FlattenedSteps from "../../components/FlattenedSteps.astro";
import ZulipNote from "../../components/ZulipNote.astro";
import ZulipTip from "../../components/ZulipTip.astro";
+import EndComposing from "../include/_EndComposing.mdx";
import PollsExamples from "../include/_PollsExamples.mdx";
import PollsIntro from "../include/_PollsIntro.mdx";
import StartComposing from "../include/_StartComposing.mdx";
@@ -16,7 +17,6 @@ import PencilIcon from "~icons/fa/pencil";
import RemoveIcon from "~icons/fa/remove";
import GripVerticalIcon from "~icons/zulip-icon/grip-vertical";
import PollIcon from "~icons/zulip-icon/poll";
-import SendIcon from "~icons/zulip-icon/send";
import TrashIcon from "~icons/zulip-icon/trash";
<PollsIntro />
@@ -33,9 +33,8 @@ import TrashIcon from "~icons/zulip-icon/trash";
the bottom of the compose box.
1. Fill out poll information as desired, and click **Add poll** to insert poll
formatting.
- 1. Click the **Send** (<SendIcon />) button, or
- use a [keyboard shortcut](/help/configure-send-message-keys) to send your
- message.
+
+ <EndComposing />
</FlattenedSteps>
<ZulipTip>
@@ -53,9 +52,8 @@ import TrashIcon from "~icons/zulip-icon/trash";
1. Make sure the compose box is empty.
1. Type `/poll` followed by a space, and the question you want to ask.
1. *(optional)* Type each option on a new line.
- 1. Click the **Send** (<SendIcon />) button, or
- use a [keyboard shortcut](/help/configure-send-message-keys) to send your
- message.
+
+ <EndComposing />
</FlattenedSteps>
<ZulipTip>
diff --git a/starlight_help/src/content/docs/schedule-a-message.mdx b/starlight_help/src/content/docs/schedule-a-message.mdx
index 247ef7a5115..f4b9ad2d9f3 100644
--- a/starlight_help/src/content/docs/schedule-a-message.mdx
+++ b/starlight_help/src/content/docs/schedule-a-message.mdx
@@ -7,6 +7,8 @@ import {TabItem, Tabs} from "@astrojs/starlight/components";
import FlattenedSteps from "../../components/FlattenedSteps.astro";
import KeyboardTip from "../../components/KeyboardTip.astro";
import ZulipTip from "../../components/ZulipTip.astro";
+import ComposeBoxMenu from "../include/_ComposeBoxMenu.mdx";
+import EndComposing from "../include/_EndComposing.mdx";
import GoToScheduledMessages from "../include/_GoToScheduledMessages.mdx";
import StartComposing from "../include/_StartComposing.mdx";
@@ -27,8 +29,9 @@ schedule a message for next morning to avoid disturbing others. You can also
<StartComposing />
1. Write a message.
- 1. Click on the **ellipsis** (<MoreVerticalIcon />) next to the **Send**
- (<SendIcon />) button.
+
+ <ComposeBoxMenu />
+
1. Click **Schedule message**.
1. Select one of the suggested scheduling options, or pick a custom time.
</FlattenedSteps>
@@ -49,10 +52,11 @@ schedule a message for next morning to avoid disturbing others. You can also
1. Click on the message you want to edit or reschedule.
1. *(optional)* Edit the message.
- 1. Click the **ellipsis** (<MoreVerticalIcon />) next to the **Send**
- (<SendIcon />) button.
- 1. Select the previously scheduled time, or click **Schedule message** to pick a
- new time.
+
+ <ComposeBoxMenu />
+
+ 1. Select the previously scheduled time, or click **Schedule message**
+ to pick a new time.
</FlattenedSteps>
<ZulipTip>
@@ -71,7 +75,8 @@ schedule a message for next morning to avoid disturbing others. You can also
1. Click on the message you want to send now.
1. *(optional)* Edit the message.
- 1. Click the **Send** (<SendIcon />) button.
+
+ <EndComposing />
</FlattenedSteps>
<KeyboardTip>
@@ -109,9 +114,8 @@ schedule a message for next morning to avoid disturbing others. You can also
<ZulipTip>
You can also view scheduled messages by clicking on the **ellipsis**
- (<MoreVerticalIcon />) next to the **Send**
- (<SendIcon />) button in the compose
- box, and selecting **View scheduled messages**.
+ (<MoreVerticalIcon />) next to the **send** (<SendIcon />) button in
+ the compose box, and selecting **View scheduled messages**.
</ZulipTip>
</TabItem>
</Tabs>
diff --git a/starlight_help/src/content/docs/view-and-edit-your-message-drafts.mdx b/starlight_help/src/content/docs/view-and-edit-your-message-drafts.mdx
index 75138edf53d..a766978d4c7 100644
--- a/starlight_help/src/content/docs/view-and-edit-your-message-drafts.mdx
+++ b/starlight_help/src/content/docs/view-and-edit-your-message-drafts.mdx
@@ -7,12 +7,11 @@ import {TabItem, Tabs} from "@astrojs/starlight/components";
import FlattenedSteps from "../../components/FlattenedSteps.astro";
import KeyboardTip from "../../components/KeyboardTip.astro";
import ZulipNote from "../../components/ZulipNote.astro";
+import ComposeBoxMenu from "../include/_ComposeBoxMenu.mdx";
import GoToDraftMessages from "../include/_GoToDraftMessages.mdx";
import StartComposing from "../include/_StartComposing.mdx";
import CloseIcon from "~icons/zulip-icon/close";
-import MoreVerticalIcon from "~icons/zulip-icon/more-vertical";
-import SendIcon from "~icons/zulip-icon/send";
import TrashIcon from "~icons/zulip-icon/trash";
Zulip automatically saves the content of your message as a draft when you close
@@ -55,9 +54,8 @@ to automatically appears in the compose box.
<FlattenedSteps>
<StartComposing />
- 1. Click on the **ellipsis** (<MoreVerticalIcon />)
- in the bottom right corner of the compose box, next to the **Send**
- (<SendIcon />) button.
+ <ComposeBoxMenu />
+
1. Select **Save draft and start a new message**.
</FlattenedSteps>
</TabItem>
diff --git a/starlight_help/src/content/include/_ComposeAndSendMessage.mdx b/starlight_help/src/content/include/_ComposeAndSendMessage.mdx
index 91ec4a05232..a2f8ef5536a 100644
--- a/starlight_help/src/content/include/_ComposeAndSendMessage.mdx
+++ b/starlight_help/src/content/include/_ComposeAndSendMessage.mdx
@@ -1,8 +1,10 @@
-import SendIcon from "~icons/zulip-icon/send";
+import FlattenedSteps from "../../components/FlattenedSteps.astro";
+import EndComposing from "../include/_EndComposing.mdx";
-1. Click on the compose box, or press <kbd>Tab</kbd> to compose your message. You
- can [preview your message](/help/preview-your-message-before-sending) before
- sending.
-1. Click the **Send** (<SendIcon />) button, or
- use a [keyboard shortcut](/help/configure-send-message-keys) to send your
- message.
+<FlattenedSteps>
+ 1. Click on the compose box, or press <kbd>Tab</kbd> to compose your message. You
+ can [preview your message](/help/preview-your-message-before-sending) before
+ sending.
+
+ <EndComposing />
+</FlattenedSteps>
diff --git a/starlight_help/src/content/include/_ComposeBoxMenu.mdx b/starlight_help/src/content/include/_ComposeBoxMenu.mdx
new file mode 100644
index 00000000000..97f7d4b2c55
--- /dev/null
+++ b/starlight_help/src/content/include/_ComposeBoxMenu.mdx
@@ -0,0 +1,5 @@
+import MoreVerticalIcon from "~icons/zulip-icon/more-vertical";
+import SendIcon from "~icons/zulip-icon/send";
+
+1. Click the **ellipsis** (<MoreVerticalIcon />) next to the
+ **send** (<SendIcon />) button.
diff --git a/starlight_help/src/content/include/_EndComposing.mdx b/starlight_help/src/content/include/_EndComposing.mdx
new file mode 100644
index 00000000000..42dd49fb687
--- /dev/null
+++ b/starlight_help/src/content/include/_EndComposing.mdx
@@ -0,0 +1,4 @@
+import SendIcon from "~icons/zulip-icon/send";
+
+1. Click the **send** (<SendIcon />) button, or use a [keyboard
+ shortcut](/help/configure-send-message-keys) to send your message.
diff --git a/starlight_help/src/content/include/_HowToStartANewTopic.mdx b/starlight_help/src/content/include/_HowToStartANewTopic.mdx
index 0191d8bda01..f3f95ebf431 100644
--- a/starlight_help/src/content/include/_HowToStartANewTopic.mdx
+++ b/starlight_help/src/content/include/_HowToStartANewTopic.mdx
@@ -4,10 +4,9 @@ import FlattenedSteps from "../../components/FlattenedSteps.astro";
import KeyboardTip from "../../components/KeyboardTip.astro";
import ComposeAndSendMessage from "../include/_ComposeAndSendMessage.mdx";
import MobileChannels from "../include/_MobileChannels.mdx";
+import MobileTapSend from "../include/_MobileTapSend.mdx";
import StartTopicViaLeftSidebar from "../include/_StartTopicViaLeftSidebar.mdx";
-import SendIcon from "~icons/zulip-icon/send";
-
<Tabs>
<TabItem label="Via left sidebar">
<FlattenedSteps>
@@ -41,9 +40,8 @@ import SendIcon from "~icons/zulip-icon/send";
1. Tap the compose box at the bottom of the app.
1. Enter a topic name. Auto-complete will provide suggestions for previously
used topics.
- 1. Compose your message, and tap the **send**
- (<SendIcon />) button in the
- bottom right corner of the app.
+
+ <MobileTapSend />
</FlattenedSteps>
</TabItem>
</Tabs>
diff --git a/starlight_help/src/content/include/_MobileTapSend.mdx b/starlight_help/src/content/include/_MobileTapSend.mdx
new file mode 100644
index 00000000000..33280d6eeef
--- /dev/null
+++ b/starlight_help/src/content/include/_MobileTapSend.mdx
@@ -0,0 +1,4 @@
+import SendIcon from "~icons/zulip-icon/send";
+
+1. Compose your message, and tap the **send** (<SendIcon />) button in the
+ bottom right corner of the app.
diff --git a/starlight_help/src/content/include/_ReplyingToMessages.mdx b/starlight_help/src/content/include/_ReplyingToMessages.mdx
index d47c588e37d..7f0d72a96d6 100644
--- a/starlight_help/src/content/include/_ReplyingToMessages.mdx
+++ b/starlight_help/src/content/include/_ReplyingToMessages.mdx
@@ -1,20 +1,20 @@
-import {Steps, TabItem, Tabs} from "@astrojs/starlight/components";
+import {TabItem, Tabs} from "@astrojs/starlight/components";
+import FlattenedSteps from "../../components/FlattenedSteps.astro";
import ZulipTip from "../../components/ZulipTip.astro";
-
-import SendIcon from "~icons/zulip-icon/send";
+import EndComposing from "../include/_EndComposing.mdx";
+import MobileTapSend from "../include/_MobileTapSend.mdx";
<Tabs>
<TabItem label="Desktop/Web">
- <Steps>
+ <FlattenedSteps>
1. Click the **Message...** button at the bottom of the app.
1. Compose your message. You
can [preview your message](/help/preview-your-message-before-sending) before
sending.
- 1. Click the **Send** (<SendIcon />) button, or
- use a [keyboard shortcut](/help/configure-send-message-keys) to send your
- message.
- </Steps>
+
+ <EndComposing />
+ </FlattenedSteps>
<ZulipTip>
You can also reply by clicking on a message, or using the <kbd>R</kbd> or
@@ -23,12 +23,11 @@ import SendIcon from "~icons/zulip-icon/send";
</TabItem>
<TabItem label="Mobile">
- <Steps>
+ <FlattenedSteps>
1. Tap the **Message ...** text in the compose box at the bottom of the app.
- 1. Compose your message, and tap the **Send**
- (<SendIcon />) button in the
- bottom right corner of the app.
- </Steps>
+
+ <MobileTapSend />
+ </FlattenedSteps>
<ZulipTip>
If you're reading messages in a [channel feed](/help/channel-feed),
diff --git a/starlight_help/src/content/include/_SendDm.mdx b/starlight_help/src/content/include/_SendDm.mdx
index b95cec7fcb6..f18a51be8dc 100644
--- a/starlight_help/src/content/include/_SendDm.mdx
+++ b/starlight_help/src/content/include/_SendDm.mdx
@@ -5,8 +5,8 @@ import KeyboardTip from "../../components/KeyboardTip.astro";
import ZulipTip from "../../components/ZulipTip.astro";
import ComposeAndSendMessage from "../include/_ComposeAndSendMessage.mdx";
import MobileDirectMessages from "../include/_MobileDirectMessages.mdx";
+import MobileTapSend from "../include/_MobileTapSend.mdx";
-import SendIcon from "~icons/zulip-icon/send";
import SquarePlusIcon from "~icons/zulip-icon/square-plus";
<Tabs>
@@ -43,9 +43,8 @@ import SquarePlusIcon from "~icons/zulip-icon/square-plus";
select their name from the list of suggestions. You can continue
adding as many message recipients as you like.
1. Approve by tapping the **Compose** button in the top right corner of the app.
- 1. Compose your message, and tap the **Send**
- (<SendIcon />) button in the
- bottom right corner of the app.
+
+ <MobileTapSend />
</FlattenedSteps>
<ZulipTip>