From 999bae64a467d6fbd49d94c567d44b173c8f7d7d Mon Sep 17 00:00:00 2001 From: Alex Ross <38270282+alexr00@users.noreply.github.com> Date: Tue, 29 Apr 2025 16:46:25 +0200 Subject: [PATCH] Changing issue assignees has bad progress reporting Fixes #6865 --- src/github/issueOverview.ts | 2 ++ src/github/pullRequestOverview.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/src/github/issueOverview.ts b/src/github/issueOverview.ts index 35f6a2bd87..220cd31ab6 100644 --- a/src/github/issueOverview.ts +++ b/src/github/issueOverview.ts @@ -316,6 +316,7 @@ export class IssueOverviewPanel extends W const hidePromise = asPromise(quickPick.onDidHide); const labelsToAdd = await Promise.race([acceptPromise, hidePromise]); quickPick.busy = true; + quickPick.enabled = false; if (labelsToAdd) { await this._item.setLabels(labelsToAdd.map(r => r.label)); @@ -393,6 +394,7 @@ export class IssueOverviewPanel extends W const hidePromise = asPromise(quickPick.onDidHide); const allAssignees = await Promise.race<(vscode.QuickPickItem & { user: IAccount })[] | void>([acceptPromise, hidePromise]); quickPick.busy = true; + quickPick.enabled = false; if (allAssignees) { const newAssignees: IAccount[] = allAssignees.map(item => item.user); diff --git a/src/github/pullRequestOverview.ts b/src/github/pullRequestOverview.ts index 62657bd527..f8aa75636e 100644 --- a/src/github/pullRequestOverview.ts +++ b/src/github/pullRequestOverview.ts @@ -387,6 +387,7 @@ export class PullRequestOverviewPanel extends IssueOverviewPanel(quickPick.onDidHide); const allReviewers = await Promise.race<(IAccount | ITeam)[] | void>([acceptPromise, hidePromise]); quickPick.busy = true; + quickPick.enabled = false; if (allReviewers) { const newUserReviewers: IAccount[] = [];