diff --git a/web/src/app/home/bots/components/bot-card/BotCard.tsx b/web/src/app/home/bots/components/bot-card/BotCard.tsx index 3551ed66..c5a1cba8 100644 --- a/web/src/app/home/bots/components/bot-card/BotCard.tsx +++ b/web/src/app/home/bots/components/bot-card/BotCard.tsx @@ -4,6 +4,7 @@ import { httpClient } from '@/app/infra/http/HttpClient'; import { Switch } from '@/components/ui/switch'; import { useTranslation } from 'react-i18next'; import { toast } from 'sonner'; +import { MessageSquare, Workflow } from 'lucide-react'; export default function BotCard({ botCardVO, @@ -42,28 +43,14 @@ export default function BotCard({
- - - + {botCardVO.adapterLabel}
- - - + {botCardVO.usePipelineName} diff --git a/web/src/app/home/components/account-settings-dialog/AccountSettingsDialog.tsx b/web/src/app/home/components/account-settings-dialog/AccountSettingsDialog.tsx index 87b438eb..b658c9fa 100644 --- a/web/src/app/home/components/account-settings-dialog/AccountSettingsDialog.tsx +++ b/web/src/app/home/components/account-settings-dialog/AccountSettingsDialog.tsx @@ -20,7 +20,7 @@ import { } from '@/components/ui/item'; import { httpClient } from '@/app/infra/http/HttpClient'; import { systemInfo } from '@/app/infra/http'; -import { Loader2, ExternalLink, KeyRound } from 'lucide-react'; +import { Loader2, ExternalLink, KeyRound, Layers } from 'lucide-react'; import PasswordChangeDialog from '../password-change-dialog/PasswordChangeDialog'; interface AccountSettingsDialogProps { @@ -136,34 +136,7 @@ export default function AccountSettingsDialog({ {/* Space Account Item */} - - - - - + {t('account.spaceStatus')} diff --git a/web/src/app/home/components/dynamic-form/DynamicFormItemComponent.tsx b/web/src/app/home/components/dynamic-form/DynamicFormItemComponent.tsx index 51831bde..a5f68453 100644 --- a/web/src/app/home/components/dynamic-form/DynamicFormItemComponent.tsx +++ b/web/src/app/home/components/dynamic-form/DynamicFormItemComponent.tsx @@ -1434,14 +1434,7 @@ export default function DynamicFormItemComponent({ field.onChange(newValue); }} > - - - + )}
@@ -1492,14 +1485,7 @@ export default function DynamicFormItemComponent({ }} title={t('common.delete')} > - - - + @@ -1531,14 +1517,7 @@ export default function DynamicFormItemComponent({ document.getElementById(`file-input-${config.name}`)?.click() } > - - - + {uploading ? t('plugins.fileUpload.uploading') : t('plugins.fileUpload.chooseFile')} @@ -1584,14 +1563,7 @@ export default function DynamicFormItemComponent({ }} title={t('common.delete')} > - - - + @@ -1626,14 +1598,7 @@ export default function DynamicFormItemComponent({ ?.click() } > - - - + {uploading ? t('plugins.fileUpload.uploading') : t('plugins.fileUpload.addFile')} diff --git a/web/src/app/home/components/home-sidebar/HomeSidebar.tsx b/web/src/app/home/components/home-sidebar/HomeSidebar.tsx index 02c63a32..1c798c39 100644 --- a/web/src/app/home/components/home-sidebar/HomeSidebar.tsx +++ b/web/src/app/home/components/home-sidebar/HomeSidebar.tsx @@ -27,6 +27,7 @@ import { Github, Zap, FilePlus2, + Sparkles, } from 'lucide-react'; import { useTheme } from '@/components/providers/theme-provider'; @@ -1433,15 +1434,7 @@ export default function HomeSidebar({ onClick={() => handleModelsDialogChange(true)} tooltip={t('models.title')} > - + {t('models.title')} diff --git a/web/src/app/home/components/home-sidebar/sidbarConfigList.tsx b/web/src/app/home/components/home-sidebar/sidbarConfigList.tsx index 7446887a..69a7cc84 100644 --- a/web/src/app/home/components/home-sidebar/sidbarConfigList.tsx +++ b/web/src/app/home/components/home-sidebar/sidbarConfigList.tsx @@ -1,5 +1,16 @@ import { SidebarChildVO } from '@/app/home/components/home-sidebar/HomeSidebarChild'; import i18n from '@/i18n'; +import { + Zap, + LayoutDashboard, + Bot, + Workflow, + BookMarked, + Puzzle, + Store, + Hexagon, + Mountain, +} from 'lucide-react'; const t = (key: string) => { return i18n.t(key); @@ -10,16 +21,7 @@ export const sidebarConfigList = [ new SidebarChildVO({ id: 'wizard', name: t('sidebar.quickStart'), - icon: ( - - - - ), + icon: , route: '/wizard', description: t('wizard.sidebarDescription'), helpLink: { @@ -33,16 +35,7 @@ export const sidebarConfigList = [ new SidebarChildVO({ id: 'monitoring', name: t('monitoring.title'), - icon: ( - - - - ), + icon: , route: '/home/monitoring', description: t('monitoring.description'), helpLink: { @@ -54,16 +47,7 @@ export const sidebarConfigList = [ new SidebarChildVO({ id: 'bots', name: t('bots.title'), - icon: ( - - - - ), + icon: , route: '/home/bots', description: t('bots.description'), helpLink: { @@ -76,16 +60,7 @@ export const sidebarConfigList = [ new SidebarChildVO({ id: 'pipelines', name: t('pipelines.title'), - icon: ( - - - - ), + icon: , route: '/home/pipelines', description: t('pipelines.description'), helpLink: { @@ -98,16 +73,7 @@ export const sidebarConfigList = [ new SidebarChildVO({ id: 'knowledge', name: t('knowledge.title'), - icon: ( - - - - ), + icon: , route: '/home/knowledge', description: t('knowledge.description'), helpLink: { @@ -121,16 +87,7 @@ export const sidebarConfigList = [ new SidebarChildVO({ id: 'plugins', name: t('sidebar.installedPlugins'), - icon: ( - - - - ), + icon: , route: '/home/plugins', description: t('plugins.description'), helpLink: { @@ -143,16 +100,7 @@ export const sidebarConfigList = [ new SidebarChildVO({ id: 'market', name: t('sidebar.pluginMarket'), - icon: ( - - - - ), + icon: , route: '/home/market', description: t('plugins.description'), helpLink: { @@ -165,16 +113,7 @@ export const sidebarConfigList = [ new SidebarChildVO({ id: 'mcp', name: t('sidebar.mcpServers'), - icon: ( - - - - ), + icon: , route: '/home/mcp', description: t('mcp.title'), helpLink: { @@ -186,16 +125,7 @@ export const sidebarConfigList = [ new SidebarChildVO({ id: 'skills', name: t('skills.title'), - icon: ( - - - - ), + icon: , route: '/home/skills', description: t('skills.description'), helpLink: { diff --git a/web/src/app/home/knowledge/components/kb-card/KBCard.tsx b/web/src/app/home/knowledge/components/kb-card/KBCard.tsx index 4e29af46..8287d6c9 100644 --- a/web/src/app/home/knowledge/components/kb-card/KBCard.tsx +++ b/web/src/app/home/knowledge/components/kb-card/KBCard.tsx @@ -1,6 +1,7 @@ import { KnowledgeBaseVO } from '@/app/home/knowledge/components/kb-card/KBCardVO'; import { useTranslation } from 'react-i18next'; import styles from './KBCard.module.css'; +import { Clock } from 'lucide-react'; export default function KBCard({ kbCardVO }: { kbCardVO: KnowledgeBaseVO }) { const { t } = useTranslation(); @@ -27,14 +28,7 @@ export default function KBCard({ kbCardVO }: { kbCardVO: KnowledgeBaseVO }) {
- - - +
{t('knowledge.updateTime')} {kbCardVO.lastUpdatedTimeAgo} diff --git a/web/src/app/home/knowledge/components/kb-docs/FileUploadZone.tsx b/web/src/app/home/knowledge/components/kb-docs/FileUploadZone.tsx index a6597beb..ab1cbc01 100644 --- a/web/src/app/home/knowledge/components/kb-docs/FileUploadZone.tsx +++ b/web/src/app/home/knowledge/components/kb-docs/FileUploadZone.tsx @@ -1,5 +1,6 @@ import React, { useCallback, useEffect, useState } from 'react'; import { Link } from 'react-router-dom'; +import { CloudUpload } from 'lucide-react'; import { Card, CardContent } from '@/components/ui/card'; import { Select, @@ -297,19 +298,7 @@ export default function FileUploadZone({