refactor(web): Panel 抽取全面完成 — 三個整合頁面解決雙重 AppLayout
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled

/observability: AppsPanel + ServicesPanel (共 5/5 Tab 完成)
/automation: AutoRepairPanel + NeuralCommandPanel + DriftPanel (3/3)
/operations: DeploymentsPanel + TicketsPanel + CostPanel + ActionLogsPanel + BillingPanel (5/5)

原始頁面全部精簡為 AppLayout + Panel,零雙重 Layout。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-04-09 11:06:57 +08:00
parent 7934ade3a6
commit fb66ecd2a0
12 changed files with 53 additions and 2089 deletions

View File

@@ -215,7 +215,7 @@ function IncidentEvalRow({
? <CheckCircle2 className="w-4 h-4 text-status-healthy" />
: <XCircle className="w-4 h-4 text-status-critical" />}
<span className={cn('text-sm font-body font-bold', result.success ? 'text-status-healthy' : 'text-status-critical')}>
{result.success ? t('execSuccess', { ms: result.execution_time_ms }) : t('execFailed', { error: result.error })}
{result.success ? t('execSuccess', { ms: result.execution_time_ms }) : t('execFailed', { error: result.error ?? '' })}
</span>
</div>
{result.executed_steps.length > 0 && (

View File

@@ -2,14 +2,10 @@
* Panel 元件匯出
* Sprint 5: 供整合頁面使用的無 AppLayout 版本
*
* 已抽取:
* - MonitoringPanel (from /monitoring)
*
* 待抽取 (暫時用 lazy import 原始頁面):
* - APMPanel, ErrorsPanel, AppsPanel, ServicesPanel
* - AutoRepairPanel, NeuralCommandPanel, DriftPanel
* - DeploymentsPanel, TicketsPanel, CostPanel, ActionLogsPanel, BillingPanel
* - SecurityPanel, CompliancePanel
* 已抽取 (2026-04-09 全部完成):
* - /observability: MonitoringPanel, ApmPanel, ErrorsPanel, AppsPanel, ServicesPanel
* - /automation: AutoRepairPanel, NeuralCommandPanel, DriftPanel
* - /operations: DeploymentsPanel, TicketsPanel, CostPanel, ActionLogsPanel, BillingPanel
*/
export { MonitoringPanel } from './MonitoringPanel'