microsoft / microsoft/vscode-pull-request-github

Confirmation popup for the Cancel button of pull request creation

Ouverte
#8,795 1 commentaire 1 réaction 2 personnes assignées Voir sur GitHub

@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:

Image

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

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.