-
Notifications
You must be signed in to change notification settings - Fork 911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hook up deletion for MIAA #10991
Hook up deletion for MIAA #10991
Conversation
}); | ||
inputBox.onDidHide(() => { | ||
if (!valueAccepted) { | ||
resolve(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the inputBox need to be disposed in this case too?
inputBox.placeholder = name; | ||
return new Promise(resolve => { | ||
let valueAccepted = false; | ||
inputBox.show(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it setup the onDid callbacks before showing the input box? They could type really fast and submit before the callbacks are setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D'oh, missed seeing these before hitting submit. I'll get them in another PR.
* Hook up deletion for MIAA * fix button disabling * cannot
Hooking up the deletion button for MIAA and updating PG and MIAA to use the same deletion request prompt.
Also improved the error message when an HttpError occurs since the default message wasn't very useful (would just say HTTP request failed)