fix(Graph): CI 与提交详情 Tooltip 互斥 + 引用胶囊完整显示,并合入 #75 依赖升级 - #76
Merged
ThreeFish-AI merged 2 commits intoJul 4, 2026
Conversation
问题1(两浮层叠加):鼠标在 CI 图标上时,CI 详情浮层与提交详情浮层同时显示、后者覆盖前者。 根因:commit 的 mouseover 命中 CI 图标时仅 return,未隐藏已显示/在途的提交浮层;CI 的 mouseover 显示 CI 浮层时也未隐藏提交浮层。 修复(二者严格互斥): - commit mouseover 命中 CI 图标 → 即时 hideCommitTip()(含取消在途 400ms 定时器)再 return; - CI mouseover → 先 hideCommitTip() 再 scheduleShow(CI); - CI mouseout 回落到同行行体(非 CI 区)→ scheduleShowCommit 切回提交浮层。 经 Playwright 模拟 hover 序列验证:行体→仅提交浮层;CI 图标→仅 CI 浮层;移回行体→仅提交浮层。 问题2(引用胶囊截断):提交浮层内 Branches/Tags 等胶囊沿用行内 .chip 的 max-width:160px + 省略号,长名被截断(…)。 修复:#commit-tip 内覆盖为 max-width:none + chip-nm 换行不截断(overflow visible / word-break), 浮层空间充足,refs 区已 flex-wrap 换行承载。 验证:check-types/lint/生产打包/349 单测通过;Playwright 动态验证互斥;harness 核实胶囊完整显示。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
…/fix-log-view-commit-tooltip
This was referenced Jul 4, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
背景
承接已合并的 #74(修复 Tooltip 两处回归)。#74 合并后发现 CI 与提交详情两个浮层在 CI 图标上叠加、且引用胶囊被截断,本 PR 修复;并合入 feature 基线新增的 #75 依赖升级。
变更(本 PR 净增量)
1.
fix(Graph)— CI 与提交详情 Tooltip 严格互斥 + 引用胶囊完整显示(7558feb)问题1:两浮层叠加。 鼠标在 CI 状态图标上时,CI 详情浮层与提交详情浮层同时显示、后者覆盖前者。
return,未隐藏已显示/在途的提交浮层;CI 的 mouseover 也未隐藏提交浮层。hideCommitTip()(含取消在途 400ms 定时器);hideCommitTip()再scheduleShow(CI);scheduleShowCommit切回提交浮层。问题2:引用胶囊截断。 提交浮层内 Branches/Tags 胶囊沿用行内
.chip的max-width:160px+ 省略号,长名被截断(…)。#commit-tip内覆盖为max-width:none+ 名称换行不截断(refs 区已flex-wrap承载),完整显示。2. 合入 feature 基线(merge commit)
target-branch: feature/1.x.x锚定)。package.json/pnpm-lock.yaml(含 vite 8.1.3 等)、.github/dependabot.yml(我的@types/vscodeignore 规则与 build(Deps): 4 项依赖升级转向 feature/1.x.x 并锚定 dependabot target-branch #75 的 target-branch 正确并存)。验证
🤖 Generated with Claude Code