microsoft / microsoft/vscode-pull-request-github

Confirmation popup for the Cancel button of pull request creation

オープン
#8,795 コメント 1 件 リアクション 1 件 担当者 2 名 GitHub で見る

@alexr00 がすでに取り組んでいます。

2026年6月16日 から。

主要言語
TypeScript
スター
2.6k
フォーク
795
平均マージ
1日 4時間
マージ済み PR(30日)
46

説明

Problem

When the focus is in the DESCRIPTION field of pull request creation, pressing tab and space cancels pull request creation and discards everything that has been entered (because the Cancel button is next in the tab order). I have just done this accidentally for about the third time and lost something like an hour of work, including issue and pull request numbers that I looked up via blame and commit logs, careful descriptions of problems and code changes, etc., and I'm going to have to re-do all of it.

Suggestion

When the user clicks Cancel, if the DESCRIPTION field has text in it, then please present a confirmation popup that asks if the user really wants to discard their changes, just like everywhere else in vscode:

Image

This would allow accidental activations of the Cancel button to be aborted and many minutes of work saved.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。