microsoft / microsoft/vscode-pull-request-github

Confirmation popup for the Cancel button of pull request creation

Aperta
#8,795 1 commento 1 reazione 2 assegnatari Vedi su GitHub

@alexr00 ci sta già lavorando.

Dal 16/6/2026.

Lingua principale
TypeScript
Stelle
2.6k
Fork
796
Merge medio
1g 4h
PR unite (30g)
46

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.