feat(product-suite): support temporary item drafts
This commit is contained in:
+6
-1
@@ -1,7 +1,7 @@
|
||||
---
|
||||
id: T-636
|
||||
title: 商品套图支持无商品ID临时草稿与正式绑定
|
||||
status: TODO
|
||||
status: DONE
|
||||
phase: 7
|
||||
deps: [T-622, T-635]
|
||||
created: 2026-07-16
|
||||
@@ -163,3 +163,8 @@ git diff --check
|
||||
- 不物理删除用户图片目录。
|
||||
|
||||
## 执行记录
|
||||
|
||||
- 2026-07-16:`image_studio_projects` 增加并迁移 `storage_key`、`binding_state`;实现临时草稿创建、原地正式绑定、冲突检查、空草稿软删除和启动恢复查询。既有正式项目回填为 `bound`,图片目录稳定使用 `storage_key`。
|
||||
- 2026-07-16:⑥商品套图支持无商品 ID 的本地图片导入、AI 帮写和生成;临时草稿不会把内部 `draft_` 标识传入 cmhub 上下文。草稿拉取蝦皮主图在 worker、Chrome/CDP 前阻断;输入数字 ID 后经确认原地绑定,关闭非空草稿支持保留、软删除或取消。
|
||||
- 2026-07-16:补充数据迁移、目录稳定性、导入失败清理、提示词脱敏、草稿恢复和 GUI 绑定/拉取边界测试;在 `1180x760` 进行离屏布局检查,无控件重叠。
|
||||
- 验证(隔离工作树):`py -3.10 -m unittest discover -s tests`(507 通过)、`py -3.10 -m ruff check app tests main.py`、`py -3.10 -m compileall app main.py`、`git diff --check` 全部通过。
|
||||
|
||||
Reference in New Issue
Block a user