mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-07 02:51:50 +00:00
fix(web): add missing icons for config page category sidebar
Add icon mappings for 9 categories that fell back to FileQuestion: - bedrock (Cloud), curator (Sparkles), kanban (LayoutDashboard) - model_catalog (BookOpen), openrouter (Route), sessions (History) - tool_loop_guardrails (Shield), tool_output (FileOutput), updates (RefreshCw)
This commit is contained in:
parent
06031229e8
commit
d8be50d772
1 changed files with 18 additions and 0 deletions
|
|
@ -27,6 +27,15 @@ import {
|
||||||
Wrench,
|
Wrench,
|
||||||
FileQuestion,
|
FileQuestion,
|
||||||
Filter,
|
Filter,
|
||||||
|
Cloud,
|
||||||
|
Sparkles,
|
||||||
|
LayoutDashboard,
|
||||||
|
BookOpen,
|
||||||
|
Route,
|
||||||
|
History,
|
||||||
|
Shield,
|
||||||
|
FileOutput,
|
||||||
|
RefreshCw,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import { api } from "@/lib/api";
|
import { api } from "@/lib/api";
|
||||||
import { getNestedValue, setNestedValue } from "@/lib/nested";
|
import { getNestedValue, setNestedValue } from "@/lib/nested";
|
||||||
|
|
@ -66,6 +75,15 @@ const CATEGORY_ICONS: Record<
|
||||||
logging: ClipboardList,
|
logging: ClipboardList,
|
||||||
discord: MessageCircle,
|
discord: MessageCircle,
|
||||||
auxiliary: Wrench,
|
auxiliary: Wrench,
|
||||||
|
bedrock: Cloud,
|
||||||
|
curator: Sparkles,
|
||||||
|
kanban: LayoutDashboard,
|
||||||
|
model_catalog: BookOpen,
|
||||||
|
openrouter: Route,
|
||||||
|
sessions: History,
|
||||||
|
tool_loop_guardrails: Shield,
|
||||||
|
tool_output: FileOutput,
|
||||||
|
updates: RefreshCw,
|
||||||
};
|
};
|
||||||
|
|
||||||
function CategoryIcon({
|
function CategoryIcon({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue