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.
Problem
When the focus is in the
DESCRIPTIONfield 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
DESCRIPTIONfield 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.