Skip to content
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

Merged
merged 3 commits into from
Jun 18, 2020
Merged

Hook up deletion for MIAA #10991

merged 3 commits into from
Jun 18, 2020

Conversation

Charles-Gagnon
Copy link
Contributor

Hooking up the deletion button for MIAA and updating PG and MIAA to use the same deletion request prompt.

Capture

Also improved the error message when an HttpError occurs since the default message wasn't very useful (would just say HTTP request failed)

image

@coveralls
Copy link

coveralls commented Jun 17, 2020

Coverage Status

Coverage decreased (-0.1%) to 34.966% when pulling a7ed5c8 on chgagnon/promptForDeletion into 95107f1 on main.

});
inputBox.onDidHide(() => {
if (!valueAccepted) {
resolve(false);
Copy link
Contributor

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();
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@Charles-Gagnon Charles-Gagnon merged commit dc751db into main Jun 18, 2020
@Charles-Gagnon Charles-Gagnon deleted the chgagnon/promptForDeletion branch June 18, 2020 14:16
ktech99 pushed a commit that referenced this pull request Aug 23, 2020
* Hook up deletion for MIAA

* fix button disabling

* cannot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants