Migrate to new GitHub issue templates

Summary:
This will allow us to present a user with a different template depending on the type of help they need.

To do:

1. Update the bot so that it auto-closes any issue that contains text from `question.md` (i.e. tried to ask a question through GitHub).
2. In a separate PR: new template to handle feature requests (update the bot to allow these to remain open)
3. Allow multiple other types of issues, such as requesting a cherry pick, or reporting a regression vs. something that does not work as expected.
4. Link to Stack Overflow / Discuss directly if and when GitHub allows the 'Get Started' button to point to a URL.
Closes https://github.com/facebook/react-native/pull/19334

Differential Revision: D8051229

Pulled By: hramos

fbshipit-source-id: 9e8aea232688c53dcbb0c047e92799e68b8b7842
This commit is contained in:
Héctor Ramos 2018-05-17 20:06:40 -07:00 committed by Facebook Github Bot
parent cc09d21e60
commit 129690fad1
2 changed files with 29 additions and 2 deletions

View File

@ -1,3 +1,9 @@
---
name: 🐛 Bug Report
about: Something is not working as expected.
---
<!--
We use GitHub Issues exclusively for tracking bugs in React Native.
Questions? Visit http://facebook.github.io/react-native/help.html

21
.github/ISSUE_TEMPLATE/question.md vendored Normal file
View File

@ -0,0 +1,21 @@
---
name: 💬 Question
about: For questions about using React Native in your app.
---
--------------^ Click "Preview" for a nicer view!
We use GitHub Issues exclusively for tracking bugs in React Native. If you need help with your React Native app, the right place to go depends on the type of help that you need.
### Stack Overflow
Many members of the community use Stack Overflow to ask questions. Read through the [existing questions](http://stackoverflow.com/questions/tagged/react-native?sort=frequent) tagged with **react-native** or [ask your own](http://stackoverflow.com/questions/ask?tags=react-native)!
### Discussion Forum
For longer-form conversations about React Native, weve set up a [discussion forum at **discuss.reactjs.org**](https://discuss.reactjs.org/t/welcome-react-native-community-group/10239). This forum is a great place for discussion about best practices and application architecture as well as the future of React Native. If you have an answerable code-level question, please post it to [Stack Overflow](http://stackoverflow.com/questions/ask?tags=react-native) instead.
### Reactiflux Chat
If you need an answer right away, check out the [Reactiflux Discord](https://discord.gg/0ZcbPKXt5bZjGY5n) community. There are usually a number of React Native experts there who can help out or point you to somewhere you might want to look.