Add bot schedules (routines), open Activity, add Help and a Desktop computer view
Bots create, list, update and delete schedules (cron_jobs, Bun.cron in UTC); a per-minute cron queues due runs as tasks. Routines, Activity (super admins) and Help get their own rail aside. Help covers familiar problems, starting with signing in to Google through Cookie-Editor over the new Desktop (noVNC) view. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import Markdown from "react-markdown";
|
||||
import remarkGfm from "remark-gfm";
|
||||
import Stack from "@moduletrace/twui/layout/Stack";
|
||||
import { MessageMarkdownComponents } from "@/src/pages/admin/bots/[bot_id]/(data)/message-markdown-components";
|
||||
import SettingsGroup from "@/src/pages/admin/settings/(partials)/settings-group";
|
||||
import type { HelpTopic } from "../(data)/help-topics";
|
||||
|
||||
/**
|
||||
* One help topic: the problem and when you'd see it on the left, the
|
||||
* answer (markdown, rendered like a bot message) on the right. Its id is
|
||||
* the anchor bots and other pages link to.
|
||||
*/
|
||||
export default function HelpTopicGroup({ id, title, summary, body }: HelpTopic) {
|
||||
return (
|
||||
<SettingsGroup id={id} title={title} description={summary}>
|
||||
<Stack className="gap-3! items-stretch min-w-0">
|
||||
<Markdown remarkPlugins={[remarkGfm]} components={MessageMarkdownComponents}>
|
||||
{body}
|
||||
</Markdown>
|
||||
</Stack>
|
||||
</SettingsGroup>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user