From 9d62b88b052164ebce4f5fe3e00e60d2c5caf38b Mon Sep 17 00:00:00 2001 From: "mula.liu" Date: Tue, 3 Nov 2026 23:58:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E8=8C=83=E4=B8=8E=E9=97=B8=E9=97=A8?= =?UTF-8?q?=E6=94=B6=E5=8F=A3=EF=BC=9AR19=20=E5=8F=8D=E9=A6=88=E5=9B=9B?= =?UTF-8?q?=E7=BA=A7=E3=80=81R20=20=E6=A0=87=E9=A2=98=E5=89=8D=E4=B8=8D?= =?UTF-8?q?=E6=8C=82=E5=9B=BE=E5=BD=A2=E5=86=99=E8=BF=9B=E7=A1=AC=E8=A7=84?= =?UTF-8?q?=E5=88=99=EF=BC=8C=E6=8E=A2=E9=92=88=E8=A1=A5=E5=88=B0=E5=8D=81?= =?UTF-8?q?=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 这一笔只动文档、审计与闸门,代码一行没改——前三笔(b6a1df6 反馈表面、552b6b0 门牌图形) 把事做完了,但规范和闸门还停在第十八条 / 六道探针的状态:新规矩没进 §0 那张硬规则表就 等于没立;探针不落地,下一轮改动照样能悄悄长出第五套反馈皮肤。 补进去的规矩(§0 从 18 条到 20 条): · R19 反馈只有四级表面,各有唯一实现:行内 `ErrorText`/`LineHint` → 页面 `Notice` → 结果 `notify*`(自绘吐司)→ 确认 `confirmAction`(自绘确认框);`window.confirm` / `window.alert` / `Modal.confirm` / antd `message` / `notification` / 裸 `` 全站清零,也不许再给它们打样式补丁。新增 §13.3 一整节写四级的分工、吐司的四件事 (右下角堆叠 / 倒计时条与 JS 同源 / 同句去重成 ×N / 一屏最多 5 颗)和确认框的键盘映射。 · R20 标题前面不挂图形:门牌与卡头的一级标题左侧不许出现图标、色块、头像。 · 旧口径逐条纠正(10 处锚点全部命中才落盘):R16 ③ 与 §13.1 那张表里 `Notice`=antd `Alert`、§13.1 正文「图标由 Alert 自带」、§6.5 外壳表里 `App.tsx` 的「系统异常 `Alert` → 页面」、§6.1「Content 里除了异常 Alert 就是 ``」、§15.6 tagcheck 的豁免语「整段 Notice / Alert 保留 antd 语义底」、§13.3 症状里那个被真实换行截断的 code span。站内已经没有 `Alert` 这个名字了,文档留着它就是在教人写回旧写法。 · `docs/工程规范.md`:目录职责图与「谁可以 `import 'antd'`」那段摘掉 `stores/notice.ts` ——吐司自绘之后它不再 import antd,白名单从四处收成三处。 · README:闸门命令块补 `aligncheck` / `symmetrycheck` / `feedbackcheck` 三行,硬规则 摘要补第 6、7 两条审计的说明。 闸门: · `classaudit.mjs` 从五条判据加到七条。第 6 条静态禁反馈默认件(`window.confirm(` / `window.alert(` / `Modal.confirm(` / `message.xxx(` / `notification.xxx(` / 裸 ` 327457 bytes frontend/public/help/dashboard.png | Bin 296804 -> 296708 bytes frontend/public/help/delivery.png | Bin 314390 -> 347980 bytes frontend/public/help/dispatch.png | Bin 291893 -> 328683 bytes frontend/public/help/model-center.png | Bin 191748 -> 209963 bytes frontend/public/help/overview.png | Bin 325063 -> 294385 bytes frontend/public/help/review.png | Bin 450945 -> 430051 bytes frontend/public/help/scene-assets.png | Bin 305931 -> 315370 bytes frontend/public/help/storyboard-inspector.png | Bin 285928 -> 273324 bytes frontend/public/help/storyboard.png | Bin 540137 -> 525993 bytes frontend/public/help/timeline.png | Bin 353489 -> 347477 bytes frontend/public/help/voice-assets.png | Bin 235544 -> 223840 bytes scripts/ui/btnrowcheck.py | 201 ++++++ scripts/ui/classaudit.mjs | 107 ++- scripts/ui/feedbackcheck.py | 198 ++++++ scripts/ui/footercheck.py | 153 +++++ 19 files changed, 1251 insertions(+), 153 deletions(-) create mode 100755 scripts/ui/btnrowcheck.py create mode 100644 scripts/ui/feedbackcheck.py create mode 100644 scripts/ui/footercheck.py diff --git a/README.md b/README.md index 8af06ae..14034fb 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ │ FastAPI (backend/app/api) system · library · storyboard · pipeline · delivery · agent │ │ services: importer prompt preflight dispatch execution quality timeline compose agent │ │ costing ffmpeg audio storage events status daemon │ -│ providers: mock · http_generic · macos_say · comfyui + provider_models 模型注册表 │ +│ providers: mock · http_generic · comfyui(含 IndexTTS2 配音)+ provider_models 模型注册表 │ └───────┬───────────────────────────────────────────────┬─────────────────────────────────┘ │ TASK_EXECUTOR=celery │ TASK_EXECUTOR=inline(单机自检) ┌───────▼───────────────┐ ┌──────────▼───────────────┐ @@ -79,8 +79,8 @@ styles/ index.css(Tailwind @theme:语义名 → antd 落下来的 --ant- `applyRootVars(mode)` 在 `createRoot` 之前把 antd 算出来的 token 以 `--ant-*` 铺到 `:root`; Tailwind 的 `@theme` 只是把 `--ant-*` 转发成语义类名,控件与自绘区读同一批变量,不可能漂成两套。 硬边界:全仓库只有 `theme/` · `app/`(`providers.tsx` 与外壳 `layout/` 四件套直接铺 `Layout.*`, -外壳没有第二份实现,包一层只会多一个名字)· `components/{ui,forms}` · `stores/notice.ts` -(antd `message` 的唯一出口)可以 `import 'antd'`——R8,探针第 5 道闸逐行扫,不再只写在文档里; +外壳没有第二份实现,包一层只会多一个名字)· `components/{ui,forms}` 可以 `import 'antd'`—— +R8,探针第 5 道闸逐行扫,不再只写在文档里(吐司自绘后 `stores/notice.ts` 已从白名单摘掉); `.ant-*` 选择器只准出现在 `styles/app.css`;`pages/` 与 `app/` 里**一个原生 `