fix(rectification): hide option hover impact and composer step strip (BUG-575)
Hovering A/B/C/D rewrote a leading/lagging time line and made the card flicker; the step-state sentence above the composer was instructional filler, not something the user needed to answer. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -8902,4 +8902,20 @@
|
||||
- 复发自:无
|
||||
- 修复版本:`b466a6fc8cbb17d48c5aa242dbafd44b9a7c651b`
|
||||
|
||||
## BUG-575 | 生时校正选项悬停时间解释闪动,输入框上方步骤提示是套话
|
||||
|
||||
- 状态:resolved
|
||||
- 首次发现:2026-09-07
|
||||
- 最近更新:2026-09-07
|
||||
- 影响面:`RectificationChoiceCard`、`RectificationAgenticChat` 输入框上方步骤条
|
||||
- 用户现象:鼠标在 A/B/C/D 选项间移动时,选项下方出现「会让 … 这段领先/落后」并随悬停切换不断闪动;输入框上方还有「第 N 步·… — … — 下一步:…」套话。
|
||||
- 触发条件:生时校正出现选择题后,鼠标在选项间来回移动;或进入校正对话看到输入框。
|
||||
- 根因:选择题把 `answer_impact` 绑到 `onMouseEnter`/`onFocus`,悬停切换会改写同一行文案并撑开布局。步骤条把服务端 `step_state` 拼成输入框上方提示。
|
||||
- 修复:选项不再监听悬停、不再渲染 `answer_impact`。输入框上方不再展示步骤条;采集题的「先这样」按钮仍保留在输入框上方。服务端仍可生成 `answer_impact` 和 `step_state`,只是用户界面不再读出来。
|
||||
- 验证:`frontend/tests/rectification-surface-contract.test.ts`、`frontend/tests/rectification-step-state-20260906.test.ts`、`frontend/tests/rectification-v9-contracts.test.ts`。
|
||||
- 防复发:选择题源码不得再出现 `onMouseEnter` 或 `rectification-choice-impact`;聊天源码不得再出现 `rectification-step-state`。
|
||||
- 相关记录:无
|
||||
- 复发自:无
|
||||
- 修复版本:待发布
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user