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

@ -453,7 +453,7 @@ export const AppSidebar = memo(function AppSidebar({
)}
<div className="space-y-2">
<NavNotes notes={processedRecentNotes} onAddNote={onAddNote} />
<NavNotes notes={processedRecentNotes} onAddNote={onAddNote} searchSpaceId={searchSpaceId} />
</div>
</SidebarContent>
<SidebarFooter>