Skip to content

Feat/workspace refactor#35

Merged
NianJiuZst merged 3 commits intomainfrom
feat/workspace-refactor
Mar 30, 2026
Merged

Feat/workspace refactor#35
NianJiuZst merged 3 commits intomainfrom
feat/workspace-refactor

Conversation

@NianJiuZst
Copy link
Copy Markdown
Owner

No description provided.

- CreateDocumentDto: add optional parentId field
- documents.service.create(): pass parentId to Prisma (defaults to null)
- documents.controller.createFolder(): use parentFolderId from body (matches frontend)
- frontend: send parentId (not parentFolderId) for document creation

Now nested folder/document creation works end-to-end
…ler test field name

- documents.service.spec.ts: add test for creating document with parentId
- documents.controller.spec.ts: use parentFolderId (matches updated controller)
- Project architecture (monorepo, backend+frontend)
- Tech stack (Next.js, NestJS, TipTap, Yjs, Prisma)
- Database models (User, Document, DocumentVersion, Share, Template)
- Backend modules (Auth, Documents, Collaboration, Templates)
- Frontend modules (routes, layout, editor, sidebar tree)
- Core business flows (create nested doc, collaboration, import/export)
- Complete API reference
- Key code file index
- AI execution guide (how to handle user commands)
- Development standards
@NianJiuZst NianJiuZst merged commit ab5ccfc into main Mar 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant