From 1cc669ce5ae9da5aee3fe44e2df28ee608145335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Mon, 26 Oct 2026 11:26:02 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20pre-launch=20cleanup=20iron=20rule=20?= =?UTF-8?q?=E2=80=94=20no=20fake/placeholder=20assets=20in=20production?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Code --- docs/superpowers/plans/2026-10-22-trade-pro-theme-port.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/superpowers/plans/2026-10-22-trade-pro-theme-port.md b/docs/superpowers/plans/2026-10-22-trade-pro-theme-port.md index a8f8c8d..2ae61df 100644 --- a/docs/superpowers/plans/2026-10-22-trade-pro-theme-port.md +++ b/docs/superpowers/plans/2026-10-22-trade-pro-theme-port.md @@ -387,6 +387,14 @@ def test_theme_color_map_covers_trade_pro(): 4. Hero 双按钮改横排(flex gap,620px 换行)——核对 pro.css hero 区现状 5. 验收方式:浏览器截图前后对照(Playwright),产品卡/特性卡/占位块三处逐一确认 +## 上线前清理铁律(2026-10-26 用户确认,适用于所有站点) + +1. 媒体本地化 100%——构建产物零外链图片(含上次镜像剩余 10 张) +2. 无图条目:补真实图或布局降级不显示占位 +3. 主题静态设计文案(信任条/优势四格/使命带/about 引导语)替换为客户真实资料或删区块——需要用户提供认证/优势/使命真实文案 +4. noindex 空栏目:填真实内容或从导航移除,不留空页 +5. 生产部署包只含构建产物与运行所需文件(不带 tests/examples/reports/demo) + ## 补丁登记(2026-10-23 V8_21_3 升级后现行清单,下次升级重放) 1. `app/core.py` discover_themes() 单一源;2. `app/theme_pro.py` env_for + theme_color + THEMES import;3. `app/theme_store.py` BUILTIN import;4. `app/builder.py` copy_blocks_css;5. `app/v8_workflows.py` 类型/分类;6. `app/multilingual.py` 站点级 locale 覆盖 + `PUT /api/i18n/sites/{id}/locale`(V8.15 locale 改写管线下英文站的正解);7. 前端 6 入口 + workspace.css 预览色;8. `tests/test_theme_pro_v3.py` 三处;9. compose 项目名钉 siteforge-v8-10 + .gitignore 追加;10. 保留目录:themes/trade-pro、tests/test_theme_registry.py、docs/superpowers。