Skip to content

Commit 5af2e1a

Browse files
chore(issue templates): reorder (#7962)
* chore(issue templates): reorder * fix auto format * update(issue form) remove prod checkbox Co-authored-by: Sam Martinez <samlmar@amazon.com>
1 parent 92d8d80 commit 5af2e1a

7 files changed

+92
-101
lines changed

.github/ISSUE_TEMPLATE/new_bug_report.yaml .github/ISSUE_TEMPLATE/1.bug_report.yaml

+2-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: New Bug report
1+
name: Bug report
22
description: Create a report to help us improve Amplify JS
33
title: ''
44
issue_body: true
@@ -10,9 +10,7 @@ body:
1010
- type: markdown
1111
attributes:
1212
value: |
13-
For reference, the current versions of the Amplify JS packages are listed below.
14-
15-
Please verify your issue against the latest version(s).
13+
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):
1614
1715
<details>
1816
<summary>Click to expand version list</summary>
@@ -61,13 +59,6 @@ body:
6159
attributes:
6260
value: |
6361
---
64-
- type: checkboxes
65-
attributes:
66-
label: Is this a production issue?
67-
description: |
68-
Are you experiencing this issue with a production application where end users are affected?
69-
options:
70-
- label: (check box if yes)
7162
- type: markdown
7263
attributes:
7364
value: |
File renamed without changes.
+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
---
2+
name: Old Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: to-be-reproduced
6+
assignees: ''
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Code Snippet**
24+
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)
25+
26+
**Screenshots**
27+
If applicable, add screenshots to help explain your problem.
28+
29+
**What is Configured?**
30+
If applicable, please provide what is configured for Amplify CLI:
31+
32+
- Which steps did you follow via Amplify CLI when configuring your resources.
33+
- Which resources do you have configured?
34+
- If applicable, please provide your `aws-exports` file:
35+
```
36+
const awsmobile = {
37+
"aws_project_region": "us-east-1",
38+
"aws_cognito_identity_pool_id": "us-east-1:xxx-xxxx-xxxx-xxxx-xxxxxxxx",
39+
"aws_cognito_region": "us-east-1",
40+
"aws_user_pools_id": "us-east-1_xxx",
41+
"aws_user_pools_web_client_id": "xxxx",
42+
"oauth": {}
43+
};
44+
```
45+
- If applicable, please provide your manual configuration example:
46+
```
47+
{
48+
Auth: {
49+
identityPoolId: 'XX-XXXX-X:XXXXXXXX-XXXX-1234-abcd-1234567890ab',
50+
region: 'XX-XXXX-X',
51+
identityPoolRegion: 'XX-XXXX-X',
52+
userPoolId: 'XX-XXXX-X_abcd1234',
53+
userPoolWebClientId: 'a1b2c3d4e5f6g7h8i9j0k1l2m3',
54+
mandatorySignIn: false,
55+
authenticationFlowType: 'USER_PASSWORD_AUTH',
56+
oauth: {
57+
domain: 'your_cognito_domain',
58+
scope: ['phone', 'email', 'profile', 'openid', 'aws.cognito.signin.user.admin'],
59+
redirectSignIn: 'http://localhost:3000/',
60+
redirectSignOut: 'http://localhost:3000/',
61+
responseType: 'code' // or 'token', note that REFRESH token will only be generated when the responseType is code
62+
}
63+
}
64+
}
65+
```
66+
- 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)
67+
68+
<details>
69+
<summary><strong>Environment</strong></summary>
70+
71+
<!-- Please run the following command inside your project and copy/paste the output into the codeblock: -->
72+
73+
```
74+
npx envinfo --system --binaries --browsers --npmPackages --npmGlobalPackages
75+
```
76+
77+
</details>
78+
79+
**Smartphone (please complete the following information):**
80+
81+
- Device: [e.g. iPhone6]
82+
- OS: [e.g. iOS8.1]
83+
- Browser [e.g. stock browser, safari]
84+
- Version [e.g. 22]
85+
86+
**Additional context**
87+
Add any other context about the problem here.
88+
89+
**_You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app._**

.github/ISSUE_TEMPLATE/bug_report.md

-90
This file was deleted.

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ package-lock.json
99
www
1010
.stencil
1111
PULL_REQUEST_TEMPLATE.md
12+
ISSUE_TEMPLATE/*.md

0 commit comments

Comments
 (0)