microsoft / microsoft/vscode-pull-request-github
Confirmation popup for the Cancel button of pull request creation
@alexr00 y travaille déjà.
Depuis le 16/6/2026.
- Langage dominant
- TypeScript
- Étoiles
- 2.6k
- Forks
- 795
- Merge moyen
- 1 j 4 h
- PR mergées (30 j)
- 46
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Évaluation
Cette issue n'a pas encore été évaluée.