feat: enhance sidebar functionality and UI responsiveness

- Implemented sidebar collapse and expand functionality, allowing users to toggle the sidebar visibility for a more streamlined interface.
- Updated the `uiStore` to manage sidebar state, persisting the collapsed state in local storage for user preference.
- Enhanced the `menu.vue` and `UserMenu.vue` components to adapt their layout based on the sidebar state, improving usability.
- Added corresponding translations for sidebar actions in English, Korean, Russian, and Chinese, ensuring accessibility for diverse users.
- Refined CSS styles to support the new sidebar behavior, enhancing overall UI consistency and responsiveness.

These changes significantly improve the user experience by providing a more flexible and user-friendly navigation system.
This commit is contained in:
wizardchen
2026-03-05 13:30:53 +08:00
committed by lyingbug
parent 00bf0460cc
commit 5d90019fd0
11 changed files with 320 additions and 31 deletions
+2
View File
@@ -15,6 +15,8 @@ export default {
confirmLogout: 'Are you sure you want to logout?',
systemInfo: 'System Information',
knowledgeSearch: 'Knowledge Search',
collapseSidebar: 'Collapse Sidebar',
expandSidebar: 'Expand Sidebar',
},
batchManage: {
title: 'Manage Conversations',
+2
View File
@@ -15,6 +15,8 @@ export default {
confirmLogout: "정말 로그아웃 하시겠습니까?",
systemInfo: "시스템 정보",
knowledgeSearch: "지식 검색",
collapseSidebar: "사이드바 접기",
expandSidebar: "사이드바 펼치기",
},
batchManage: {
title: "대화 관리",
+2
View File
@@ -13,6 +13,8 @@ export default {
confirmLogout: 'Вы уверены, что хотите выйти?',
systemInfo: 'Информация о системе',
knowledgeSearch: 'Поиск знаний',
collapseSidebar: 'Свернуть боковую панель',
expandSidebar: 'Развернуть боковую панель',
},
batchManage: {
title: 'Управление диалогами',
+2
View File
@@ -15,6 +15,8 @@ export default {
confirmLogout: "确定要退出登录吗?",
systemInfo: "系统信息",
knowledgeSearch: "知识搜索",
collapseSidebar: "收起侧边栏",
expandSidebar: "展开侧边栏",
},
batchManage: {
title: "管理对话记录",