From 129690fad1173e10fa0000942480e8261d0d3978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= <165856+hramos@users.noreply.github.com> Date: Thu, 17 May 2018 20:06:40 -0700 Subject: [PATCH] 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 --- .../bug_report.md} | 10 +++++++-- .github/ISSUE_TEMPLATE/question.md | 21 +++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) rename .github/{ISSUE_TEMPLATE.md => ISSUE_TEMPLATE/bug_report.md} (90%) create mode 100644 .github/ISSUE_TEMPLATE/question.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE/bug_report.md similarity index 90% rename from .github/ISSUE_TEMPLATE.md rename to .github/ISSUE_TEMPLATE/bug_report.md index 46d7bb4760de02..3c4f6e2f67d8bb 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,3 +1,9 @@ +--- +name: 🐛 Bug Report +about: Something is not working as expected. + +--- + ## Steps to Reproduce - diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 00000000000000..503775b920d00e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -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, we’ve 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.