microsoft / microsoft/vscode-pull-request-github
Confirmation popup for the Cancel button of pull request creation
@alexr00 arbeitet bereits daran.
Seit 16.6.2026.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2.6k
- Forks
- 795
- Ø Merge
- 1 T. 4 Std.
- Gemergte PRs (30 T.)
- 46
Beschreibung
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:
This would allow accidental activations of the Cancel button to be aborted and many minutes of work saved.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.