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: Fix find direct message conversation tabbed sections.

Lauryn Menard6a81aba20e04
diff --git a/starlight_help/src/content/docs/direct-messages.mdx b/starlight_help/src/content/docs/direct-messages.mdx
index ae3bf7a4b8a..fad8a0b2fe5 100644
--- a/starlight_help/src/content/docs/direct-messages.mdx
+++ b/starlight_help/src/content/docs/direct-messages.mdx
@@ -10,6 +10,7 @@ import ZulipTip from "../../components/ZulipTip.astro";
import DmFeedInstructions from "./include/_DmFeedInstructions.mdx";
import FindDmConversationLeftSidebar from "./include/_FindDmConversationLeftSidebar.mdx";
import MobileDirectMessages from "./include/_MobileDirectMessages.mdx";
+import SearchNoteForDmConversations from "./include/_SearchNoteForDmConversations.mdx";
import SendDm from "./include/_SendDm.mdx";
import ViewDmsLeftSidebar from "./include/_ViewDmsLeftSidebar.mdx";
@@ -85,6 +86,8 @@ There are a few different ways to view your DM conversations.
<Tabs>
<TabItem label="Via left sidebar">
+ <SearchNoteForDmConversations />
+
<FindDmConversationLeftSidebar />
</TabItem>
diff --git a/starlight_help/src/content/docs/include/_FindDmConversationLeftSidebar.mdx b/starlight_help/src/content/docs/include/_FindDmConversationLeftSidebar.mdx
index a9c523f2fae..bda69934682 100644
--- a/starlight_help/src/content/docs/include/_FindDmConversationLeftSidebar.mdx
+++ b/starlight_help/src/content/docs/include/_FindDmConversationLeftSidebar.mdx
@@ -1,20 +1,13 @@
-import {Steps, TabItem, Tabs} from "@astrojs/starlight/components";
+import {Steps} from "@astrojs/starlight/components";
import KeyboardTip from "../../../components/KeyboardTip.astro";
-DM conversations hidden under **more conversations** will be included in your
-search.
+<Steps>
+ 1. Type the name of a participant in the conversation you're looking for in the
+ **Filter left sidebar** box at the top of the left sidebar.
+</Steps>
-<Tabs>
- <TabItem label="Desktop/Web">
- <Steps>
- 1. Type the name of a participant in the conversation you're looking for in the
- **Filter left sidebar** box at the top of the left sidebar.
- </Steps>
-
- <KeyboardTip>
- You can also use the <kbd>Q</kbd> keyboard shortcut to start searching for
- a conversation.
- </KeyboardTip>
- </TabItem>
-</Tabs>
+<KeyboardTip>
+ You can also use the <kbd>Q</kbd> keyboard shortcut to start searching for
+ a conversation.
+</KeyboardTip>
diff --git a/starlight_help/src/content/docs/include/_SearchNoteForDmConversations.mdx b/starlight_help/src/content/docs/include/_SearchNoteForDmConversations.mdx
new file mode 100644
index 00000000000..63abc81fc50
--- /dev/null
+++ b/starlight_help/src/content/docs/include/_SearchNoteForDmConversations.mdx
@@ -0,0 +1,2 @@
+DM conversations hidden under **more conversations** will be included in your
+search.
diff --git a/starlight_help/src/content/docs/left-sidebar.mdx b/starlight_help/src/content/docs/left-sidebar.mdx
index e3a5d226e24..500a386cb51 100644
--- a/starlight_help/src/content/docs/left-sidebar.mdx
+++ b/starlight_help/src/content/docs/left-sidebar.mdx
@@ -13,6 +13,7 @@ import ConfigureChannelLinks from "./include/_ConfigureChannelLinks.mdx";
import FilterChannels from "./include/_FilterChannels.mdx";
import FilterResolvedLeftSidebar from "./include/_FilterResolvedLeftSidebar.mdx";
import FindDmConversationLeftSidebar from "./include/_FindDmConversationLeftSidebar.mdx";
+import SearchNoteForDmConversations from "./include/_SearchNoteForDmConversations.mdx";
import StartTopicViaLeftSidebar from "./include/_StartTopicViaLeftSidebar.mdx";
import ViewDmsLeftSidebar from "./include/_ViewDmsLeftSidebar.mdx";
@@ -47,7 +48,13 @@ where clicking on channel links in the left sidebar takes you.
## Find a direct message conversation
-<FindDmConversationLeftSidebar />
+<SearchNoteForDmConversations />
+
+<Tabs>
+ <TabItem label="Desktop/Web">
+ <FindDmConversationLeftSidebar />
+ </TabItem>
+</Tabs>
## Find a channel you're subscribed to