feat(generate): simplify scope option copy

This commit is contained in:
chengma
2026-07-18 17:39:10 +08:00
parent bcab01d408
commit 15bd62597a
6 changed files with 17 additions and 10 deletions
+5 -2
View File
@@ -1,7 +1,7 @@
---
id: T-665
title: 生成范围按钮文案简化
status: TODO
status: DONE
phase: 7
deps: [T-663]
created: 2026-07-18
@@ -51,4 +51,7 @@ git diff --check
## 执行记录
- 待实现。
- ②范围选择框默认按钮改为“生成架上商品”,扩展按钮改为“生成全部商品”;保留原有 objectName、颜色、禁用条件、布局、键盘行为与 `normal_only/all/None` 返回值。
- 说明文字明确“架上商品”只将检测结果为正常的商品交给 AI,“全部商品”还会处理未上架、审核中和状态未知商品并可能额外消耗点数;①采集范围文案未改。
- 同步更新 `docs/routes.md`、`docs/04-architecture.md`、`docs/api.md` 和 GUI 断言。
- 验证通过:`py -3.10 -m unittest tests.test_gui`(202 项)、`py -3.10 -m unittest discover -s tests`(617 项)、`py -3.10 -m ruff check app tests main.py`、`py -3.10 -m compileall app main.py`、`git diff --check`。