From 06fadfb89dabbf85b3ec74b4e6248eee2c297cab Mon Sep 17 00:00:00 2001 From: Sam Martinez Date: Tue, 21 Apr 2020 12:06:04 -0700 Subject: [PATCH] chore: (Update bug templates) (#5481) * chore: (Update bug templates) --- .github/ISSUE_TEMPLATE/bug_report.md | 50 +++++++++++++++++++---- .github/ISSUE_TEMPLATE/feature_request.md | 1 + 2 files changed, 44 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 4a9fbc01ca0..55cf76a8d5e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -4,6 +4,7 @@ about: Create a report to help us improve title: '' labels: to-be-reproduced assignees: '' + --- **Describe the bug** @@ -17,16 +18,54 @@ Steps to reproduce the behavior: 3. Scroll down to '....' 4. See error --- or -- - -Link to sample code - **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 @@ -48,7 +87,4 @@ npx envinfo --system --binaries --browsers --npmPackages --npmGlobalPackages **Additional context** Add any other context about the problem here. -**Sample code** -Include additional sample code or a sample repository to help us reproduce the issue. (Be sure to remove any sensitive data) - **_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/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 54e433681c0..66eeb1f2ce7 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -4,6 +4,7 @@ about: Suggest an idea for this project title: '' labels: feature-request assignees: '' + --- **Is your feature request related to a problem? Please describe.**