Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

feat(ui): draw Jarvis's own section icons

rubenluetke10-beepeec8a3554e48
diff --git a/jarvis/ui/web/frontend/src/components/QuickSwitchList.tsx b/jarvis/ui/web/frontend/src/components/QuickSwitchList.tsx
index 7713583c74..44a78a9862 100644
--- a/jarvis/ui/web/frontend/src/components/QuickSwitchList.tsx
+++ b/jarvis/ui/web/frontend/src/components/QuickSwitchList.tsx
@@ -11,14 +11,14 @@
* once per mount, so the callers mount this only while it is shown.
*/
import { Command } from "cmdk";
+import type { LucideIcon } from "lucide-react";
import {
- FolderOpen,
- MessageSquare,
- Mic,
- Settings2,
- SquareTerminal,
- type LucideIcon,
-} from "lucide-react";
+ ChatIcon,
+ FolderIcon,
+ SettingsIcon,
+ TerminalIcon,
+ VoiceIcon,
+} from "@/components/icons/sectionIcons";
import { useEffect, useMemo, useState, type ReactNode } from "react";
import { useT, useUiLanguage } from "@/i18n";
import { useEventStore } from "@/store/events";
@@ -298,7 +298,7 @@ export function QuickSwitchList({
key={`${row.kind}:${row.id}`}
value={`chat:${row.kind}:${row.id}`}
testId={`quick-switch-chat-${row.id}`}
- icon={row.kind === "voice" ? Mic : MessageSquare}
+ icon={row.kind === "voice" ? VoiceIcon : ChatIcon}
label={row.title || t("quick_switch.untitled_chat")}
detail={formatChatWhen(row.updatedMs)}
size={size}
@@ -314,7 +314,7 @@ export function QuickSwitchList({
key={`${pane.workspace_id}:${pane.name}`}
value={`pane:${pane.workspace_id}:${pane.name}`}
testId={`quick-switch-pane-${pane.workspace_id}-${pane.name}`}
- icon={SquareTerminal}
+ icon={TerminalIcon}
label={paneTitle(pane)}
detail={`${pane.key} · ${pane.workspace_name}`}
size={size}
@@ -330,7 +330,7 @@ export function QuickSwitchList({
key={workspace.id}
value={`workspace:${workspace.id}`}
testId={`quick-switch-workspace-${workspace.id}`}
- icon={FolderOpen}
+ icon={FolderIcon}
label={workspace.name}
detail={workspace.branch || folderName(workspace.folder)}
size={size}
@@ -346,7 +346,7 @@ export function QuickSwitchList({
key={match.id}
value={`setting:${match.id}`}
testId={`quick-switch-setting-${match.id}`}
- icon={Settings2}
+ icon={SettingsIcon}
label={match.label}
detail={label("nav.settings", "Settings")}
size={size}
diff --git a/jarvis/ui/web/frontend/src/components/icons/sectionIcons.tsx b/jarvis/ui/web/frontend/src/components/icons/sectionIcons.tsx
new file mode 100644
index 0000000000..94d53f5873
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/components/icons/sectionIcons.tsx
@@ -0,0 +1,430 @@
+/**
+ * Jarvis's own section icons — the glyphs on the sidebar rows, the rail, the
+ * deck and the quick switcher.
+ *
+ * Drawn for this app instead of picked from lucide's catalogue: the stock
+ * picks did not say what the section is (sparkles for a dashboard AND for
+ * skills, a pair of chat bubbles for a coding IDE, loose shapes for
+ * artifacts), and a mixed bag of strokes reads as a template, not a product.
+ *
+ * One drawing system for all of them, so they sit together on one column:
+ * a 24 × 24 grid with the live area inside 3–21, round caps and joins, a
+ * 2.5 corner radius on every box, outlines only (no fills) and one idea per
+ * glyph. Every icon is shaped like a lucide icon (same props, same ref), so
+ * a `NavItem.icon` slot takes it unchanged and `strokeWidth`/`className`
+ * keep working at the call sites.
+ */
+import { forwardRef, type ReactNode } from "react";
+import type { LucideIcon, LucideProps } from "lucide-react";
+
+function defineIcon(name: string, glyph: ReactNode): LucideIcon {
+ const Icon = forwardRef<SVGSVGElement, LucideProps>(function SectionIcon(
+ {
+ size = 24,
+ color = "currentColor",
+ strokeWidth = 1.6,
+ absoluteStrokeWidth,
+ className,
+ children,
+ ...rest
+ },
+ ref,
+ ) {
+ const width =
+ absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth;
+ return (
+ <svg
+ ref={ref}
+ xmlns="http://www.w3.org/2000/svg"
+ width={size}
+ height={size}
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke={color}
+ strokeWidth={width}
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ aria-hidden="true"
+ data-icon={name}
+ className={className}
+ {...rest}
+ >
+ {glyph}
+ {children}
+ </svg>
+ );
+ });
+ Icon.displayName = name;
+ return Icon as unknown as LucideIcon;
+}
+
+// ── Conversation ──────────────────────────────────────────────────────────
+
+/** One speech bubble, tail low on the left. */
+export const ChatIcon = defineIcon(
+ "ChatIcon",
+ <path d="M6.5 4h11A2.5 2.5 0 0 1 20 6.5v8a2.5 2.5 0 0 1-2.5 2.5h-6L7 20.5V17h-.5A2.5 2.5 0 0 1 4 14.5v-8A2.5 2.5 0 0 1 6.5 4Z" />,
+);
+
+/** The speech bubble carrying an exclamation mark: something to report. */
+export const FeedbackIcon = defineIcon(
+ "FeedbackIcon",
+ <>
+ <path d="M6.5 4h11A2.5 2.5 0 0 1 20 6.5v8a2.5 2.5 0 0 1-2.5 2.5h-6L7 20.5V17h-.5A2.5 2.5 0 0 1 4 14.5v-8A2.5 2.5 0 0 1 6.5 4Z" />
+ <path d="M12 7.5v3.5" />
+ <path d="M12 14h.01" />
+ </>,
+);
+
+/** A live waveform: voice as sound, not as hardware. */
+export const VoiceIcon = defineIcon(
+ "VoiceIcon",
+ <>
+ <path d="M4 10.5v3" />
+ <path d="M8 7.5v9" />
+ <path d="M12 4.5v15" />
+ <path d="M16 8.5v7" />
+ <path d="M20 10.5v3" />
+ </>,
+);
+
+/** A studio microphone: recordings and their transcripts. */
+export const MicrophoneIcon = defineIcon(
+ "MicrophoneIcon",
+ <>
+ <rect x="9" y="3.5" width="6" height="10.5" rx="3" />
+ <path d="M5.5 11a6.5 6.5 0 0 0 13 0" />
+ <path d="M12 17.5v3" />
+ </>,
+);
+
+// ── Workspace ─────────────────────────────────────────────────────────────
+
+/** Two people, one in front of the other: a team of agents. */
+export const AgentsIcon = defineIcon(
+ "AgentsIcon",
+ <>
+ <circle cx="9.5" cy="8.5" r="3.5" />
+ <path d="M3.5 19.5a6 6 0 0 1 12 0" />
+ <path d="M15.5 5.3a3.5 3.5 0 0 1 0 6.4" />
+ <path d="M17.5 14.2a6 6 0 0 1 3 5.3" />
+ </>,
+);
+
+/** Three tiles and a fourth turned on its corner: something added on. */
+export const ExtensionsIcon = defineIcon(
+ "ExtensionsIcon",
+ <>
+ <rect x="4" y="4" width="6.5" height="6.5" rx="1.75" />
+ <rect x="4" y="13.5" width="6.5" height="6.5" rx="1.75" />
+ <rect x="13.5" y="13.5" width="6.5" height="6.5" rx="1.75" />
+ <path d="m16.75 3.4 3.35 3.35-3.35 3.35-3.35-3.35Z" />
+ </>,
+);
+
+/** A two-pin plug on its cable. */
+export const PluginIcon = defineIcon(
+ "PluginIcon",
+ <>
+ <path d="M9.5 3.5V7" />
+ <path d="M14.5 3.5V7" />
+ <path d="M6.5 7h11v3.5a5.5 5.5 0 0 1-11 0Z" />
+ <path d="M12 16v4.5" />
+ </>,
+);
+
+/** A bolt: a capability the agent can fire. */
+export const SkillIcon = defineIcon(
+ "SkillIcon",
+ <path d="M13.2 3.5 5.6 13.1a.5.5 0 0 0 .4.8h5.5l-.9 6.6 7.6-9.6a.5.5 0 0 0-.4-.8h-5.5Z" />,
+);
+
+/** Two chain links: a protocol that connects tools to the agent. */
+export const ConnectorIcon = defineIcon(
+ "ConnectorIcon",
+ <>
+ <path d="M10 13.5a4 4 0 0 0 5.66.5l3-3a4 4 0 0 0-5.66-5.66l-1.2 1.2" />
+ <path d="M14 10.5a4 4 0 0 0-5.66-.5l-3 3a4 4 0 0 0 5.66 5.66l1.2-1.2" />
+ </>,
+);
+
+/** A shopping bag: a store to pick from. */
+export const MarketplaceIcon = defineIcon(
+ "MarketplaceIcon",
+ <>
+ <path d="M5.6 8h12.8a1 1 0 0 1 1 1.1l-.9 9.55A1.5 1.5 0 0 1 17 20H7a1.5 1.5 0 0 1-1.5-1.35l-.9-9.55A1 1 0 0 1 5.6 8Z" />
+ <path d="M9 10.5V7a3 3 0 0 1 6 0v3.5" />
+ </>,
+);
+
+/** A clock inside a turning arrow: work that runs again on a schedule. */
+export const AutomationIcon = defineIcon(
+ "AutomationIcon",
+ <>
+ <path d="M20 12a8 8 0 1 1-2.35-5.65" />
+ <path d="M20 4.5v3.75h-3.75" />
+ <path d="M12 8v4l2.5 1.75" />
+ </>,
+);
+
+/** A card on top of a card: the things a run produced. */
+export const ArtifactsIcon = defineIcon(
+ "ArtifactsIcon",
+ <>
+ <rect x="4" y="8" width="12" height="12" rx="2.5" />
+ <path d="M8 5.5A2.5 2.5 0 0 1 10.5 3.5H17A3 3 0 0 1 20 6.5V13a2.5 2.5 0 0 1-2 2.45" />
+ </>,
+);
+
+/** A dashboard layout: four panels of uneven size. */
+export const BoardIcon = defineIcon(
+ "BoardIcon",
+ <>
+ <rect x="4" y="4" width="7" height="9" rx="2" />
+ <rect x="13" y="4" width="7" height="5" rx="2" />
+ <rect x="13" y="11" width="7" height="9" rx="2" />
+ <rect x="4" y="15" width="7" height="5" rx="2" />
+ </>,
+);
+
+/** Linked notes: a small knowledge graph. */
+export const WikiIcon = defineIcon(
+ "WikiIcon",
+ <>
+ <circle cx="6.5" cy="6.5" r="2.5" />
+ <circle cx="17.5" cy="9" r="2.5" />
+ <circle cx="9" cy="17.5" r="2.5" />
+ <path d="M8.95 7.05 15.05 8.45" />
+ <path d="M7.15 8.9 8.35 15.1" />
+ <path d="m15.6 10.65-4.7 5.2" />
+ </>,
+);
+
+/** An open book. */
+export const DocsIcon = defineIcon(
+ "DocsIcon",
+ <>
+ <path d="M12 6.5c-1.6-1.3-3.8-2-6.5-2H4v13.75h1.5c2.7 0 4.9.7 6.5 2 1.6-1.3 3.8-2 6.5-2H20V4.5h-1.5c-2.7 0-4.9.7-6.5 2Z" />
+ <path d="M12 6.5v13.75" />
+ </>,
+);
+
+// ── Tools ─────────────────────────────────────────────────────────────────
+
+/** A pulse trace: what a run did, step by step. */
+export const InspectorIcon = defineIcon(
+ "InspectorIcon",
+ <path d="M3.5 12h3.75l2.5-6.5 4.5 13 2.5-6.5h3.75" />,
+);
+
+/** A terminal window with a prompt. */
+export const TerminalIcon = defineIcon(
+ "TerminalIcon",
+ <>
+ <rect x="3.5" y="4.5" width="17" height="15" rx="2.5" />
+ <path d="m7.5 9.5 2.5 2.5-2.5 2.5" />
+ <path d="M12.5 14.5h4" />
+ </>,
+);
+
+/** Angle brackets around a slash: code being written. */
+export const CodeIcon = defineIcon(
+ "CodeIcon",
+ <>
+ <path d="M8 7.5 3.5 12 8 16.5" />
+ <path d="m16 7.5 4.5 4.5-4.5 4.5" />
+ <path d="m13.5 5-3 14" />
+ </>,
+);
+
+/** A window split into four panes. */
+export const PaneGridIcon = defineIcon(
+ "PaneGridIcon",
+ <>
+ <rect x="3.5" y="4" width="17" height="16" rx="2.5" />
+ <path d="M12 4v16" />
+ <path d="M3.5 12h17" />
+ </>,
+);
+
+/** A lab flask: the place CLIs are put through their paces. */
+export const TestFlaskIcon = defineIcon(
+ "TestFlaskIcon",
+ <>
+ <path d="M9 3.5h6" />
+ <path d="M10 3.5v5.25L5.3 16.9A2.4 2.4 0 0 0 7.4 20.5h9.2a2.4 2.4 0 0 0 2.1-3.6L14 8.75V3.5" />
+ <path d="M7.5 15h9" />
+ </>,
+);
+
+/** A folder. */
+export const FolderIcon = defineIcon(
+ "FolderIcon",
+ <path d="M3.5 7A2.5 2.5 0 0 1 6 4.5h3.2a1.5 1.5 0 0 1 1.1.48L11.8 6.5H18A2.5 2.5 0 0 1 20.5 9v8.5A2.5 2.5 0 0 1 18 20H6a2.5 2.5 0 0 1-2.5-2.5Z" />,
+);
+
+// ── You ───────────────────────────────────────────────────────────────────
+
+/** A person inside a circle: the user's own profile. */
+export const ProfileIcon = defineIcon(
+ "ProfileIcon",
+ <>
+ <circle cx="12" cy="12" r="8.5" />
+ <circle cx="12" cy="10" r="3" />
+ <path d="M6.6 18.6a6.5 6.5 0 0 1 10.8 0" />
+ </>,
+);
+
+/** A page with a folded corner and written lines. */
+export const InstructionsIcon = defineIcon(
+ "InstructionsIcon",
+ <>
+ <path d="M7 3.5h7l4.5 4.5v11a1.5 1.5 0 0 1-1.5 1.5H7A1.5 1.5 0 0 1 5.5 19V5A1.5 1.5 0 0 1 7 3.5Z" />
+ <path d="M14 3.5V8h4.5" />
+ <path d="M8.75 12.5h6.5" />
+ <path d="M8.75 16h4.5" />
+ </>,
+);
+
+/** An address book with index tabs. */
+export const ContactsIcon = defineIcon(
+ "ContactsIcon",
+ <>
+ <rect x="4.5" y="3.5" width="13.5" height="17" rx="2.5" />
+ <circle cx="11.25" cy="10.25" r="2.5" />
+ <path d="M7.5 16.75a4 4 0 0 1 7.5 0" />
+ <path d="M18 7.5h2" />
+ <path d="M18 12h2" />
+ <path d="M18 16.5h2" />
+ </>,
+);
+
+/** A wallet with its pocket: what was spent. */
+export const SpendIcon = defineIcon(
+ "SpendIcon",
+ <>
+ <rect x="3.5" y="7" width="17" height="13" rx="2.5" />
+ <path d="M6.5 7 15 4.2a1.5 1.5 0 0 1 2 1.4V7" />
+ <path d="M20.5 11.5h-3.25a2 2 0 0 0 0 4h3.25" />
+ </>,
+);
+
+/** An at-sign: the user's handles on social networks. */
+export const SocialsIcon = defineIcon(
+ "SocialsIcon",
+ <>
+ <circle cx="12" cy="12" r="3.5" />
+ <path d="M15.5 8.5v5a2.5 2.5 0 0 0 5 0V12a8.5 8.5 0 1 0-3.4 6.8" />
+ </>,
+);
+
+// ── System ────────────────────────────────────────────────────────────────
+
+/** Two stacked server units. */
+export const ComputersIcon = defineIcon(
+ "ComputersIcon",
+ <>
+ <rect x="3.5" y="4" width="17" height="7" rx="2.25" />
+ <rect x="3.5" y="13" width="17" height="7" rx="2.25" />
+ <path d="M7.5 7.5h.01" />
+ <path d="M7.5 16.5h.01" />
+ <path d="M12.5 7.5h4" />
+ <path d="M12.5 16.5h4" />
+ </>,
+);
+
+/** A key. */
+export const KeyIcon = defineIcon(
+ "KeyIcon",
+ <>
+ <circle cx="8" cy="15.5" r="4" />
+ <path d="m10.85 12.65 8.65-8.65" />
+ <path d="m16.5 7 2.5 2.5" />
+ <path d="m14.25 9.25 1.75 1.75" />
+ </>,
+);
+
+/** Two sliders: everything that can be tuned. */
+export const SettingsIcon = defineIcon(
+ "SettingsIcon",
+ <>
+ <path d="M4 7.5h8.5" />
+ <path d="M17.5 7.5H20" />
+ <circle cx="15" cy="7.5" r="2.5" />
+ <path d="M4 16.5h2.5" />
+ <path d="M11.5 16.5H20" />
+ <circle cx="9" cy="16.5" r="2.5" />
+ </>,
+);
+
+/** A keyboard: keys and a space bar. */
+export const ShortcutsIcon = defineIcon(
+ "ShortcutsIcon",
+ <>
+ <rect x="2.5" y="6" width="19" height="12" rx="2.5" />
+ <path d="M6.5 10h.01" />
+ <path d="M10 10h.01" />
+ <path d="M14 10h.01" />
+ <path d="M17.5 10h.01" />
+ <path d="M8 14h8" />
+ </>,
+);
+
+/** A viewfinder's four corners around a point: a captured screen. */
+export const CaptureIcon = defineIcon(
+ "CaptureIcon",
+ <>
+ <path d="M4 8.5v-2A2.5 2.5 0 0 1 6.5 4h2" />
+ <path d="M15.5 4h2A2.5 2.5 0 0 1 20 6.5v2" />
+ <path d="M20 15.5v2a2.5 2.5 0 0 1-2.5 2.5h-2" />
+ <path d="M8.5 20h-2A2.5 2.5 0 0 1 4 17.5v-2" />
+ <circle cx="12" cy="12" r="2.75" />
+ </>,
+);
+
+/** A paw print. */
+export const PetsIcon = defineIcon(
+ "PetsIcon",
+ <>
+ <path d="M12 12.5c-2.8 0-5 2.6-5 4.6 0 1.3 1 2.4 2.4 2.4.9 0 1.6-.4 2.6-.4s1.7.4 2.6.4c1.4 0 2.4-1.1 2.4-2.4 0-2-2.2-4.6-5-4.6Z" />
+ <ellipse cx="5.6" cy="10.4" rx="1.6" ry="2" transform="rotate(-20 5.6 10.4)" />
+ <ellipse cx="9.3" cy="6.2" rx="1.7" ry="2.2" transform="rotate(-6 9.3 6.2)" />
+ <ellipse cx="14.7" cy="6.2" rx="1.7" ry="2.2" transform="rotate(6 14.7 6.2)" />
+ <ellipse cx="18.4" cy="10.4" rx="1.6" ry="2" transform="rotate(20 18.4 10.4)" />
+ </>,
+);
+
+/** A shield with a check: what Jarvis may do on its own. */
+export const PermissionsIcon = defineIcon(
+ "PermissionsIcon",
+ <>
+ <path d="M12 3.5 5 6v5.5c0 4.3 2.9 7.6 7 9 4.1-1.4 7-4.7 7-9V6Z" />
+ <path d="m9 12 2.1 2.1L15 10.2" />
+ </>,
+);
+
+/** A telephone handset. */
+export const PhoneIcon = defineIcon(
+ "PhoneIcon",
+ <path d="M8.6 4.3 6.4 3.9a1.5 1.5 0 0 0-1.6.9c-.9 2-.8 4.7 1 7.8a17 17 0 0 0 5.6 5.6c3.1 1.8 5.8 1.9 7.8 1a1.5 1.5 0 0 0 .9-1.6l-.4-2.2a1.5 1.5 0 0 0-1-1.2l-2.4-.8a1.5 1.5 0 0 0-1.6.4l-.9 1a11 11 0 0 1-4.6-4.6l1-.9a1.5 1.5 0 0 0 .4-1.6l-.8-2.4a1.5 1.5 0 0 0-1.2-1Z" />,
+);
+
+/** A globe: language and locale. */
+export const LanguageIcon = defineIcon(
+ "LanguageIcon",
+ <>
+ <circle cx="12" cy="12" r="8.5" />
+ <path d="M3.5 12h17" />
+ <path d="M12 3.5c2.3 2.3 3.5 5.1 3.5 8.5s-1.2 6.2-3.5 8.5c-2.3-2.3-3.5-5.1-3.5-8.5S9.7 5.8 12 3.5Z" />
+ </>,
+);
+
+/** A bound book with a letter on its cover: the custom vocabulary. */
+export const DictionaryIcon = defineIcon(
+ "DictionaryIcon",
+ <>
+ <path d="M5.5 18.75V5.5a2 2 0 0 1 2-2h11V17h-11a1.75 1.75 0 0 0 0 3.5h11" />
+ <path d="m10 13.5 2-5.5 2 5.5" />
+ <path d="M10.75 11.6h2.5" />
+ </>,
+);
diff --git a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
index ec1e6a2805..f11abbf6df 100644
--- a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
@@ -4,7 +4,6 @@ import {
ChevronDown,
ChevronLeft,
MoreHorizontal,
- Store,
Plus,
} from "lucide-react";
import {
@@ -32,6 +31,7 @@ import { useQuickSwitchSettings } from "@/store/quickSwitchSettings";
import { useAppInstance } from "@/hooks/useAppInstance";
import { usePublishIdentity } from "@/components/marketplace/PublishIdentity";
import { GigiMark } from "@/components/GigiMark";
+import { MarketplaceIcon } from "@/components/icons/sectionIcons";
import { startNewTextChat } from "@/lib/newChat";
import { useUserName } from "@/hooks/useUserName";
import { useAgentChatStore } from "@/store/agentChat";
@@ -584,7 +584,7 @@ export function Sidebar({
<button type="button" onClick={() => setActive("marketplace")} title={t("nav.marketplace")}
aria-label={t("nav.marketplace")} data-testid="nav-row-marketplace"
className="flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-muted-foreground hover:bg-secondary hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
- <Store aria-hidden strokeWidth={1.75} className="h-4 w-4" />
+ <MarketplaceIcon aria-hidden strokeWidth={1.75} className="h-4 w-4" />
</button>
</div>
</div>
diff --git a/jarvis/ui/web/frontend/src/components/layout/navGroups.test.ts b/jarvis/ui/web/frontend/src/components/layout/navGroups.test.ts
index 34c57d894b..0576f0935b 100644
--- a/jarvis/ui/web/frontend/src/components/layout/navGroups.test.ts
+++ b/jarvis/ui/web/frontend/src/components/layout/navGroups.test.ts
@@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
-import { MessageSquare } from "lucide-react";
+import { ChatIcon } from "@/components/icons/sectionIcons";
import { NAV_GROUPS, presentNavItem } from "@/components/layout/navGroups";
@@ -11,7 +11,7 @@ describe("presentNavItem", () => {
for (const surface of ["voice", "chat"] as const) {
const row = presentNavItem(chats, surface);
expect(row.labelKey).toBe("sidebar.surface_chat");
- expect(row.icon).toBe(MessageSquare);
+ expect(row.icon).toBe(ChatIcon);
}
});
diff --git a/jarvis/ui/web/frontend/src/components/layout/navGroups.ts b/jarvis/ui/web/frontend/src/components/layout/navGroups.ts
index 27b124c761..9f568906a8 100644
--- a/jarvis/ui/web/frontend/src/components/layout/navGroups.ts
+++ b/jarvis/ui/web/frontend/src/components/layout/navGroups.ts
@@ -9,36 +9,37 @@
* A second hand-written list anywhere would be the classic drift trap (AP-4):
* a section added here would silently never appear on the deck.
*/
-import {
- BookOpen,
- Boxes,
- Contact,
- Gauge,
- KeyRound,
- MessageSquare,
- MessageSquareWarning,
- MessagesSquare,
- Mic,
- Notebook,
- ScrollText,
- Server,
- Settings,
- Shapes,
- Share2,
- Sparkles,
- Store,
- Terminal,
- UserCircle2,
- Users,
- Wallet,
- Workflow,
- PawPrint,
- Keyboard,
- ScanLine,
- ShieldCheck,
- type LucideIcon,
-} from "lucide-react";
+import type { LucideIcon } from "lucide-react";
import { OllamaIcon } from "@/components/icons/OllamaIcon";
+import {
+ AgentsIcon,
+ ArtifactsIcon,
+ AutomationIcon,
+ BoardIcon,
+ CaptureIcon,
+ ChatIcon,
+ CodeIcon,
+ ComputersIcon,
+ ContactsIcon,
+ DocsIcon,
+ ExtensionsIcon,
+ FeedbackIcon,
+ InspectorIcon,
+ InstructionsIcon,
+ KeyIcon,
+ MarketplaceIcon,
+ MicrophoneIcon,
+ PermissionsIcon,
+ PetsIcon,
+ ProfileIcon,
+ SettingsIcon,
+ ShortcutsIcon,
+ SocialsIcon,
+ SpendIcon,
+ TerminalIcon,
+ VoiceIcon,
+ WikiIcon,
+} from "@/components/icons/sectionIcons";
import type { SectionId } from "@/store/events";
import type { HomeSurface } from "@/lib/homeSurface";
@@ -61,7 +62,7 @@ export function resolveNavLabel(t: (key: string) => string, item: NavItem): stri
*/
export function presentNavItem(item: NavItem, _surface?: HomeSurface): NavItem {
if (item.id !== "chats") return item;
- return { ...item, labelKey: "sidebar.surface_chat", icon: MessageSquare, fallbackLabel: "Chat" };
+ return { ...item, labelKey: "sidebar.surface_chat", icon: ChatIcon, fallbackLabel: "Chat" };
}
export interface NavItem {
@@ -123,16 +124,16 @@ export const NAV_GROUP_META: readonly NavGroupMeta[] = [
// (AP-4): a section added here would silently never appear on the deck.
export const NAV_GROUPS: NavItem[][] = [
// 0) The front page — Voice or Chat, named after the face the switch picked.
- [{ id: "chats", labelKey: "nav.chats", icon: MessageSquare }],
+ [{ id: "chats", labelKey: "nav.chats", icon: ChatIcon }],
// 1) Workspace — what the user builds with and reads back.
[
- { id: "agents", labelKey: "nav.agents", icon: Users },
+ { id: "agents", labelKey: "nav.agents", icon: AgentsIcon },
// The compact catalog opens on Plugins; direct section navigation selects
// its corresponding tab and keeps this shared row highlighted.
{
id: "plugins",
labelKey: "nav.extensions",
- icon: Boxes,
+ icon: ExtensionsIcon,
matchIds: ["skills", "plugins", "mcps"],
},
// The marketplace fills those lists: a plugin or a skill published there
@@ -140,37 +141,37 @@ export const NAV_GROUPS: NavItem[][] = [
{
id: "marketplace",
labelKey: "nav.marketplace",
- icon: Store,
+ icon: MarketplaceIcon,
fallbackLabel: "Marketplace",
},
// Automations — the recurring agent tasks and their catalogue. The id stays
// "tasks" (navigate parity, deep links); only the label and glyph changed.
- { id: "tasks", labelKey: "nav.tasks", icon: Workflow, fallbackLabel: "Automations" },
+ { id: "tasks", labelKey: "nav.tasks", icon: AutomationIcon, fallbackLabel: "Automations" },
// Artifacts — everything a run produced. The id stays "visualization"
// because it crosses the navigate parity test, the detachable-view
// registry and deep links.
{
id: "visualization",
labelKey: "nav.visualization",
- icon: Shapes,
+ icon: ArtifactsIcon,
fallbackLabel: "Artifacts",
},
- { id: "board", labelKey: "nav.board", icon: Sparkles },
- { id: "memory", labelKey: "nav.wiki", icon: Notebook },
- { id: "docs", labelKey: "nav.docs", icon: BookOpen },
+ { id: "board", labelKey: "nav.board", icon: BoardIcon },
+ { id: "memory", labelKey: "nav.wiki", icon: WikiIcon },
+ { id: "docs", labelKey: "nav.docs", icon: DocsIcon },
],
// 2) Tools — the instruments: transcription, the run inspector, the CLIs
// and the Agentic IDE (which puts real coding agents to work in a folder,
// so its row says "Beta" up front).
[
- { id: "sessions", labelKey: "nav.sessions", icon: Mic },
- { id: "run_inspector", labelKey: "nav.run_inspector", icon: Gauge },
+ { id: "sessions", labelKey: "nav.sessions", icon: MicrophoneIcon },
+ { id: "run_inspector", labelKey: "nav.run_inspector", icon: InspectorIcon },
// CLIs — the CLIs list + the CLI Test Hub behind one tab switch (CLIs first).
- { id: "clis", labelKey: "nav.clis_hub", icon: Terminal, matchIds: ["clis", "cli-test-hub"] },
+ { id: "clis", labelKey: "nav.clis_hub", icon: TerminalIcon, matchIds: ["clis", "cli-test-hub"] },
{
id: "agentic-ide",
labelKey: "nav.agentic_ide",
- icon: MessagesSquare,
+ icon: CodeIcon,
fallbackLabel: "Agentic IDE",
// The classic grid is the same destination as far as the row is
// concerned: someone who stepped back into it should still see where
@@ -182,18 +183,18 @@ export const NAV_GROUPS: NavItem[][] = [
// 3) You — what the assistant knows about the user, and the user's own
// ledgers.
[
- { id: "profile", labelKey: "nav.profile", icon: UserCircle2 },
+ { id: "profile", labelKey: "nav.profile", icon: ProfileIcon },
{
id: "agent-instructions",
labelKey: "nav.agent_instructions",
- icon: ScrollText,
+ icon: InstructionsIcon,
fallbackLabel: "Instructions",
},
- { id: "contacts", labelKey: "nav.contacts", icon: Contact },
+ { id: "contacts", labelKey: "nav.contacts", icon: ContactsIcon },
// Spend & Tokens — every token the app spent, priced per provider, model
// and role. It reports, it does not configure.
- { id: "costs", labelKey: "nav.costs", icon: Wallet, fallbackLabel: "Spend" },
- { id: "socials", labelKey: "nav.socials", icon: Share2 },
+ { id: "costs", labelKey: "nav.costs", icon: SpendIcon, fallbackLabel: "Spend" },
+ { id: "socials", labelKey: "nav.socials", icon: SocialsIcon },
],
// 4) System. API Keys also fronts the former "Telephony" screen — the
// telephony status/credentials/scripts/calls live as a section inside the
@@ -207,13 +208,13 @@ export const NAV_GROUPS: NavItem[][] = [
{
id: "computers",
labelKey: "nav.computers",
- icon: Server,
+ icon: ComputersIcon,
fallbackLabel: "Computers",
},
{
id: "apikeys",
labelKey: "nav.apikeys",
- icon: KeyRound,
+ icon: KeyIcon,
matchIds: ["apikeys", "telephony", "telephony-setup"],
},
// Local models sit directly under API Keys: the same "which brain" question,
@@ -227,7 +228,7 @@ export const NAV_GROUPS: NavItem[][] = [
{
id: "settings",
labelKey: "nav.settings",
- icon: Settings,
+ icon: SettingsIcon,
matchIds: ["settings", "taskbar", "languages"],
},
// The voice section — dictation, the custom vocabulary, the keys that start
@@ -236,7 +237,7 @@ export const NAV_GROUPS: NavItem[][] = [
{
id: "dictation",
labelKey: "nav.voice",
- icon: Mic,
+ icon: VoiceIcon,
matchIds: [
"dictation",
"dictionary",
@@ -257,7 +258,7 @@ export const NAV_GROUPS: NavItem[][] = [
* `NavItem` so the deck and the rail can still list it from one definition.
*/
export const NAV_FOOTER_ITEMS: NavItem[] = [
- { id: "feedback", labelKey: "nav.feedback", icon: MessageSquareWarning },
+ { id: "feedback", labelKey: "nav.feedback", icon: FeedbackIcon },
];
/**
@@ -269,15 +270,15 @@ export const SETTINGS_HUB_ONLY_ITEMS: NavItem[] = [
{
id: "shortcuts",
labelKey: "nav.shortcuts",
- icon: Keyboard,
+ icon: ShortcutsIcon,
fallbackLabel: "Keyboard shortcuts",
},
- { id: "appshots", labelKey: "nav.appshots", icon: ScanLine, fallbackLabel: "Appshots" },
- { id: "pets", labelKey: "nav.pets", icon: PawPrint, fallbackLabel: "My Pets" },
+ { id: "appshots", labelKey: "nav.appshots", icon: CaptureIcon, fallbackLabel: "Appshots" },
+ { id: "pets", labelKey: "nav.pets", icon: PetsIcon, fallbackLabel: "My Pets" },
{
id: "jarvis-actions",
labelKey: "nav.jarvis_actions",
- icon: ShieldCheck,
+ icon: PermissionsIcon,
fallbackLabel: "Jarvis actions",
},
];
diff --git a/jarvis/ui/web/frontend/src/lib/quickSwitch.ts b/jarvis/ui/web/frontend/src/lib/quickSwitch.ts
index 152c167595..fb4a4fa467 100644
--- a/jarvis/ui/web/frontend/src/lib/quickSwitch.ts
+++ b/jarvis/ui/web/frontend/src/lib/quickSwitch.ts
@@ -23,7 +23,20 @@
* active language.
*/
import type { LucideIcon } from "lucide-react";
-import { BookA, Grid3x3, Keyboard, Languages, MessageSquare, Mic, Phone, Puzzle, Plug, Sparkles, FlaskConical, KeyRound } from "lucide-react";
+import {
+ ChatIcon,
+ ConnectorIcon,
+ DictionaryIcon,
+ KeyIcon,
+ LanguageIcon,
+ PaneGridIcon,
+ PhoneIcon,
+ PluginIcon,
+ ShortcutsIcon,
+ SkillIcon,
+ TestFlaskIcon,
+ VoiceIcon,
+} from "@/components/icons/sectionIcons";
import en from "@/i18n/locales/en.json";
import de from "@/i18n/locales/de.json";
import es from "@/i18n/locales/es.json";
@@ -135,7 +148,7 @@ function expand(item: NavItem): QuickSwitchEntry[] {
surface: "voice",
labelKey: "sidebar.surface_voice",
fallbackLabel: "Voice",
- icon: Mic,
+ icon: VoiceIcon,
aliases: ALIASES.voice,
}),
entry(item, {
@@ -143,37 +156,37 @@ function expand(item: NavItem): QuickSwitchEntry[] {
surface: "chat",
labelKey: "sidebar.surface_chat",
fallbackLabel: "Chat",
- icon: MessageSquare,
+ icon: ChatIcon,
aliases: ALIASES.chat,
}),
];
case "plugins":
return [
- tab("plugins", "nav.plugins", Plug, "nav.extensions"),
- tab("skills", "nav.skills", Sparkles, "nav.extensions"),
- tab("mcps", "nav.mcps", Puzzle, "nav.extensions"),
+ tab("plugins", "nav.plugins", PluginIcon, "nav.extensions"),
+ tab("skills", "nav.skills", SkillIcon, "nav.extensions"),
+ tab("mcps", "nav.mcps", ConnectorIcon, "nav.extensions"),
];
case "clis":
return [
entry(item, { labelKey: "nav.clis", fallbackLabel: "CLIs" }),
- tab("cli-test-hub", "nav.cli_test_hub", FlaskConical, "nav.clis"),
+ tab("cli-test-hub", "nav.cli_test_hub", TestFlaskIcon, "nav.clis"),
];
case "agentic-ide":
return [
entry(item),
- tab("agentic-ide-classic", "quick_switch.terminal_grid", Grid3x3, "nav.agentic_ide"),
+ tab("agentic-ide-classic", "quick_switch.terminal_grid", PaneGridIcon, "nav.agentic_ide"),
];
case "apikeys":
- return [entry(item), tab("telephony", "nav.telephony", Phone, "nav.apikeys")];
+ return [entry(item), tab("telephony", "nav.telephony", PhoneIcon, "nav.apikeys")];
case "settings":
- return [entry(item), tab("languages", "nav.languages", Languages, "nav.settings")];
+ return [entry(item), tab("languages", "nav.languages", LanguageIcon, "nav.settings")];
case "dictation":
return [
entry(item),
- tab("dictionary", "nav.dictionary", BookA, "nav.voice"),
- tab("voice-shortcuts", "nav.voice_shortcuts", Keyboard, "nav.voice"),
- tab("voice-language", "nav.voice_language", Languages, "nav.voice"),
- tab("voice-api-keys", "nav.voice_api_keys", KeyRound, "nav.voice"),
+ tab("dictionary", "nav.dictionary", DictionaryIcon, "nav.voice"),
+ tab("voice-shortcuts", "nav.voice_shortcuts", ShortcutsIcon, "nav.voice"),
+ tab("voice-language", "nav.voice_language", LanguageIcon, "nav.voice"),
+ tab("voice-api-keys", "nav.voice_api_keys", KeyIcon, "nav.voice"),
];
default:
return [entry(item)];