Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
chore: slash command in slack agent dashboard page (#2473)
Maximilian Kaskecd552c0712a3
diff --git a/apps/dashboard/src/app/(dashboard)/agents/page.tsx b/apps/dashboard/src/app/(dashboard)/agents/page.tsxindex 89520ea59..1ced6883c 100644--- a/apps/dashboard/src/app/(dashboard)/agents/page.tsx+++ b/apps/dashboard/src/app/(dashboard)/agents/page.tsx@@ -38,6 +38,21 @@ const messages = [},];+const commands = [+ {+ command: "/openstatus subscribe <status-page-url>",+ description: "Subscribe this channel to a status page.",+ },+ {+ command: "/openstatus unsubscribe <status-page-url>",+ description: "Unsubscribe this channel from a status page.",+ },+ {+ command: "/openstatus subscriptions",+ description: "Show this channel's subscriptions.",+ },+];+export default function Page() {const trpc = useTRPC();const { data: workspace } = useQuery(trpc.workspace.get.queryOptions());@@ -91,6 +106,30 @@ export default function Page() {))}</ul></Section>+ <Section>+ <SectionHeader>+ <SectionTitle>Commands</SectionTitle>+ <SectionDescription>+ Slash commands to manage which status pages notify this channel.+ Also useful for Slack Connect channels shared with customers.+ </SectionDescription>+ </SectionHeader>+ <Note size="sm">+ <Info />+ Subscribing also joins the bot to the channel. Private channels+ require /invite @openstatus first.+ </Note>+ <ul className="flex flex-col gap-2">+ {commands.map((command, i) => (+ <li key={i} className="flex flex-col gap-0.5">+ <p className="text-muted-foreground text-xs">+ {command.description}+ </p>+ <Code>{command.command}</Code>+ </li>+ ))}+ </ul>+ </Section></SectionGroup>);}