docs(bugs): BUG-1079 deployed to staging dc640931

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
This commit is contained in:
Jesse_Chen
2026-09-28 18:05:23 +08:00
co-authored by Claude Opus 5.5
parent dc640931b1
commit 1d2af8ee18
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -14516,7 +14516,7 @@
## BUG-1079 | 全站实心按钮:层外 `button { color: inherit }` 压掉组件文字色,`.button-primary` 浅色 3.14:1,禁用态整体淡化
- 状态:待部署核对(Claude 独立验收通过:新 build harness 全表达标、npm test 失败名单与基线 diff 为空;真机未走)
- 状态:resolved(已部署 staging `dc640931`:门禁 run 2995 / 迁移 2996 / 部署 2997 全绿,`/api/health` `gitCommit` = `apiGitCommit` = `dc640931`;harness 对 staging 线上 CSS 复测:实心浅 4.85 / 深 5.77,禁用灰 opacity 1;真机清单 `docs/testing/site-button-contrast-20260928.md` 待产品)
- 首次发现 / 最近更新:2026-09-28 / 2026-09-28
- 影响面:用户页面全部渲染为 `<button>` 的实心 `<Button>`(点数 / 订阅面板、星历、生时校正对话、输入框发送 / 停止键;报告页已由 BUG-1078 局部修过)、全部 `.button-primary`(登录、首次引导、人物档案、首页、生时校正各卡、兑换码付费墙、星盘资料表单、首页错误屏,共 30 个)、日期选择器选中日;全部实心按钮的禁用态。后台管理路由不加载 `globals.css`(只有字体、`antd/dist/reset.css` 与 `admin.css`),其中 52 个 shadcn `<Button>` 本来就没有任何 Tailwind 样式,不在本条影响面内(见下「另发现」)。
- 现象:产品在 BUG-1078 验收后要求全站扫一遍。Claude 用 AST 列出 213 个按钮,并用 staging 线上 CSS 在无头 Chrome 实测:实心 `<Button>` 浅色 #1d1d1f 在 #a9583e 上 3.33:1、深色 #f2f0ea 在 #d78064 上 2.57:1;`.button-primary` 与发送键浅色 #fbfaf7 在 #cc785c 上 3.14:1;禁用态 45% 透明,1.49–2.30:1。
@@ -14528,5 +14528,5 @@
- 另发现(不在本条修复内):① 后台管理路由不加载 Tailwind,52 个 shadcn `<Button>` 渲染为 antd reset 下的无样式按钮;② 层外 `button, input, textarea, select { font: inherit; }` 同理压掉 `<Button>` 的 `text-sm`,用户页 `<Button>` 实际是 16px。两条都写进 `BLOCKED.md` 待产品决定是否立单。
- 相关记录:BUG-1078(报告页局部修复,本条取代其覆盖)、BUG-738(action 两档对比度);`TASK-site-button-contrast-20260928`。
- 复发自:BUG-1078(同一根因,1078 只修了报告作用域)
- 修复版本:`12aac87b` + 文档 `fa58df16`(推 staging 后回填部署 SHA)
- 修复版本:`12aac87b` + 文档 `fa58df16`,随 `dc640931` 部署 staging。