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 outdated user list style instructions in status article.

Lauryn Menard73a16085897f
diff --git a/starlight_help/src/content/docs/status-and-availability.mdx b/starlight_help/src/content/docs/status-and-availability.mdx
index f31ed7707f7..8241a9e1817 100644
--- a/starlight_help/src/content/docs/status-and-availability.mdx
+++ b/starlight_help/src/content/docs/status-and-availability.mdx
@@ -9,6 +9,7 @@ import KeyboardTip from "../../components/KeyboardTip.astro";
import NavigationSteps from "../../components/NavigationSteps.astro";
import ZulipTip from "../../components/ZulipTip.astro";
import ClearStatus from "../include/_ClearStatus.mdx";
+import ConfigureUserListStyle from "../include/_ConfigureUserListStyle.mdx";
import MobileMenu from "../include/_MobileMenu.mdx";
import PersonalMenu from "../include/_PersonalMenu.mdx";
import SelfUserCard from "../include/_SelfUserCard.mdx";
@@ -26,9 +27,9 @@ status might be "📅 In a meeting" or "🏠 Working remotely". To make it easy
notice, the status emoji is shown next to your name in the sidebars, message
feed, and compose box.
-Your **availability** is a colored dot (like <UserCircleActiveIcon />) that indicates if you're currently active on Zulip, idle,
-or offline. You can also [go invisible](#invisible-mode) to appear offline
-to other users.
+Your **availability** is a colored dot (like <UserCircleActiveIcon />) that
+indicates if you're currently active on Zulip, idle, or offline. You can
+also [go invisible](#invisible-mode) to appear offline to other users.
## Statuses
@@ -146,24 +147,15 @@ in the web and desktop apps.
### Configure how statuses are displayed
-You can choose whether or not status text is displayed in the right sidebar.
+You can choose how users and their statuses are displayed in the right sidebar.
With the compact option, only status emoji are shown.
-<Tabs>
- <TabItem label="Desktop/Web">
- <FlattenedSteps>
- <NavigationSteps target="settings/preferences" />
+<ConfigureUserListStyle />
- 1. Under **Information**, select **Compact** or **Show status and text** for the
- user list style.
- </FlattenedSteps>
-
- <ZulipTip>
- You can always hover over a user's name in the right sidebar to view their
- status message if they have one set.
- </ZulipTip>
- </TabItem>
-</Tabs>
+<ZulipTip>
+ You can always hover over a user's name in the right sidebar to view their
+ status message if they have one set.
+</ZulipTip>
## Availability
diff --git a/starlight_help/src/content/docs/user-list.mdx b/starlight_help/src/content/docs/user-list.mdx
index 6e782ab5a00..e7f58f997fa 100644
--- a/starlight_help/src/content/docs/user-list.mdx
+++ b/starlight_help/src/content/docs/user-list.mdx
@@ -7,6 +7,7 @@ import {Steps, TabItem, Tabs} from "@astrojs/starlight/components";
import FlattenedSteps from "../../components/FlattenedSteps.astro";
import KeyboardTip from "../../components/KeyboardTip.astro";
import NavigationSteps from "../../components/NavigationSteps.astro";
+import ConfigureUserListStyle from "../include/_ConfigureUserListStyle.mdx";
import MoreVerticalIcon from "~icons/zulip-icon/more-vertical";
import UserListIcon from "~icons/zulip-icon/user-list";
@@ -39,9 +40,10 @@ user list.
<Tabs>
<TabItem label="Desktop/Web">
<Steps>
- 1. If the user list is hidden, click the **user list** (<UserListIcon />) icon in the upper right to show it.
- 1. Type the name of the user you are looking for in the **Filter users** box at
- the top of the right sidebar.
+ 1. If the user list is hidden, click the **user list** (<UserListIcon />)
+ icon in the upper right to show it.
+ 1. Type the name of the user you are looking for in the **Filter users**
+ box at the top of the right sidebar.
</Steps>
<KeyboardTip>
@@ -53,24 +55,7 @@ user list.
## Configure user list style
-<Tabs>
- <TabItem label="Via right sidebar">
- <Steps>
- 1. If the user list is hidden, click the **user list** (<UserListIcon />) icon in the upper right to show it.
- 1. Click the **ellipsis** (<MoreVerticalIcon />)
- to the right of the **Filter users** box.
- 1. Toggle your preferred option for **User list style**.
- </Steps>
- </TabItem>
-
- <TabItem label="Via personal settings">
- <FlattenedSteps>
- <NavigationSteps target="settings/preferences" />
-
- 1. Under **Information**, toggle your preferred option for **User list style**.
- </FlattenedSteps>
- </TabItem>
-</Tabs>
+<ConfigureUserListStyle />
## Show or hide the user list
diff --git a/starlight_help/src/content/include/_ConfigureUserListStyle.mdx b/starlight_help/src/content/include/_ConfigureUserListStyle.mdx
new file mode 100644
index 00000000000..9aa4c55c39d
--- /dev/null
+++ b/starlight_help/src/content/include/_ConfigureUserListStyle.mdx
@@ -0,0 +1,28 @@
+import {Steps, TabItem, Tabs} from "@astrojs/starlight/components";
+
+import FlattenedSteps from "../../components/FlattenedSteps.astro";
+import NavigationSteps from "../../components/NavigationSteps.astro";
+
+import MoreVerticalIcon from "~icons/zulip-icon/more-vertical";
+import UserListIcon from "~icons/zulip-icon/user-list";
+
+<Tabs>
+ <TabItem label="Via right sidebar">
+ <Steps>
+ 1. If the user list is hidden, click the **user list**
+ (<UserListIcon />) icon in the upper right to show it.
+ 1. Click the **ellipsis** (<MoreVerticalIcon />)
+ to the right of the **Filter users** box.
+ 1. Toggle your preferred option for **User list style**.
+ </Steps>
+ </TabItem>
+
+ <TabItem label="Via personal settings">
+ <FlattenedSteps>
+ <NavigationSteps target="settings/preferences" />
+
+ 1. Under **Information**, toggle your preferred option for
+ **User list style**.
+ </FlattenedSteps>
+ </TabItem>
+</Tabs>