microsoft / microsoft/vscode-pull-request-github

Checkout process should better handle slower speeds

未关闭
#192 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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

  1. Throttle speed
  2. Open PR
  3. Click on "Checkout"
  4. 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

gif

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。