feat: add MCP server configuration management
Integrate MCP server settings into the admin console, including token management, tool permissions, and Coolify build log configuration. Update UI components to support standardized action groups.
This commit is contained in:
1 parent
b2669e2ad5
commit
725d3c5096
30 files changed
+5264
-2729
No files matched your search
@@ -63,16 +63,21 @@ export function SettingsPanel({
|
||||
|
||||
export function SettingsGroup({
|
||||
title,
|
||||
action,
|
||||
children,
|
||||
}: {
|
||||
title: string;
|
||||
action?: React.ReactNode;
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<section className="border-b border-[var(--border)] p-3.5 last:border-b-0">
|
||||
<h2 className="mb-2.5 flex items-center gap-1.5 text-[9.5px] font-medium uppercase tracking-wider text-[var(--text-faint)]">
|
||||
{title}
|
||||
</h2>
|
||||
<div className="mb-2.5 flex flex-wrap items-center justify-between gap-2">
|
||||
<h2 className="flex items-center gap-1.5 text-[9.5px] font-medium uppercase tracking-wider text-[var(--text-faint)]">
|
||||
{title}
|
||||
</h2>
|
||||
{action && <div className="flex items-center gap-1">{action}</div>}
|
||||
</div>
|
||||
<div className="flex flex-col gap-1.5">{children}</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
@@ -18,3 +18,4 @@ Single-source-of-truth UI component library implementing DataStack's compact, ze
|
||||
- `Text.tsx`: Typography helper component for headings, labels, and inline code.
|
||||
- `Icon.tsx`: Dynamic Lucide icon renderer.
|
||||
- `Toast.tsx`: Toast notification provider (`useToast`) for operation feedback.
|
||||
- `SettingsLayout.tsx`: Standardized tabbed settings layout (`SettingsTabs`, `SettingsPanel`, `SettingsGroup` with optional right-aligned header `action`, `SettingsField`, `SettingsFooter`).
|
||||
Reference in new issue
Block a user