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 for changes to bots management panel.

Lauryn Menarda886844fbd1d
diff --git a/starlight_help/src/content/docs/add-a-bot-or-integration.mdx b/starlight_help/src/content/docs/add-a-bot-or-integration.mdx
index 2bc2a7d5cfd..5c9cf1189da 100644
--- a/starlight_help/src/content/docs/add-a-bot-or-integration.mdx
+++ b/starlight_help/src/content/docs/add-a-bot-or-integration.mdx
@@ -8,8 +8,6 @@ import FlattenedSteps from "../../components/FlattenedSteps.astro";
import NavigationSteps from "../../components/NavigationSteps.astro";
import ZulipNote from "../../components/ZulipNote.astro";
-import DownloadIcon from "~icons/fa/download";
-
By default, anyone other than guests can add a bot to a Zulip organization.
A bot that sends content to or from another product is often called an
[integration](/help/integrations-overview).
@@ -21,7 +19,7 @@ is visible and available for anyone to use.
## Add a bot or integration
<Tabs>
- <TabItem label="Via personal settings">
+ <TabItem label="Your bots">
<FlattenedSteps>
<NavigationSteps target="settings/your-bots" />
@@ -30,7 +28,7 @@ is visible and available for anyone to use.
</FlattenedSteps>
</TabItem>
- <TabItem label="Via organization settings">
+ <TabItem label="All bots">
<FlattenedSteps>
<NavigationSteps target="settings/bots" />
@@ -48,8 +46,7 @@ is visible and available for anyone to use.
</ZulipNote>
Depending on the type of bot you're creating, you may need to download its
-`zuliprc` configuration file. For that, click the **download**
-(<DownloadIcon />) icon under the bot's name.
+[`zuliprc` configuration file](/help/manage-a-bot#download-zuliprc-configuration-file).
## Related articles
diff --git a/starlight_help/src/content/docs/deactivate-or-reactivate-a-bot.mdx b/starlight_help/src/content/docs/deactivate-or-reactivate-a-bot.mdx
index 931fc6b5cdb..c094fc8b34d 100644
--- a/starlight_help/src/content/docs/deactivate-or-reactivate-a-bot.mdx
+++ b/starlight_help/src/content/docs/deactivate-or-reactivate-a-bot.mdx
@@ -6,7 +6,6 @@ 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 AdminOnly from "../include/_AdminOnly.mdx";
import UserCogIcon from "~icons/zulip-icon/user-cog";
@@ -23,58 +22,52 @@ bot, regardless of who owns them.
## Deactivate a bot
<Tabs>
- <TabItem label="Via personal settings">
+ <TabItem label="Your bots">
<FlattenedSteps>
<NavigationSteps target="settings/your-bots" />
- 1. Click the **deactivate bot** (<UserXIcon />)
- icon on the profile card for the bot you want to deactivate.
+ 1. In the **Actions** column, click the **deactivate bot** (<UserXIcon />)
+ icon for the bot you want to deactivate.
1. Approve by clicking **Deactivate**.
</FlattenedSteps>
-
- <ZulipTip>
- You can also click the **manage bot** (<UserCogIcon />) icon, scroll down to the bottom,
- and click **Deactivate bot**.
- </ZulipTip>
</TabItem>
- <TabItem label="Via organization settings">
+ <TabItem label="All bots">
<AdminOnly />
<FlattenedSteps>
<NavigationSteps target="settings/bots" />
- 1. In the **Actions** column, click the **deactivate bot** (<UserXIcon />) icon for the bot you want to deactivate.
+ 1. In the **Actions** column, click the **deactivate bot** (<UserXIcon />)
+ icon for the bot you want to deactivate.
1. Approve by clicking **Deactivate**.
</FlattenedSteps>
-
- <ZulipTip>
- You can also click the **manage bot** (<UserCogIcon />) icon, scroll down to the bottom,
- and click **Deactivate bot**.
- </ZulipTip>
</TabItem>
</Tabs>
## Reactivate a bot
<Tabs>
- <TabItem label="Via personal settings">
+ <TabItem label="Your bots">
<FlattenedSteps>
<NavigationSteps target="settings/your-bots" />
- 1. Click the **Inactive bots** tab.
- 1. Click **Reactivate bot** on the profile card for the bot you want to reactivate.
+ 1. Select **Deactivated** from the dropdown above the **Bots** table.
+ 1. In the **Actions** column, click the **reactivate bot** (<UserPlusIcon />)
+ icon for the bot you want to reactivate.
1. Approve by clicking **Confirm**.
</FlattenedSteps>
</TabItem>
- <TabItem label="Via organization settings">
+ <TabItem label="All bots">
<AdminOnly />
<FlattenedSteps>
<NavigationSteps target="settings/bots" />
- 1. In the **Actions** column, click the **reactivate bot** (<UserPlusIcon />) icon for the bot you want to reactivate.
+ 1. Select **Deactivated** from the dropdown above the **Bots** table.
+ 1. In the **Actions** column, click the **reactivate bot** (<UserPlusIcon />)
+ icon for the bot you want to reactivate.
1. Approve by clicking **Confirm**.
</FlattenedSteps>
</TabItem>
diff --git a/starlight_help/src/content/docs/generate-integration-url.mdx b/starlight_help/src/content/docs/generate-integration-url.mdx
index da81f9e61a5..4399ae59b8d 100644
--- a/starlight_help/src/content/docs/generate-integration-url.mdx
+++ b/starlight_help/src/content/docs/generate-integration-url.mdx
@@ -6,10 +6,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 AdminOnly from "../include/_AdminOnly.mdx";
-import LinkIcon from "~icons/fa/link";
+import LinkIcon from "~icons/zulip-icon/link-2";
import UserCogIcon from "~icons/zulip-icon/user-cog";
Many [Zulip integrations](/integrations/) are webhooks. An incoming webhook
@@ -20,12 +19,12 @@ where these updates will be posted, you need to generate a special Zulip
integration URL.
<Tabs>
- <TabItem label="Via personal settings">
+ <TabItem label="Your bots">
<FlattenedSteps>
<NavigationSteps target="settings/your-bots" />
- 1. Click the **link** (<LinkIcon />) icon on the profile card of
- an **Incoming webhook** bot.
+ 1. In the **Actions** column, click the **link** (<LinkIcon />) icon for
+ the **Incoming webhook** bot.
1. Select the desired integration from the **Integration** dropdown.
1. *(optional)* Select the destination channel from the
**Where to send notifications** dropdown.
@@ -35,21 +34,16 @@ integration URL.
and select which supported events should trigger notifications.
1. Click **Copy URL** to add the URL to your clipboard.
</FlattenedSteps>
-
- <ZulipTip>
- You can also click the **manage bot** (<UserCogIcon />) icon, scroll down to the bottom, and click
- **Generate URL for an integration**.
- </ZulipTip>
</TabItem>
- <TabItem label="Via organization settings">
+ <TabItem label="All bots">
<AdminOnly />
<FlattenedSteps>
<NavigationSteps target="settings/bots" />
- 1. In the **Actions** column, click the **manage bot** (<UserCogIcon />) icon for an **Incoming webhook** bot.
- 1. Scroll down to the bottom, and click **Generate URL for an integration**.
+ 1. In the **Actions** column, click the **link** (<LinkIcon />) icon for
+ the **Incoming webhook** bot.
1. Select the desired integration from the **Integration** dropdown.
1. *(optional)* Select the destination channel from the
**Where to send notifications** dropdown.
diff --git a/starlight_help/src/content/docs/manage-a-bot.mdx b/starlight_help/src/content/docs/manage-a-bot.mdx
index e4a6ed65cc3..45e02e5c7ae 100644
--- a/starlight_help/src/content/docs/manage-a-bot.mdx
+++ b/starlight_help/src/content/docs/manage-a-bot.mdx
@@ -2,35 +2,110 @@
title: Manage a bot
---
+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 AdminOnly from "../include/_AdminOnly.mdx";
+import CopyIcon from "~icons/zulip-icon/copy";
+import DownloadIcon from "~icons/zulip-icon/download";
+import RefreshIcon from "~icons/zulip-icon/refresh-cw";
import UserCogIcon from "~icons/zulip-icon/user-cog";
Zulip lets you manage the properties of any bot for which you are the owner.
Organization [administrators](/help/user-roles) can also manage any
active bot in the organization.
-## Manage your bot
+## Manage a bot
+
+<Tabs>
+ <TabItem label="Your bots">
+ <FlattenedSteps>
+ <NavigationSteps target="settings/your-bots" />
+
+ 1. In the **Actions** column, click the **manage bot** (<UserCogIcon />)
+ icon for the bot you want to manage.
+ 1. Update bot information as desired, and click **Save changes**.
+ </FlattenedSteps>
+ </TabItem>
+
+ <TabItem label="All bots">
+ <AdminOnly />
+
+ <FlattenedSteps>
+ <NavigationSteps target="settings/bots" />
+
+ 1. In the **Actions** column, click the **manage bot** (<UserCogIcon />)
+ icon for the bot you want to manage.
+ 1. Update bot information as desired, and click **Save changes**.
+ </FlattenedSteps>
+ </TabItem>
+</Tabs>
+
+## Download `zuliprc` configuration file
+
+### Generic bots
+
+<Tabs>
+ <TabItem label="Your bots">
+ <FlattenedSteps>
+ <NavigationSteps target="settings/your-bots" />
+
+ 1. In the **Actions** column, click the **download** (<DownloadIcon />)
+ icon for the bot.
+ </FlattenedSteps>
+ </TabItem>
+
+ <TabItem label="All bots">
+ <AdminOnly />
+
+ <FlattenedSteps>
+ <NavigationSteps target="settings/bots" />
+
+ 1. In the **Actions** column, click the **download** (<DownloadIcon />)
+ icon for the bot.
+ </FlattenedSteps>
+ </TabItem>
+</Tabs>
+
+### Outgoing and incoming webhook bots
+
+Only the owner of an outgoing or incoming webhook bot has access to its `zuliprc`
+configuration file.
<FlattenedSteps>
<NavigationSteps target="settings/your-bots" />
- 1. Click the **manage bot** (<UserCogIcon />)
- icon on the profile card for the bot you want to manage.
- 1. Update bot information as desired, and click **Save changes**.
+ 1. In the **Actions** column, click the **manage bot** (<UserCogIcon />) icon,
+ and scroll down to **Zuliprc configuration**.
+ 1. Click the **download** (<DownloadIcon />) icon to download the configuration
+ file, or click **copy** <CopyIcon /> icon to copy the file contents to your
+ clipboard.
</FlattenedSteps>
-## Manage a bot in your organization
+<ZulipTip>
+ You can also click the **download** (<DownloadIcon />) icon above the **Bots**
+ table to download a single configuration file for all of your active **outgoing
+ webhook** bots.
+</ZulipTip>
+
+## Get a bot's API key
-<AdminOnly />
+Only a bot's owner has access to its API key.
<FlattenedSteps>
- <NavigationSteps target="settings/bots" />
+ <NavigationSteps target="settings/your-bots" />
+
+ 1. In the **Actions** column, click the **manage bot** (<UserCogIcon />) icon,
+ and scroll down to **API key**.
+ 1. Click the **copy** <CopyIcon /> icon to copy the bot's API key to your clipboard.
- 1. In the **Actions** column, click the **manage bot** (<UserCogIcon />) icon for the bot you want to manage.
- 1. Update bot information as desired, and click **Save changes**.
+ <ZulipTip>
+ To generate a new API key, click the **generate new API key** (<RefreshIcon />)
+ icon.
+ </ZulipTip>
</FlattenedSteps>
## Related articles
diff --git a/starlight_help/src/content/docs/view-all-bots-in-your-organization.mdx b/starlight_help/src/content/docs/view-all-bots-in-your-organization.mdx
index f0820cf33ed..c8ffe9d1682 100644
--- a/starlight_help/src/content/docs/view-all-bots-in-your-organization.mdx
+++ b/starlight_help/src/content/docs/view-all-bots-in-your-organization.mdx
@@ -10,7 +10,7 @@ You can view a list of all bots in your organization, including deactivated bots
Organization [administrators](/help/user-roles) can also
[deactivate](/help/deactivate-or-reactivate-a-bot),
[reactivate](/help/deactivate-or-reactivate-a-bot), or
-[manage](/help/manage-a-bot#manage-a-bot-in-your-organization) any bot on the list.
+[manage](/help/manage-a-bot) any bot on the list.
<FlattenedSteps>
<NavigationSteps target="settings/bots" />
diff --git a/starlight_help/src/content/docs/view-your-bots.mdx b/starlight_help/src/content/docs/view-your-bots.mdx
index cc6c6bde4ea..4e255001402 100644
--- a/starlight_help/src/content/docs/view-your-bots.mdx
+++ b/starlight_help/src/content/docs/view-your-bots.mdx
@@ -9,7 +9,7 @@ You can view the bots that you own, including deactivated bots.
You can also [deactivate](/help/deactivate-or-reactivate-a-bot#deactivate-a-bot),
[reactivate](/help/deactivate-or-reactivate-a-bot#reactivate-a-bot), or
-[manage](/help/manage-a-bot#manage-your-bot) any of your bots.
+[manage](/help/manage-a-bot) any of your bots.
<FlattenedSteps>
<NavigationSteps target="settings/your-bots" />