@@ -330,79 +330,87 @@ export default function AppConfigDetailPage() {
-
+
{editing ? (
-
+
-
+
{editing ? (
-
+
-
+
{editing ? (
-
+
-
+
{editing ? (
-
+
-
+
{editing ? (
-
+ updateField('metricsEnabled', (e.target as HTMLInputElement).checked)}
+ label={form.metricsEnabled ? 'Enabled' : 'Disabled'}
+ />
) : (
)}
-
+
{editing ? (
- updateField('samplingRate', parseFloat(e.target.value) || 0)} />
) : (
@@ -410,13 +418,13 @@ export default function AppConfigDetailPage() {
)}
-
+
{editing ? (
-
+
updateField('compressSuccess', (e.target as HTMLInputElement).checked)}
+ label={form.compressSuccess ? 'On' : 'Off'}
+ />
) : (
)}
diff --git a/ui/src/pages/AgentHealth/AgentHealth.module.css b/ui/src/pages/AgentHealth/AgentHealth.module.css
index 10479b58..470f32a4 100644
--- a/ui/src/pages/AgentHealth/AgentHealth.module.css
+++ b/ui/src/pages/AgentHealth/AgentHealth.module.css
@@ -58,102 +58,12 @@
color: var(--text-muted);
}
-.configSelect {
- padding: 5px 10px;
- border: 1px solid var(--border-subtle);
- border-radius: var(--radius-sm);
- background: var(--bg-body);
- color: var(--text-primary);
- font-size: 12px;
- font-family: var(--font-mono);
- outline: none;
- cursor: pointer;
-}
-
-.configSelect:focus {
- border-color: var(--amber);
-}
-
-.configSelect:disabled {
- opacity: 0.5;
- cursor: not-allowed;
-}
-
-.configToggle {
- display: flex;
- align-items: center;
- gap: 6px;
- font-size: 12px;
- font-family: var(--font-mono);
- color: var(--text-secondary);
- cursor: pointer;
-}
-
-.configToggle input {
- accent-color: var(--amber);
- cursor: pointer;
-}
-
-.configEditBtn {
- background: transparent;
- border: none;
- color: var(--text-faint);
- opacity: 0.75;
- cursor: pointer;
- font-size: 14px;
- padding: 4px 6px;
- border-radius: var(--radius-sm);
- line-height: 1;
- display: inline-flex;
- align-self: flex-end;
-}
-
-.configEditBtn:hover {
- color: var(--text-primary);
- opacity: 1;
-}
-
.configActions {
display: flex;
gap: 8px;
align-self: flex-end;
}
-.configSaveBtn {
- padding: 4px 12px;
- border: none;
- border-radius: var(--radius-sm);
- background: var(--amber);
- color: var(--bg-surface);
- font-size: 12px;
- font-weight: 600;
- cursor: pointer;
-}
-
-.configSaveBtn:hover {
- background: var(--amber-deep);
-}
-
-.configSaveBtn:disabled {
- opacity: 0.5;
- cursor: not-allowed;
-}
-
-.configCancelBtn {
- padding: 4px 12px;
- border: 1px solid var(--border-subtle);
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- font-size: 12px;
- cursor: pointer;
-}
-
-.configCancelBtn:hover {
- color: var(--text-primary);
- border-color: var(--text-faint);
-}
-
/* Section header */
.sectionTitle {
font-size: 13px;
diff --git a/ui/src/pages/AgentHealth/AgentHealth.tsx b/ui/src/pages/AgentHealth/AgentHealth.tsx
index 3e2d2885..14a40e74 100644
--- a/ui/src/pages/AgentHealth/AgentHealth.tsx
+++ b/ui/src/pages/AgentHealth/AgentHealth.tsx
@@ -4,7 +4,7 @@ import { ExternalLink, RefreshCw, Pencil } from 'lucide-react';
import {
StatCard, StatusDot, Badge, MonoText,
GroupCard, DataTable, EventFeed,
- LogViewer, ButtonGroup, SectionHeader, Toggle, useToast,
+ LogViewer, ButtonGroup, SectionHeader, Toggle, Select, Button, useToast,
} from '@cameleer/design-system';
import type { Column, FeedEvent, LogEntry, ButtonGroupItem } from '@cameleer/design-system';
import styles from './AgentHealth.module.css';
@@ -356,45 +356,53 @@ export default function AgentHealth() {
<>
App Log Level
-
+
Agent Log Level
-
+
Engine Level
-
+
Payload Capture
-
+
Metrics
@@ -402,8 +410,8 @@ export default function AgentHealth() {
onChange={(e) => setConfigDraft(d => ({ ...d, metricsEnabled: (e.target as HTMLInputElement).checked }))} />
-
-
+
+
>
) : (
@@ -445,7 +453,7 @@ export default function AgentHealth() {
Metrics
-
+
>
)}