Browse Source

Update issue templates

Mr.doob 4 years ago
parent
commit
0ded13bf4a
2 changed files with 29 additions and 35 deletions
  1. 19 27
      .github/ISSUE_TEMPLATE/bug_report.md
  2. 10 8
      .github/ISSUE_TEMPLATE/feature_request.md

+ 19 - 27
.github/ISSUE_TEMPLATE/bug_report.md

@@ -1,46 +1,38 @@
-**Describe the bug**
+---
+name: Bug report
+about: Create a report to help us improve
+title: ''
+labels: ''
+assignees: ''
 
 
-A clear and concise description of what the bug is. Before submitting, please remove unnecessary sections.
+---
 
 
+**Describe the bug**
+A clear and concise description of what the bug is.
 
 
 **To Reproduce**
 **To Reproduce**
-
 Steps to reproduce the behavior:
 Steps to reproduce the behavior:
-
 1. Go to '...'
 1. Go to '...'
 2. Click on '....'
 2. Click on '....'
 3. Scroll down to '....'
 3. Scroll down to '....'
 4. See error
 4. See error
 
 
-or copy, paste the relevant code snippet:
-
-```javascript
-console.log('hello three.js')
-```
-
-or create a live jsfiddle example:
-
-* [jsfiddle-latest-release](https://jsfiddle.net/hyok6tvj/)
-* [jsfiddle-dev](https://jsfiddle.net/c5m1kazu/)
-
-
 **Expected behavior**
 **Expected behavior**
-
 A clear and concise description of what you expected to happen.
 A clear and concise description of what you expected to happen.
 
 
-
 **Screenshots**
 **Screenshots**
+If applicable, add screenshots to help explain your problem.
 
 
-If applicable, add screenshots to help explain your problem (drag and drop the image)
-
-
-**Platform:**
- - Device: [Desktop, Smartphone]
- - OS: [Windows, MacOS, iOS, linux, Android]
- - Browser: [stock browser, chrome, firefox, safari, edge, IE]
- - Three.js version: [dev, r1XX, rXX]
+**Desktop (please complete the following information):**
+ - OS: [e.g. iOS]
+ - Browser [e.g. chrome, safari]
+ - Version [e.g. 22]
 
 
+**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**
 **Additional context**
-
 Add any other context about the problem here.
 Add any other context about the problem here.

+ 10 - 8
.github/ISSUE_TEMPLATE/feature_request.md

@@ -1,18 +1,20 @@
-**Is your feature request related to a problem? Please describe.**
+---
+name: Feature request
+about: Suggest an idea for this project
+title: ''
+labels: ''
+assignees: ''
 
 
-A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
+---
 
 
+**Is your feature request related to a problem? Please describe.**
+A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
 
 
 **Describe the solution you'd like**
 **Describe the solution you'd like**
-
 A clear and concise description of what you want to happen.
 A clear and concise description of what you want to happen.
 
 
-
 **Describe alternatives you've considered**
 **Describe alternatives you've considered**
-
 A clear and concise description of any alternative solutions or features you've considered.
 A clear and concise description of any alternative solutions or features you've considered.
 
 
-
 **Additional context**
 **Additional context**
-
-Add any other context or screenshots about the feature request here.
+Add any other context or screenshots about the feature request here.