fix(ui): distinguish EventProcessor with a trigger icon

This commit is contained in:
RockChinQ
2026-09-10 15:18:04 +08:00
parent d1c79a35e8
commit 15fa0f50e3
3 changed files with 6 additions and 5 deletions
@@ -7,7 +7,7 @@ import {
FileText,
PanelTop,
Bot,
Puzzle,
Zap,
} from 'lucide-react';
import { Badge } from '@/components/ui/badge';
@@ -34,7 +34,7 @@ export default function PluginComponentList({
Parser: <FileText className="w-5 h-5" />,
Page: <PanelTop className="w-5 h-5" />,
AgentRunner: <Bot className="w-5 h-5" />,
EventProcessor: <Puzzle className="w-5 h-5" />,
EventProcessor: <Zap className="w-5 h-5" />,
};
const componentKindList = Object.keys(components || {});
@@ -5,7 +5,7 @@ import {
Book,
FileText,
Hash,
Puzzle,
Zap,
Wrench,
type LucideIcon,
} from 'lucide-react';
@@ -18,5 +18,5 @@ export const pluginComponentIconMap: Record<string, LucideIcon> = {
Parser: FileText,
Page: AppWindow,
AgentRunner: Bot,
EventProcessor: Puzzle,
EventProcessor: Zap,
};
@@ -18,6 +18,7 @@ import { ToggleGroup, ToggleGroupItem } from '@/components/ui/toggle-group';
import {
Search,
Puzzle,
Zap,
Server,
Sparkles,
Wrench,
@@ -248,7 +249,7 @@ function MarketPageContent({
{
value: 'EventProcessor',
label: t('market.componentName.EventProcessor'),
icon: Puzzle,
icon: Zap,
},
];