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

fix(amplify-provider-awscloudformation): display mfa prompt #7866

Merged
merged 1 commit into from Aug 25, 2021
Merged

fix(amplify-provider-awscloudformation): display mfa prompt #7866

merged 1 commit into from Aug 25, 2021

Conversation

johnpc
Copy link
Contributor

@johnpc johnpc commented Aug 3, 2021

Description of changes

currently, the ora spinner is blocks the mfa prompt from appearing to the user.

Screen.Recording.2021-08-03.at.2.26.14.PM.mov

this commit makes sure a spinner is not running before prompting for mfa, then continues the spinner afterwords if required.

Screen.Recording.2021-08-03.at.2.26.58.PM.mov

Issue #, if available

fix #7848

Description of how you validated changes

Manually set up mfa and ran amplify push. See before and after screen recordings.

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

currently, the ora spinner is blocks the mfa prompt from appearing to the user. this commit makes sure a spinner is not running before prompting for mfa, then continues the spinner afterwords if required.
@johnpc johnpc requested a review from a team as a code owner August 3, 2021 18:38
@cjihrig cjihrig self-assigned this Aug 4, 2021
@cjihrig cjihrig merged commit 8947b18 into aws-amplify:master Aug 25, 2021
jhockett pushed a commit that referenced this pull request Aug 25, 2021
currently, the ora spinner is blocks the mfa prompt from appearing to the user. this commit makes sure a spinner is not running before prompting for mfa, then continues the spinner afterwords if required.
@cjihrig
Copy link
Contributor

cjihrig commented Aug 27, 2021

@johnpc this change appears to be causing E2E test failures: https://23881-145880460-gh.circle-artifacts.com/0/~/repo/packages/amplify-e2e-tests/amplify-e2e-reports/index.html

Are you able to fix this, or should I revert this change?

cjihrig added a commit that referenced this pull request Aug 27, 2021
…7866)" (#8054)

This reverts commit 8947b18.

The original commit was causing E2E test failures.

Co-authored-by: Colin Ihrig <colihrig@amazon.com>
@github-actions
Copy link

github-actions bot commented Sep 2, 2021

👋 Hi, this pull request was referenced in the v5.4.0 release!

Check out the release notes here https://github.com/aws-amplify/amplify-cli/releases/tag/v5.4.0.

@github-actions github-actions bot added the referenced-in-release Issues referenced in a published release changelog label Sep 2, 2021
marcvberg pushed a commit to marcvberg/amplify-cli that referenced this pull request Oct 13, 2021
…ify#7866)

currently, the ora spinner is blocks the mfa prompt from appearing to the user. this commit makes sure a spinner is not running before prompting for mfa, then continues the spinner afterwords if required.
marcvberg pushed a commit to marcvberg/amplify-cli that referenced this pull request Oct 13, 2021
…ws-amplify#7866)" (aws-amplify#8054)

This reverts commit 8947b18.

The original commit was causing E2E test failures.

Co-authored-by: Colin Ihrig <colihrig@amazon.com>
@johnpc johnpc mentioned this pull request Mar 10, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
referenced-in-release Issues referenced in a published release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MFA token code message is hidden
2 participants