Skip to content

Commit 70b2ea6

Browse files
authored
chore: use npxinfo to simplify bug reports (aws-amplify#4267)
* Use npxinfo to simplify bug reports * Use <details> for envinfo * Fix <details> formatting * Fix typo * Default to to-be-triaged instead of bug
1 parent 8a8ca87 commit 70b2ea6

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Bug report
33
about: Create a report to help us improve
44
title: ''
5-
labels: bug
5+
labels: to-be-triaged
66
assignees: ''
77

88
---
@@ -28,11 +28,16 @@ A clear and concise description of what you expected to happen.
2828
**Screenshots**
2929
If applicable, add screenshots to help explain your problem.
3030

31-
**Desktop (please complete the following information):**
31+
<details>
32+
<summary><strong>Environment</strong></summary>
33+
34+
<!-- Please run the following command inside your project and copy/paste the output into the codeblock: -->
35+
```
36+
npx envinfo --system --binaries --browsers --npmPackages --npmGlobalPackages
37+
```
38+
39+
</details>
3240

33-
- OS: [e.g. iOS]
34-
- Browser [e.g. chrome, safari]
35-
- Version [e.g. 22]
3641

3742
**Smartphone (please complete the following information):**
3843

@@ -41,10 +46,6 @@ If applicable, add screenshots to help explain your problem.
4146
- Browser [e.g. stock browser, safari]
4247
- Version [e.g. 22]
4348

44-
**Amplify context**
45-
- Framework (e.g. React, Angular, Vue, React Native)
46-
- Versions of Amplify you are using
47-
4849
**Additional context**
4950
Add any other context about the problem here.
5051

0 commit comments

Comments
 (0)