cmvr-visual/docs/design/2026-11-13-task-inline-results.md
zhanghao 88cf14d794 feat: consolidate story studio and editable automatic production
Restructure backend and frontend modules; add story, library, and editor schema migrations.

Support editable automatic production, manual confirmation modes, account and user lifecycle management, compact container scrolling, consistent forms, and per-task result previews.

Update inference and TTS scheduling, deployment guidance, and regression coverage; remove obsolete standalone pages and temporary acceptance artifacts.
2026-11-14 14:07:26 +08:00

17 lines
1.8 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 任务项内预览与删除提示横排
用户要求将运行底部汇总成果预览移入各自阶段任务项,每项只显示一个预览入口;删除记录按钮与说明左右排列。仅调整前端,不改任务执行、删除规则或现有数据,不提交Git。
- 阶段按result.asset_id或当前selected_job_id的成果映射,使用素材ID区分同名文件;复用阶段没有Job时仍能预览。
- 单成果直接使用现有AssetPreview,多成果保留单一按钮通过菜单选择;未完成/无成果不显示错误或旧尝试成果。移除底部逐资产按钮列表。
- 删除组件保持原权限、确认与版本检查,展示改为横排,说明在右侧可换行而不压缩按钮。
- 验证覆盖重复文件名、复用、多成果、显式重试及更新后的Job;浏览器以17阶段任务的桌面布局为主,抽查窄屏不横向溢出。
验证完成:
- 全量53文件326项前端测试通过,类型检查、格式与生产构建通过;最后菜单文案和长标题样式调整后,4个RunCard测试文件17项及类型/构建再次通过。
- 浏览器1440×900、1920×1080、390×844均通过。17阶段中16个成功阶段各一个入口、等待合成阶段无入口;34次逐项预览的src与下载ID全部正确,覆盖无Job复用、反序成果列表和同名多成果选择。
- 删除说明在按钮右侧,水平间距12px、垂直中心一致;窄屏说明在右侧内部换行,页面不横向溢出。
- 兼容超长step_key压力场景中标题在卡片内换行,避免串到邻卡;默认测试使用真实短键frame_0001/video_0001。保留可复用 `frontend/tests/browser/task-results.cjs`。
- 独立复核未发现P1/P2;本轮不改后端、真实任务、素材或数据库。API与前端仍就绪,临时截图已清理,Git索引不变,无暂存或提交。