From b905f18ebcf0f793e37340e38a8d34c0fa530b67 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Sat, 16 May 2026 17:18:46 +0800 Subject: [PATCH] refactor(sidebar): streamline ListSpaceSidebar template for improved readability Consolidated and formatted the template structure in ListSpaceSidebar.vue to enhance code clarity and maintainability. Adjusted the layout of various elements for better alignment without altering existing functionality. This refactor aims to improve the overall readability of the component for future development. Refs: #1303 --- frontend/src/components/ListSpaceSidebar.vue | 84 +- frontend/src/views/agent/AgentList.vue | 1007 ++++++++------- .../src/views/knowledge/KnowledgeBaseList.vue | 1115 +++++++++-------- .../views/organization/OrganizationList.vue | 1026 ++++++++------- 4 files changed, 1626 insertions(+), 1606 deletions(-) diff --git a/frontend/src/components/ListSpaceSidebar.vue b/frontend/src/components/ListSpaceSidebar.vue index ab4e8596..132c7481 100644 --- a/frontend/src/components/ListSpaceSidebar.vue +++ b/frontend/src/components/ListSpaceSidebar.vue @@ -1,14 +1,11 @@