feat: 回忆打开即编辑,总览新增相关导图

- 打开历史回忆直接进入编辑,新建永远空白;去掉草稿/已结束状态展示
- 复习总览按所选标签列出保存导图,可翻页;最近回忆支持排除顶部那条
- 提示形式改为点击后先选形式再发请求;资料无内容时禁用提示与查漏
- 空范围记录不进入编辑器,页面路由补统一返回入口
This commit is contained in:
2026-11-22 21:41:31 +08:00
parent f409b91b1b
commit 354aceb380
39 changed files with 1837 additions and 418 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ export const tagScope: ScopeInput = { type: 'TAG', taskNum: null, tags: ['中文
export const expressionFixture = (): Expression => ({ schemaVersion: 1, root: { id: 'root-a', title: '', notes: '', provenance: [], children: [] } });
export function recallFixture(): RecallDetail {
return {
recallNum: 'R001', status: 'ACTIVE', scope: { ...tagScope, normalizedTags: ['中文'], scopeKey: 'TAG:中文', displayName: '学习Vue', selectedAt: '2026-11-14T01:00:00Z' },
scopeStatus: 'VALID', activeDurationMs: 0, actualDurationMs: 0, createdAt: '2026-11-14T01:00:00Z', updatedAt: '2026-11-14T01:00:00Z', endedAt: null,
recallNum: 'R001', scope: { ...tagScope, normalizedTags: ['中文'], scopeKey: 'TAG:中文', displayName: '学习Vue', selectedAt: '2026-11-14T01:00:00Z' },
scopeStatus: 'VALID', activeDurationMs: 0, actualDurationMs: 0, createdAt: '2026-11-14T01:00:00Z', updatedAt: '2026-11-14T01:00:00Z',
editorId: null, writeToken: 'write-a', expression: expressionFixture(), requests: [],
reference: { status: 'AVAILABLE', total: 1, limitations: ['相关学习报告只作补充上下文,需结合本次选中的知识碎片核对。', '资料可能有遗漏或相互冲突,不作为标准答案。'] },
};