feat(frontend): major sidebar refactor - workspace tree, favorites, new modal#31
Merged
NianJiuZst merged 4 commits intomainfrom Mar 29, 2026
Merged
feat(frontend): major sidebar refactor - workspace tree, favorites, new modal#31NianJiuZst merged 4 commits intomainfrom
NianJiuZst merged 4 commits intomainfrom
Conversation
…ew modal Breaking changes: - cloud-docs/page.tsx now shows workspace introduction (Programming & AI Workspace) - knowledge-base/page.tsx repurposed as Favorites list page - layout.tsx: full sidebar refactor with: - Workspace: expandable with inline FolderTree (from API /documents/tree) - Favorites, Personal Notes, Shared Docs, Plugins as nav items - 'New' button opens creation modal (Blank Document / From Template / New Folder) - Rename right panel from 'Curator Assistant' to 'DocVault Assistant' - FolderTreeInline: supports expand/collapse, folder nesting, inline folder creation - New button triggers TemplateSelectorModal for doc/folder creation - SearchBar placeholder: Chinese → English 'Search documents...' - CloudDocsPage tests updated for new workspace intro content
- NotesPage: 4 tests (header, New button, search bar, sample notes) - SharedPage: 3 tests (header, search bar, shared docs with access labels) - PluginsPage: 3 tests (header, Browse button, plugin list with badges) - KnowledgeBasePage (Favorites): 3 tests (header, search bar, favorite docs)
…ch to FolderTree tests - Fix import path in layout.tsx: ../cloud-docs/components → ./cloud-docs/components - Add missing beforeEach import to FolderTree.test.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Major sidebar refactor with workspace tree, favorites, and new document modal. All 21 tests pass.