perf(short-drama-agent-front): 优化记录加载与工作区体验

This commit is contained in:
GJ committed 2026-11-06 20:56:25 +08:00
1 parent d0264c08ce
commit db9aea1694
111 files changed
+1680 -1290

No files matched your search

@@ -147,7 +147,7 @@ function server() {
createdAt: '2026-10-08T00:00:00Z',
updatedAt: '2026-10-08T00:00:01Z'
}
else if (path.endsWith('/checkpoints')) data = context.checkpoints.value
else if (path.endsWith('/checkpoints?view=summary')) data = context.summaryQuery.data.value
else if (path.endsWith('/subject-forms')) data = [form]
else if (path.endsWith('/production/entry-readiness')) data = { ready: true, derivedAssets: { shotCount: 1 } }
else if (path.includes('/storyboard-visual-states'))
@@ -464,7 +464,7 @@ describe('高级串联生产的安全边界', () => {
button('确认启动串联生产').click()
await flushPromises()
expect(posts()).toHaveLength(1)
expect(document.body.textContent).toContain('流程返回不等于成片完成')
expect(document.body.textContent).toContain('成片进度请到素材页查看')
expect(document.body.textContent).toContain(receipt.errors[0])
expect(document.body.textContent).toContain('已提交 1')
expect(document.body.textContent).toContain('任务已分发,等待视频完成')