feat: add All Notes sidebar component and integrate with NavNotes

- Introduced a new AllNotesSidebar component for displaying all notes in a sidebar.
- Enhanced NavNotes to include a button for opening the All Notes sidebar.
- Updated translations to support new sidebar labels and error messages.
- Improved note deletion handling and loading states within the sidebar.
- Refactored AppSidebar to pass searchSpaceId to NavNotes for better context.
This commit is contained in:
Anish Sarkar 2025-12-16 19:14:35 +05:30
parent e9d3d36dfc
commit 5da41d91c8
5 changed files with 455 additions and 18 deletions

View file

@ -642,7 +642,12 @@
"no_chats_found": "未找到对话",
"no_recent_chats": "暂无最近对话",
"view_all_chats": "查看所有对话",
"search_space": "搜索空间"
"search_space": "搜索空间",
"notes": "笔记",
"all_notes": "所有笔记",
"no_notes": "暂无笔记",
"create_new_note": "创建新笔记",
"error_loading_notes": "加载笔记时出错"
},
"errors": {
"something_went_wrong": "出错了",