-
Notifications
You must be signed in to change notification settings - Fork 820
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
feat: prep work for SMS Sandbox support #7302
Conversation
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.
Looks good!
Added some comments about naming as requested and some other comments about functionality.
...amplify-category-auth/src/provider-utils/awscloudformation/utils/auth-sms-workflow-helper.ts
Outdated
Show resolved
Hide resolved
...amplify-category-auth/src/provider-utils/awscloudformation/utils/auth-sms-workflow-helper.ts
Outdated
Show resolved
Hide resolved
conditions: { | ||
enabled: true, | ||
cliVersions: '4.41', | ||
startTime: new Date(Date.now() - ONE_DAY).toISOString(), |
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.
why do we use dynamic date for fact data instead of mocking the "current date" for the expect part in the test?
packages/amplify-cli-core/src/__tests__/banner-message/index.test.ts
Outdated
Show resolved
Hide resolved
packages/amplify-provider-awscloudformation/src/display-helpful-urls.js
Outdated
Show resolved
Hide resolved
packages/amplify-provider-awscloudformation/src/display-helpful-urls.js
Outdated
Show resolved
Hide resolved
This pull request introduces 2 alerts when merging d2788a6 into 78854eb - view on LGTM.com new alerts:
|
👋 Hi, this pull request was referenced in the v4.51.0 release! Check out the release notes here https://github.com/aws-amplify/amplify-cli/releases/tag/v4.51.0. |
* feat: add support for banner message * chore: add check for SMS sandbox status * chore: address review comments * chore: fix test * chore: fix lgtm error * chore: change env var name
* feat: add support for banner message * chore: add check for SMS sandbox status * chore: address review comments * chore: fix test * chore: fix lgtm error * chore: change env var name
Description of changes
SNS is going to launch SMS Sandbox experience soon. This is prep work on CLI to show a warning to customers when SMS sandbox support is released
Issue #, if available
Description of how you validated changes
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.