Browse Source

Merge pull request #20385 from DefinitelyMaybe/github-folder-enhancements

.github folder enhancements [remake]
Mr.doob 4 years ago
parent
commit
3f4ca1e0a4

+ 0 - 19
.github/CONTRIBUTING.md

@@ -1,22 +1,3 @@
-
-# Help
-The issues section is for bug reports and feature requests only. If you need help, please use the [forum](http://discourse.threejs.org/) or [stackoverflow](http://stackoverflow.com/questions/tagged/three.js).
-
-# Bugs
-#### Before reporting a bug
-
-1. Search issue tracker for similar issues.
-2. Try the latest dev branch version of three.js.
-3. Refer to the [Migration Guide](https://github.com/mrdoob/three.js/wiki/Migration) when upgrading to the dev version.
-
-#### How to report a bug
-
-1. Specify the revision number of the three.js library where the bug occurred.
-2. Specify your browser version, operating system, and graphics card. (for example, Chrome 23.0.1271.95, Windows 7, Nvidia Quadro 2000M)
-3. Describe the problem in detail. Explain what happened, and what you expected would happen.
-4. Provide a small test-case (http://jsfiddle.net). [Here is a fiddle](https://jsfiddle.net/3foLr7sn/) you can edit that runs the current version. [And here is a fiddle](https://jsfiddle.net/qgu17w5o/) that uses the dev branch. If a test-case is not possible, provide a link to a live version of your application.
-5. If helpful, include a screenshot. Annotate the screenshot for clarity.
-
 # Contribution
 #### Introduction
 

+ 0 - 39
.github/ISSUE_TEMPLATE.md

@@ -1,39 +0,0 @@
-##### Description of the problem
-
-This form is for three.js bug reports and feature requests only.
-
-This is NOT a help site. Do not ask help questions here.
-If you need help, please use the [forum](https://discourse.threejs.org/) or [stackoverflow](http://stackoverflow.com/questions/tagged/three.js).
-
-Describe the bug or feature request in detail.
-
-Always include a code snippet, screenshots, and any relevant models or textures to help us understand your issue.
-
-Please also include a live example if possible. You can start from these templates:
-
-* [jsfiddle](https://jsfiddle.net/hyok6tvj/) (latest release branch)
-* [jsfiddle](https://jsfiddle.net/c5m1kazu/) (dev branch)
-
-##### Three.js version
-
-- [ ] Dev
-- [ ] r120
-- [ ] ...
-
-##### Browser
-
-- [x] All of them
-- [ ] Chrome
-- [ ] Firefox
-- [ ] Internet Explorer
-
-##### OS
-
-- [x] All of them
-- [ ] Windows
-- [ ] macOS
-- [ ] Linux
-- [ ] Android
-- [ ] iOS
-
-##### Hardware Requirements (graphics card, VR Device, ...)

+ 46 - 0
.github/ISSUE_TEMPLATE/bug_report.md

@@ -0,0 +1,46 @@
+**Describe the bug**
+
+A clear and concise description of what the bug is. Before submitting, please remove unnecessary sections.
+
+
+**To Reproduce**
+
+Steps to reproduce the behavior:
+
+1. Go to '...'
+2. Click on '....'
+3. Scroll down to '....'
+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**
+
+A clear and concise description of what you expected to happen.
+
+
+**Screenshots**
+
+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]
+
+
+**Additional context**
+
+Add any other context about the problem here.

+ 11 - 0
.github/ISSUE_TEMPLATE/config.yml

@@ -0,0 +1,11 @@
+blank_issues_enabled: false
+contact_links:
+  - name: Community Help and Support
+    url: https://discourse.threejs.org/
+    about: Please ask and answer questions here.
+  - name: Stackoverflow
+    url: http://stackoverflow.com/questions/tagged/three.js
+    about: Stackoverflow questions and answers.
+  - name: Writing and formatting Help
+    url: https://help.github.com/en/github/writing-on-github/basic-writing-and-formatting-syntax
+    about: Github article on basic writing and formatting on github

+ 18 - 0
.github/ISSUE_TEMPLATE/feature_request.md

@@ -0,0 +1,18 @@
+**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**
+
+A clear and concise description of what you want to happen.
+
+
+**Describe alternatives you've considered**
+
+A clear and concise description of any alternative solutions or features you've considered.
+
+
+**Additional context**
+
+Add any other context or screenshots about the feature request here.

+ 7 - 0
.github/pull_request_template.md

@@ -0,0 +1,7 @@
+Related issues:
+
+#XXXX
+
+**Description of Pull Request**
+
+A clear and concise description of what the problem was and how this pull request solves it.