feat(product-suite): add global generation history

This commit is contained in:
chengma
2026-07-17 09:59:55 +08:00
parent f1dc7f28dc
commit e232097ba5
13 changed files with 1409 additions and 52 deletions
+5 -1
View File
@@ -3,7 +3,7 @@ id: T-646
title: 商品套图全局历史生成列表与按轮导出
phase: 7
deps: [T-643, T-644]
status: TODO
status: DONE
created: 2026-07-17
---
@@ -119,3 +119,7 @@ git diff --check
## 执行记录
- 2026-07-17:根据产品讨论创建任务。待实现。
- 2026-07-17:新增 `list_global_generation_rounds()` 跨项目轮次查询,排除软删除项目,支持店铺/账号、商品 ID、当前项目与分页筛选;正常轮次按稳定槽位只统计最新有效 job,重试只计入重试数,旧版 NULL 轮次保持兼容语义。
- 2026-07-17:⑥「历史生成」改为可复用的全局非模态窗口,支持筛选、每轮最多5张缩略图和余量提示、从指定图片开始的轮次原尺寸浏览;关闭任务页不会关闭该窗口。
- 2026-07-17:新增后台按轮导出,只复制成功且本地存在的图片到安全命名的新目录,保留源 asset,目录冲突自动追加序号,并在 GUI 汇总中文结果。
- 验证通过:`py -3.10 -m unittest discover -s tests`(568 项)、`py -3.10 -m ruff check app tests main.py`、`py -3.10 -m compileall app main.py`、`git diff --check`。