Hit box for tree collapse vs mark file as viewed is wrong
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 58/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript, vscode
调研方向
Start in the GitHub Pull Request View code that renders the changed-file tree and the "file viewed" checkbox, then inspect how their click targets overlap. Reproduce with a click near the checkbox's left edge and compare it with clicks on the other edges. Done when clicks inside the checkbox toggle viewed state without collapsing the directory, while clicks on the collapse control still work.
由索引模型根据 Issue 内容生成。
描述
- Extension version: 0.175.2026102804
- VSCode Version: 1.444.0 (happens with other older versions too)
- OS: Linux, Ubuntu, GNOME, Wayland
- Repository Clone Configuration (single repository/fork of an upstream repository): Single repository
- GitHub Product (GitHub.com/GitHub Enterprise version x.x.x): GitHub.com
Steps to Reproduce:
- Check out a PR
- Go to the GitHub Pull Request View
- Place the pointer fully inside the "file viewed" checkbox, but near the edge
- Click the mouse
- Observe that it collapses the item instead of checking the box
This screenshot shows a pointer click location that will not check the box:
Observe that there is clear space inside the checkbox on all sides of the pointer.
And yet, clicking here toggles the collapse/expand of the directory instead.
Interestingly, the hitbox boundary is precisely placed on the right, top, and bottom sides.
- 主要语言
- TypeScript
- 星标
- 2.6k
- 派生
- 807
- 平均合并
- 2 天 16 小时
- 30 天内合并 PR
- 71
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/vscode-pull-request-github 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
microsoft/vscode-pull-request-github#9072 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
microsoft/vscode-pull-request-github#8792 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 56/100
microsoft/vscode-pull-request-github#9125 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 56/100
microsoft/vscode-pull-request-github#9113 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 55/100
microsoft/vscode-pull-request-github#9108 ·
维护者通常 1 天内回复
查看 microsoft/vscode-pull-request-github 的全部 Issue
相似的 Issue
-
fix(worker): keep normal prepare waiting states failure-free可能已有人在做 @LichKing-2234 今天认领。 未关闭agent:codex priority:P1
难度 2/5 1-3 小时 新手友好度 72/100
AgoraIO-Extensions/agent-infra#3745 ·
维护者通常 1 天内回复
-
The five-line work window can drop its oldest line: the per-line byte share ignores the JSON framing可能已有人在做 @Eapp1e 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
makecindy/cindy#7973 · 1 条评论 ·
维护者通常 1 天内回复
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
难度 1/5 1 小时以内 新手友好度 78/100
lingdojo/kana-dojo#33337 · 1 条评论 · 5 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
code-yeongyu/senpi#4917 · 1 条评论 ·
维护者通常 1 天内回复