fix(i18n): 反馈浮钮避开主操作区 + 英文设置页网络依据双语(dev-board#574 #575) - #799
Merged
Conversation
- #574 英文空会话占位折行把发送键推进右缘反馈浮钮范围,点击被浮钮吃掉。 改为主操作区打 data-awd-keep-clear 声明、浮钮只沿竖直方向让路 (utils/keepClear.js 纯几何 + FeedbackWidget 低频重判,让路不持久化)。 - app-e2e J12 点发送前断言 elementFromPoint 命中按钮自身,被盖住判红而非 skip; 工具名断言只在消息确实发出后执行。修复前 140/1 红,修复后 142/0。 - #575 NetworkRegionService.detectionBasis 改 LangText 双语,补中英单测。 - feedback-optimizer.md 补 keep-clear 契约地雷。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
data-awd-keep-clear,浮钮只沿竖直方向让路;让路是显示偏移,不写回拖动坐标、不持久化。elementFromPoint命中发送键,被遮挡判红;原来记 skip,工具名断言从未真执行。NetworkRegionService.detectionBasis双语化。验证
elementFromPoint 命中 SPAN "Feedback");修复后 142 通过 0 失败,J12 工具名断言真执行。node --test tests/feedback-widget/keep-clear.test.mjs7/7。NetworkRegionServiceTest红(英文期望拿到中文)→ 绿。补丁边界内(仅 frontend/ backend/src),随 v0.38.2 发(dev-board#571)。
🤖 Generated with Claude Code