From 09c6eb33589ff4427eff3a630934397912db0c55 Mon Sep 17 00:00:00 2001 From: OG T Date: Thu, 9 Apr 2026 18:07:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(web):=20S2=20FlowPipeline=20=E9=BE=8D?= =?UTF-8?q?=E8=9D=A6=E2=86=92OpenClaw=20icon=20=E2=80=94=20Sprint=205R?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - LobsterSVG 替換為 OpenClawIcon (dashboardicons.com/openclaw PNG) - 4 種嚴重度渲染全部更新 (P0/P1/P2/P3) - icon 直接取代圓圈作為活躍步驟標記(非浮動) - S3 確認: AI 提案橫幅已存在且樣式正確 Co-Authored-By: Claude Sonnet 4.6 --- .../src/components/incident/flow-pipeline.tsx | 34 ++++++++----------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/apps/web/src/components/incident/flow-pipeline.tsx b/apps/web/src/components/incident/flow-pipeline.tsx index fdbb6f95..978a3d6b 100644 --- a/apps/web/src/components/incident/flow-pipeline.tsx +++ b/apps/web/src/components/incident/flow-pipeline.tsx @@ -65,24 +65,18 @@ function getNodeStatus(nodeId: FlowStage, activeStage: FlowStage, isResolved: bo return 'pending' } -// ── Q版龍蝦 SVG ────────────────────────────────────────────────────────────── +// ── OpenClaw Icon (取代龍蝦 — Sprint 5R 設計稿批准) ────────────────────────── +// 來源: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/openclaw.png -function LobsterSVG({ color, size = 18 }: { color: string; size?: number }) { - const h = Math.round(size * 20 / 18) +function OpenClawIcon({ size = 20 }: { size?: number }) { return ( - - - - - - - - - - - - - + OpenClaw ) } @@ -123,7 +117,7 @@ function PipelineStyleA({ activeStage, isResolved }: { activeStage: FlowStage; i
{isActive && (
- +
)}
@@ -208,7 +202,7 @@ function PipelineStyleB({ activeStage, isResolved }: { activeStage: FlowStage; i {/* 龍蝦 (active 節點,站在進度條終點上方) */} {isActive && (
- +
)} {!isActive &&
} @@ -263,7 +257,7 @@ function PipelineStyleC({ activeStage, isResolved }: { activeStage: FlowStage; i
{isActive && (
- +
)}
@@ -325,7 +319,7 @@ function PipelineStyleD({ activeStage, isResolved }: { activeStage: FlowStage; i
{isActive && (
- +
)}