diff --git a/.github/ISSUE_TEMPLATE/new_bug_report.yaml b/.github/ISSUE_TEMPLATE/1.bug_report.yaml similarity index 97% rename from .github/ISSUE_TEMPLATE/new_bug_report.yaml rename to .github/ISSUE_TEMPLATE/1.bug_report.yaml index 67af1522298..72360b8b835 100644 --- a/.github/ISSUE_TEMPLATE/new_bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yaml @@ -1,4 +1,4 @@ -name: New Bug report +name: Bug report description: Create a report to help us improve Amplify JS title: '' issue_body: true @@ -10,9 +10,7 @@ body: - type: markdown attributes: value: | - For reference, the current versions of the Amplify JS packages are listed below. - - Please verify your issue against the latest version(s). + For reference, the current versions of the Amplify JS packages are listed below. Please verify your issue against the latest version(s) of the relevant package(s):
Click to expand version list @@ -61,13 +59,6 @@ body: attributes: value: | --- - - type: checkboxes - attributes: - label: Is this a production issue? - description: | - Are you experiencing this issue with a production application where end users are affected? - options: - - label: (check box if yes) - type: markdown attributes: value: | diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/2.feature_request.md similarity index 100% rename from .github/ISSUE_TEMPLATE/feature_request.md rename to .github/ISSUE_TEMPLATE/2.feature_request.md diff --git a/.github/ISSUE_TEMPLATE/usage-question.md b/.github/ISSUE_TEMPLATE/3.usage-question.md similarity index 100% rename from .github/ISSUE_TEMPLATE/usage-question.md rename to .github/ISSUE_TEMPLATE/3.usage-question.md diff --git a/.github/ISSUE_TEMPLATE/rfc.md b/.github/ISSUE_TEMPLATE/4.rfc.md similarity index 100% rename from .github/ISSUE_TEMPLATE/rfc.md rename to .github/ISSUE_TEMPLATE/4.rfc.md diff --git a/.github/ISSUE_TEMPLATE/5.bug_report.md b/.github/ISSUE_TEMPLATE/5.bug_report.md new file mode 100644 index 00000000000..fd26f14f260 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/5.bug_report.md @@ -0,0 +1,89 @@ +--- +name: Old Bug report +about: Create a report to help us improve +title: '' +labels: to-be-reproduced +assignees: '' +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: + +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Code Snippet** +Please provide a code snippet or a link to sample code of the issue you are experiencing to help us reproduce the issue. (Be sure to remove any sensitive data) + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**What is Configured?** +If applicable, please provide what is configured for Amplify CLI: + +- Which steps did you follow via Amplify CLI when configuring your resources. +- Which resources do you have configured? + - If applicable, please provide your `aws-exports` file: + ``` + const awsmobile = { + "aws_project_region": "us-east-1", + "aws_cognito_identity_pool_id": "us-east-1:xxx-xxxx-xxxx-xxxx-xxxxxxxx", + "aws_cognito_region": "us-east-1", + "aws_user_pools_id": "us-east-1_xxx", + "aws_user_pools_web_client_id": "xxxx", + "oauth": {} + }; + ``` + - If applicable, please provide your manual configuration example: + ``` + { + Auth: { + identityPoolId: 'XX-XXXX-X:XXXXXXXX-XXXX-1234-abcd-1234567890ab', + region: 'XX-XXXX-X', + identityPoolRegion: 'XX-XXXX-X', + userPoolId: 'XX-XXXX-X_abcd1234', + userPoolWebClientId: 'a1b2c3d4e5f6g7h8i9j0k1l2m3', + mandatorySignIn: false, + authenticationFlowType: 'USER_PASSWORD_AUTH', + oauth: { + domain: 'your_cognito_domain', + scope: ['phone', 'email', 'profile', 'openid', 'aws.cognito.signin.user.admin'], + redirectSignIn: 'http://localhost:3000/', + redirectSignOut: 'http://localhost:3000/', + responseType: 'code' // or 'token', note that REFRESH token will only be generated when the responseType is code + } + } + } + ``` +- If applicable, provide more configuration data, for example for Amazon Cognito, run `aws cognito-idp describe-user-pool --user-pool-id us-west-2_xxxxxx` (Be sure to remove any sensitive data) + +
+ Environment + + + +``` +npx envinfo --system --binaries --browsers --npmPackages --npmGlobalPackages +``` + +
+ +**Smartphone (please complete the following information):** + +- Device: [e.g. iPhone6] +- OS: [e.g. iOS8.1] +- Browser [e.g. stock browser, safari] +- Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. + +**_You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app._** diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index fc854e7c513..00000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: to-be-reproduced -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Code Snippet** -Please provide a code snippet or a link to sample code of the issue you are experiencing to help us reproduce the issue. (Be sure to remove any sensitive data) - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**What is Configured?** -If applicable, please provide what is configured for Amplify CLI: -* Which steps did you follow via Amplify CLI when configuring your resources. -* Which resources do you have configured? - * If applicable, please provide your `aws-exports` file: - ``` - const awsmobile = { - "aws_project_region": "us-east-1", - "aws_cognito_identity_pool_id": "us-east-1:xxx-xxxx-xxxx-xxxx-xxxxxxxx", - "aws_cognito_region": "us-east-1", - "aws_user_pools_id": "us-east-1_xxx", - "aws_user_pools_web_client_id": "xxxx", - "oauth": {} - }; - ``` - * If applicable, please provide your manual configuration example: - ``` - { - Auth: { - identityPoolId: 'XX-XXXX-X:XXXXXXXX-XXXX-1234-abcd-1234567890ab', - region: 'XX-XXXX-X', - identityPoolRegion: 'XX-XXXX-X', - userPoolId: 'XX-XXXX-X_abcd1234', - userPoolWebClientId: 'a1b2c3d4e5f6g7h8i9j0k1l2m3', - mandatorySignIn: false, - authenticationFlowType: 'USER_PASSWORD_AUTH', - oauth: { - domain: 'your_cognito_domain', - scope: ['phone', 'email', 'profile', 'openid', 'aws.cognito.signin.user.admin'], - redirectSignIn: 'http://localhost:3000/', - redirectSignOut: 'http://localhost:3000/', - responseType: 'code' // or 'token', note that REFRESH token will only be generated when the responseType is code - } - } - } - ``` -* If applicable, provide more configuration data, for example for Amazon Cognito, run `aws cognito-idp describe-user-pool --user-pool-id us-west-2_xxxxxx` (Be sure to remove any sensitive data) - - -
- Environment - - - -``` -npx envinfo --system --binaries --browsers --npmPackages --npmGlobalPackages -``` - -
- -**Smartphone (please complete the following information):** - -- Device: [e.g. iPhone6] -- OS: [e.g. iOS8.1] -- Browser [e.g. stock browser, safari] -- Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. - -**_You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app._** \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index dd4fc362a9c..e92f704c401 100644 --- a/.prettierignore +++ b/.prettierignore @@ -9,3 +9,4 @@ package-lock.json www .stencil PULL_REQUEST_TEMPLATE.md +ISSUE_TEMPLATE/*.md