microsoft / microsoft/vscode-pull-request-github
Checkout process should better handle slower speeds
未关闭
还没有人认领这个 Issue。
performance
ux
- 主要语言
- TypeScript
- 星标
- 2.6k
- 派生
- 795
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 46
描述
Noticed this when I was on a slow connection, clicking on "Checkout" instantly disables the button, but while the process continues the button re-enables but the UI hasn't changes to reflect the change and I'm able to click on "Checkout" again.
Repro
- Throttle speed
- Open PR
- Click on "Checkout"
- See "Checkout" button get re-enabled after a few seconds while page is still processing (see progress bar in sidebar)
Expected
- Button should only be re-enabled once UI has updated

贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在 pull request checkout 流程中限制网络速度以重现该问题,同时观察 Checkout 按钮和侧边栏进度条。跟踪 checkout UI 的入口点及其处理状态;完成的标准是,在 UI 反映 checkout 更新已完成之前,按钮始终处于禁用状态。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github, typescript, vscode
- 领域
- developer-experience, frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100