diff --git a/dashboard/src/assets/images/astrbot_banner.png b/dashboard/src/assets/images/astrbot_banner.png new file mode 100644 index 00000000..f837d9fb Binary files /dev/null and b/dashboard/src/assets/images/astrbot_banner.png differ diff --git a/dashboard/src/assets/images/logo-normal.svg b/dashboard/src/assets/images/logo-normal.svg deleted file mode 100644 index eb837304..00000000 --- a/dashboard/src/assets/images/logo-normal.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dashboard/src/assets/images/logo-waifu.png b/dashboard/src/assets/images/logo-waifu.png deleted file mode 100644 index cc9375e4..00000000 Binary files a/dashboard/src/assets/images/logo-waifu.png and /dev/null differ diff --git a/dashboard/src/i18n/locales/en-US/core/navigation.json b/dashboard/src/i18n/locales/en-US/core/navigation.json index 23276163..f36724fb 100644 --- a/dashboard/src/i18n/locales/en-US/core/navigation.json +++ b/dashboard/src/i18n/locales/en-US/core/navigation.json @@ -6,12 +6,12 @@ "toolUse": "MCP Tools", "config": "Config", "extension": "Extensions", - "extensionMarketplace": "Extension Market", "chat": "Chat", "conversation": "Conversations", "sessionManagement": "Session Management", "console": "Console", "alkaid": "Alkaid Lab", + "knowledgeBase": "Knowledge Base", "about": "About", "settings": "Settings", "documentation": "Documentation", diff --git a/dashboard/src/i18n/locales/zh-CN/core/navigation.json b/dashboard/src/i18n/locales/zh-CN/core/navigation.json index ccb4be5a..0953b104 100644 --- a/dashboard/src/i18n/locales/zh-CN/core/navigation.json +++ b/dashboard/src/i18n/locales/zh-CN/core/navigation.json @@ -2,16 +2,16 @@ "dashboard": "统计", "platforms": "消息平台", "providers": "服务提供商", - "persona": "人格管理", + "persona": "人格设定", "toolUse": "MCP", + "extension": "插件", "config": "配置文件", - "extension": "插件管理", - "extensionMarketplace": "插件市场", "chat": "聊天", - "conversation": "对话数据库", + "conversation": "对话数据", "sessionManagement": "会话管理", "console": "控制台", "alkaid": "Alkaid", + "knowledgeBase": "知识库", "about": "关于", "settings": "设置", "documentation": "官方文档", diff --git a/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue b/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue index 0a97c874..f33cafbb 100644 --- a/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue +++ b/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue @@ -9,6 +9,7 @@ import {useAuthStore} from '@/stores/auth'; import {useCommonStore} from '@/stores/common'; import MarkdownIt from 'markdown-it'; import { useI18n } from '@/i18n/composables'; +import { router } from '@/router'; // 配置markdown-it,默认安全设置 const md = new MarkdownIt({ @@ -277,7 +278,7 @@ commonStore.getStartTime(); mdi-menu -
+
AstrBot
@@ -610,6 +611,7 @@ commonStore.getStartTime(); display: flex; align-items: center; gap: 8px; + cursor: pointer; } .mobile-logo { diff --git a/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts b/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts index 09f0e33e..861a51e4 100644 --- a/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts +++ b/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts @@ -39,15 +39,25 @@ const sidebarItem: menu[] = [ to: '/tool-use' }, { - title: 'core.navigation.config', - icon: 'mdi-cog', - to: '/config', + title: 'core.navigation.persona', + icon: 'mdi-heart', + to: '/persona' }, { title: 'core.navigation.extension', icon: 'mdi-puzzle', to: '/extension' }, + { + title: 'core.navigation.knowledgeBase', + icon: 'mdi-text-box-search', + to: '/alkaid/knowledge-base', + }, + { + title: 'core.navigation.config', + icon: 'mdi-cog', + to: '/config', + }, { title: 'core.navigation.chat', icon: 'mdi-chat', @@ -63,26 +73,11 @@ const sidebarItem: menu[] = [ icon: 'mdi-account-group', to: '/session-management' }, - { - title: 'core.navigation.persona', - icon: 'mdi-heart', - to: '/persona' - }, { title: 'core.navigation.console', icon: 'mdi-console', to: '/console' }, - { - title: 'core.navigation.alkaid', - icon: 'mdi-test-tube', - to: '/alkaid' - }, - { - title: 'core.navigation.about', - icon: 'mdi-information', - to: '/about' - }, // { // title: 'Project ATRI', // icon: 'mdi-grain', diff --git a/dashboard/src/router/MainRoutes.ts b/dashboard/src/router/MainRoutes.ts index 9706f2b7..29b3bf5e 100644 --- a/dashboard/src/router/MainRoutes.ts +++ b/dashboard/src/router/MainRoutes.ts @@ -66,27 +66,32 @@ const MainRoutes = { path: '/console', component: () => import('@/views/ConsolePage.vue') }, + // { + // name: 'Alkaid', + // path: '/alkaid', + // component: () => import('@/views/AlkaidPage.vue'), + // children: [ + // { + // path: 'knowledge-base', + // name: 'KnowledgeBase', + // component: () => import('@/views/alkaid/KnowledgeBase.vue') + // }, + // { + // path: 'long-term-memory', + // name: 'LongTermMemory', + // component: () => import('@/views/alkaid/LongTermMemory.vue') + // }, + // { + // path: 'other', + // name: 'OtherFeatures', + // component: () => import('@/views/alkaid/Other.vue') + // } + // ] + // }, { - name: 'Alkaid', - path: '/alkaid', - component: () => import('@/views/AlkaidPage.vue'), - children: [ - { - path: 'knowledge-base', - name: 'KnowledgeBase', - component: () => import('@/views/alkaid/KnowledgeBase.vue') - }, - { - path: 'long-term-memory', - name: 'LongTermMemory', - component: () => import('@/views/alkaid/LongTermMemory.vue') - }, - { - path: 'other', - name: 'OtherFeatures', - component: () => import('@/views/alkaid/Other.vue') - } - ] + name: 'KnowledgeBase', + path: '/alkaid/knowledge-base', + component: () => import('@/views/alkaid/KnowledgeBase.vue') }, { name: 'Chat', diff --git a/dashboard/src/views/AboutPage.vue b/dashboard/src/views/AboutPage.vue index 453bfbba..4c9a9d77 100644 --- a/dashboard/src/views/AboutPage.vue +++ b/dashboard/src/views/AboutPage.vue @@ -1,94 +1,27 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/dashboard/src/views/AlkaidPage_sigma.vue b/dashboard/src/views/AlkaidPage_sigma.vue deleted file mode 100644 index a5798d28..00000000 --- a/dashboard/src/views/AlkaidPage_sigma.vue +++ /dev/null @@ -1,438 +0,0 @@ - - - - - - - - \ No newline at end of file