Add dashboard UI source and track it in the repository.
Expose the Vite/React website source under dashboard/ (with node_modules still ignored) so the full dashboard can be built and maintained from this repo.
This commit is contained in:
1 parent
e97e281bda
commit
b82f69783d
117 files changed
+18615
-3
No files matched your search
@@ -0,0 +1,88 @@
|
||||
import type { IconSvgElement } from "@hugeicons/react";
|
||||
import {
|
||||
AiBrain01Icon,
|
||||
CommandIcon,
|
||||
File02Icon,
|
||||
Message01Icon,
|
||||
Settings02Icon,
|
||||
Ticket01Icon,
|
||||
} from "@hugeicons/core-free-icons";
|
||||
|
||||
export type PluginCategory =
|
||||
| "all"
|
||||
| "tickets"
|
||||
| "community"
|
||||
| "server";
|
||||
|
||||
export interface PluginModule {
|
||||
id: string;
|
||||
title: string;
|
||||
description: string;
|
||||
icon: IconSvgElement;
|
||||
href: string;
|
||||
category: PluginCategory;
|
||||
}
|
||||
|
||||
export const plugins: PluginModule[] = [
|
||||
{
|
||||
id: "tickets",
|
||||
title: "Ticket system",
|
||||
description:
|
||||
"Create and manage support tickets with departments, priorities, and AI assistance.",
|
||||
icon: Ticket01Icon,
|
||||
href: "/configs?file=ticket-panel",
|
||||
category: "tickets",
|
||||
},
|
||||
{
|
||||
id: "supportbot",
|
||||
title: "Core bot settings",
|
||||
description:
|
||||
"General bot options, activity status, embed colours, roles, and welcome messages.",
|
||||
icon: Settings02Icon,
|
||||
href: "/configs?file=supportbot",
|
||||
category: "server",
|
||||
},
|
||||
{
|
||||
id: "transcripts",
|
||||
title: "Ticket transcripts",
|
||||
description:
|
||||
"Browse and preview HTML transcripts saved when tickets are closed.",
|
||||
icon: File02Icon,
|
||||
href: "/transcripts",
|
||||
category: "tickets",
|
||||
},
|
||||
{
|
||||
id: "suggestions",
|
||||
title: "Suggestions",
|
||||
description:
|
||||
"Configure suggestion channels, voting emojis, and forum thread behaviour.",
|
||||
icon: Message01Icon,
|
||||
href: "/configs?file=messages",
|
||||
category: "community",
|
||||
},
|
||||
{
|
||||
id: "ai",
|
||||
title: "AI assistant",
|
||||
description:
|
||||
"SupportBot AI mode settings for in-ticket conversational help.",
|
||||
icon: AiBrain01Icon,
|
||||
href: "/configs?file=supportbot-ai",
|
||||
category: "community",
|
||||
},
|
||||
{
|
||||
id: "commands",
|
||||
title: "Commands",
|
||||
description:
|
||||
"Enable or disable slash commands and customise command permissions.",
|
||||
icon: CommandIcon,
|
||||
href: "/configs?file=commands",
|
||||
category: "server",
|
||||
},
|
||||
];
|
||||
|
||||
export const pluginTabs: { id: PluginCategory | "all"; label: string }[] = [
|
||||
{ id: "all", label: "All modules" },
|
||||
{ id: "tickets", label: "Tickets" },
|
||||
{ id: "community", label: "Community" },
|
||||
{ id: "server", label: "Server" },
|
||||
];
|
||||
Reference in new issue
Block a user