diff --git a/apps/web/src/components/ai/openclaw-panel.tsx b/apps/web/src/components/ai/openclaw-panel.tsx index 3531e40e..62073dbc 100644 --- a/apps/web/src/components/ai/openclaw-panel.tsx +++ b/apps/web/src/components/ai/openclaw-panel.tsx @@ -182,13 +182,8 @@ export function OpenClawPanel({ return (
- {/* 頂邊條 3px */} -
+ {/* 頂邊條 4px */} +
{/* 標頭列:嚴重度 + 服務標籤 + 時間 */} -
+
{sevCfg.label} {serviceName} - + {duration}
{/* 事件標題 — 從 decision action 或 affected_services 組合 */} -
+
{incident.decision?.proposal_data?.action ?? (incident.affected_services?.length ? `${incident.affected_services.join(', ')} ${t('anomaly')}` @@ -320,7 +321,7 @@ export function IncidentCard({ incident, decision, onApprovalChange }: IncidentC
{/* INC-ID */} -
+
{incident.incident_id}
@@ -329,22 +330,20 @@ export function IncidentCard({ incident, decision, onApprovalChange }: IncidentC {/* Impact 指標列 */}
- + {t('affectedServices')} {incident.affected_services?.length ?? 0} - + {t('signalCount')} {incident.signal_count ?? '--'} - + {t('statusLabel')} {incident.status}
@@ -355,26 +354,24 @@ export function IncidentCard({ incident, decision, onApprovalChange }: IncidentC {aiExpanded && (
+
{renderApproveButtons()} {errorMessage && (