mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-17 07:17:18 +00:00
fix(ui): distinguish EventProcessor with a trigger icon
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
|||||||
FileText,
|
FileText,
|
||||||
PanelTop,
|
PanelTop,
|
||||||
Bot,
|
Bot,
|
||||||
Puzzle,
|
Zap,
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import { Badge } from '@/components/ui/badge';
|
import { Badge } from '@/components/ui/badge';
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ export default function PluginComponentList({
|
|||||||
Parser: <FileText className="w-5 h-5" />,
|
Parser: <FileText className="w-5 h-5" />,
|
||||||
Page: <PanelTop className="w-5 h-5" />,
|
Page: <PanelTop className="w-5 h-5" />,
|
||||||
AgentRunner: <Bot 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 || {});
|
const componentKindList = Object.keys(components || {});
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import {
|
|||||||
Book,
|
Book,
|
||||||
FileText,
|
FileText,
|
||||||
Hash,
|
Hash,
|
||||||
Puzzle,
|
Zap,
|
||||||
Wrench,
|
Wrench,
|
||||||
type LucideIcon,
|
type LucideIcon,
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
@@ -18,5 +18,5 @@ export const pluginComponentIconMap: Record<string, LucideIcon> = {
|
|||||||
Parser: FileText,
|
Parser: FileText,
|
||||||
Page: AppWindow,
|
Page: AppWindow,
|
||||||
AgentRunner: Bot,
|
AgentRunner: Bot,
|
||||||
EventProcessor: Puzzle,
|
EventProcessor: Zap,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import { ToggleGroup, ToggleGroupItem } from '@/components/ui/toggle-group';
|
|||||||
import {
|
import {
|
||||||
Search,
|
Search,
|
||||||
Puzzle,
|
Puzzle,
|
||||||
|
Zap,
|
||||||
Server,
|
Server,
|
||||||
Sparkles,
|
Sparkles,
|
||||||
Wrench,
|
Wrench,
|
||||||
@@ -248,7 +249,7 @@ function MarketPageContent({
|
|||||||
{
|
{
|
||||||
value: 'EventProcessor',
|
value: 'EventProcessor',
|
||||||
label: t('market.componentName.EventProcessor'),
|
label: t('market.componentName.EventProcessor'),
|
||||||
icon: Puzzle,
|
icon: Zap,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user