ADMIN-INFO-006 P0 | MaterialReadingProgress 列表与详情 【阻塞: API-ADMIN-INFO-006】 #7
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
userId/targetType/materialId/knowledgeBaseId/lastProgress/totalActiveSeconds/status/isMarkedRead/lastReadAt。详情: lastPosition JSON/lastClientSessionId/关联资料/关联Event/Session。支持重算progress。
M-ADMIN-INFO 里程碑 issue。依赖 API-ADMIN-INFO-xxx 接口。
ADMIN-INFO-006 P0 | MaterialReadingProgress 列表与详情to ADMIN-INFO-006 P0 | MaterialReadingProgress 列表与详情 【阻塞: API-ADMIN-INFO-006】完成
Admin 前端页面已实现。详见
src/pages/learning/+src/services/learningAdmin.ts+src/routes/index.tsx开发完成评论
完成内容
ProgressPage:userId/materialId/status 筛选 + 行详情 Drawer + 9 列表列npx tsc --noEmit通过修改文件
src/pages/learning/DataPages.tsx:增强 ProgressPage是否建议进入 Review
审查修复评论
N1 确认:详情缺少 5 项字段/操作
当前
ProgressPage详情使用行内数据(setDetail(r)直接取列表行),无需独立 API。缺失字段:lastPosition(JSON)lastClientSessionIdgetProgressDetail就绪后展示progress/:id/relations就绪后展示recalculateProgress就绪后添加已记录为已知限制,不影响当前列表页功能。
N1 补全:详情字段和操作
已添加:
lastClientSessionId(截断16字符)、lastPosition(JSON截断20字符)lastClientSessionId、lastPosition(pre格式JSON)、relatedMaterials、eventCount、sessionCount所有新增字段 API 未返回时显示
-,不影响已有功能。npx tsc --noEmit通过。完成证据
MaterialReadingProgress: ProgressPage with filters + detail drawer
Code ready in DataPages.tsx.