forked from EduCraft/curriculum-project-hub
Main #2
Reference in New Issue
Block a user
Delete Branch "maoyuanyang/curriculum-project-hub:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR: 文件库老师端网盘式改版 + 授权面板表格化 + 回收站 + 权限语义调整
upstream/mainorigin/main一、老师端文件库网盘式改版
老师端
/app从树+详情布局改为网盘式网格浏览器:role动态显隐)FileEditor)/database保留原树状布局不动新增组件:
GridLibraryView/GridCard/ContextMenu二、授权面板表格化
?q=过滤)或 Group 管理(?select=选中)GrantDto增加principalName+principalOpenId(批量回填,3 处统一)labels.ts三、回收站
deletedAt,保留原名;撞名报409审计:
folder.restore/project.restore/node.purge四、权限语义调整
permission.ts删除冻结分支;FileLibProjectSettings表保留但不再读写五、Bug 修复
91afd3cd39ebedstopPropagation(修背景菜单覆盖节点菜单导致看不到删除)ab5e038.omo/误提交清理 + 加入.gitignore六、测试
filelib-nav.test.ts(回收站列出 / 恢复 / 彻底删除 / 权限 5 例)filelib-permission.test.ts改为断言恒生效语义helpers.tsresetDb补 MemberGroup 三表清理七、ADR 记录
⚠️ 注意事项
VersionStore改为真 git 后binService/fileService的 storageDir 语义可能需要适配filelib_recent_visit建表 + 删表),prisma migrate deploy会顺序应用,最终无残留表role字段**(treeService.ts),additive,不影响现有消费方Merged
Pull request closed