Skip to content

Commit

Permalink
chore: (Update bug templates) (aws-amplify#5481)
Browse files Browse the repository at this point in the history
* chore: (Update bug templates)
  • Loading branch information
sammartinez authored Apr 21, 2020
1 parent 84286be commit 06fadfb
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 7 deletions.
50 changes: 43 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ about: Create a report to help us improve
title: ''
labels: to-be-reproduced
assignees: ''

---

**Describe the bug**
Expand All @@ -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)


<details>
<summary><strong>Environment</strong></summary>

Expand All @@ -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._**
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.**
Expand Down

0 comments on commit 06fadfb

Please sign in to comment.