From 10b6c98078dc5206c8fd00d3eebe5535a7571eb4 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Tue, 10 Feb 2026 12:22:46 +0800 Subject: [PATCH] feat(ui): enhance resource management in ListSpaceSidebar and KnowledgeBaseList - Added support for displaying shared knowledge bases in the ListSpaceSidebar, allowing users to see resources shared with them. - Updated the KnowledgeBaseList to include a section for shared knowledge bases, improving visibility and access to collaborative resources. - Enhanced internationalization support by adding relevant translations for shared knowledge bases in both English and Chinese. - Refactored the agent editor modal to categorize knowledge bases into 'My Knowledge Bases' and 'Collaborative Knowledge Bases', streamlining user selection and interaction. This update improves the user experience by providing clearer access to shared resources and enhancing the overall functionality of the knowledge management system. --- frontend/src/components/ListSpaceSidebar.vue | 20 ++- frontend/src/i18n/locales/en-US.ts | 5 + frontend/src/i18n/locales/zh-CN.ts | 5 + frontend/src/views/agent/AgentEditorModal.vue | 137 ++++++++++++++---- .../src/views/knowledge/KnowledgeBaseList.vue | 61 +++++++- 5 files changed, 193 insertions(+), 35 deletions(-) diff --git a/frontend/src/components/ListSpaceSidebar.vue b/frontend/src/components/ListSpaceSidebar.vue index 891feb3b..b156e205 100644 --- a/frontend/src/components/ListSpaceSidebar.vue +++ b/frontend/src/components/ListSpaceSidebar.vue @@ -20,7 +20,7 @@ {{ countAll }} - +