Skip to content

Commit 28717f1

Browse files
committed
feat(ui-rewrite): align home mini-card icons with the sidebar nav
Use the same icons the sidebar uses for each source: MCPIcon for MCP, AgentIcon for A2A, and Unplug for gRPC (REST/System already matched). Matches the Figma per-state icons. Signed-off-by: a-effort <anna.effort@ibm.com>
1 parent 33582b4 commit 28717f1

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

client/src/components/dashboard/homeStates.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@
1212
* omits the param. See `readActiveView()`.
1313
*/
1414

15-
import { Activity, Blocks, Bot, Code, List, Server } from "lucide-react";
15+
import { Activity, Code, List, Unplug } from "lucide-react";
1616
import type { ComponentType } from "react";
1717

18+
import { AgentIcon } from "@/components/icons/AgentIcon";
19+
import { MCPIcon } from "@/components/icons/MCPIcon";
20+
1821
// ---------------------------------------------------------------------------
1922
// View ids
2023
// ---------------------------------------------------------------------------
@@ -69,10 +72,10 @@ export const MINI_CARDS: Record<MiniCardId, MiniCardMeta> = {
6972
view: "activity",
7073
icon: List,
7174
},
72-
mcp: { id: "mcp", labelId: "dashboard.home.card.mcp", view: "mcp", icon: Server },
73-
a2a: { id: "a2a", labelId: "dashboard.home.card.a2a", view: "a2a", icon: Bot },
75+
mcp: { id: "mcp", labelId: "dashboard.home.card.mcp", view: "mcp", icon: MCPIcon },
76+
a2a: { id: "a2a", labelId: "dashboard.home.card.a2a", view: "a2a", icon: AgentIcon },
7477
rest: { id: "rest", labelId: "dashboard.home.card.rest", view: "rest", icon: Code },
75-
grpc: { id: "grpc", labelId: "dashboard.home.card.grpc", view: "grpc", icon: Blocks },
78+
grpc: { id: "grpc", labelId: "dashboard.home.card.grpc", view: "grpc", icon: Unplug },
7679
};
7780

7881
// ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)