Update issue templates (#23296)

Summary:
Go back to simpler issue template titles, with emoji. The goal is to make it easier, at a glance, to pick the right template.

We also add a new "regression" template that will automatically label the issue as a regression.

Other changes:
- Added Christoph as a CODEOWNER for package.json and markdown file changes. Usually, any PR that touches package.json has to be imported manually by a Facebook employee.

[General] [Changed] - Updated GitHub issue templates.
Pull Request resolved: https://github.com/facebook/react-native/pull/23296

Differential Revision: D13974378

Pulled By: hramos

fbshipit-source-id: d8962a84397c16e7556ac167a3505f7c7d725915
This commit is contained in:
Héctor Ramos 2019-02-06 11:13:15 -08:00 committed by Facebook Github Bot
parent cf52ab561d
commit 9bcd98f1a9
7 changed files with 95 additions and 39 deletions

4
.github/CODEOWNERS vendored
View File

@ -7,5 +7,5 @@ React/Views/* @shergin
React/Modules/* @shergin React/Modules/* @shergin
React/CxxBridge/* @mhorowitz React/CxxBridge/* @mhorowitz
ReactAndroid/src/main/java/com/facebook/react/animated/* @janicduplessis ReactAndroid/src/main/java/com/facebook/react/animated/* @janicduplessis
**/*.md @hramos **/*.md @hramos @cpojer
package.json @hramos package.json @hramos @cpojer

View File

@ -1,32 +1,35 @@
--- ---
name: I want to report an issue with React Native. name: 🐛 Bug Report
about: You want to report a reproducible bug or regression in React Native. about: You want to report a reproducible bug or regression in React Native.
labels: "Bug Report" labels: "Type: Bug Report"
--- ---
## 🐛 Bug Report
<!-- <!--
If you are looking for help, please review the documentation or ask a question on Stack Overflow: A clear and concise description of what the bug is.
- https://facebook.github.io/react-native Include screenshots if needed.
- https://stackoverflow.com/questions/tagged/react-native -->
If you want to report a problem with React Native itself, please fill out the template. ## To Reproduce
<!--
Steps to reproduce the behavior.
-->
If you would like to report an issue in the documentation, or anything related to the React Native ## Expected Behavior
website, please visit https://github.com/facebook/react-native-website/issues. <!--
A clear and concise description of what you expected to happen.
-->
## Code Example
<!--
Please provide a Snack (https://snack.expo.io/), a link to a repository on GitHub, or
provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve.
Issues without a reproduction link are likely to stall.
--> -->
## Environment ## Environment
<!-- Run `react-native info` in your terminal and paste its contents here. -->
## Description
<!-- <!--
Describe your issue in detail. Include screenshots if needed. If this is a regression, let us know. Run `react-native info` in your terminal and copy the results here.
-->
## Reproducible Demo
<!--
Let us know how to reproduce the issue. Include a code sample, share a project,
or share an app that reproduces the issue using https://snack.expo.io/.
Please follow the guidelines for providing a minimal example: https://stackoverflow.com/help/mcve.
--> -->

View File

@ -1,7 +1,18 @@
--- ---
name: I want to discuss or propose a change to React Native. name: 🚀 Discussion
about: You have an idea that could make React Native better, or you want to discuss some aspect of the framework. about: You have an idea that could make React Native better, or you want to discuss some aspect of the framework.
labels: "Type: Discussion"
--- ---
The React Native community has set up a separate repository to track discussions and proposals: If you want to participate in casual discussions about the use of React Native, consider participating in one of the following forums:
- Discord Community: https://discord.gg/0ZcbPKXt5bZjGY5n
- Spectrum Chat: https://spectrum.chat/react-native
- Facebook Group: https://www.facebook.com/groups/react.native.community
For a full list of community resources:
- http://facebook.github.io/react-native/help
If you'd like to discuss topics related to the future of React Native, please check out the discussions and proposals repo:
- https://github.com/react-native-community/discussions-and-proposals - https://github.com/react-native-community/discussions-and-proposals
### Please note that discussions opened as issues in the core React Native repository will be closed.

View File

@ -1,10 +1,12 @@
--- ---
name: I found a problem with the documentation. name: 📃 Documentation Bug
about: You want to report something that is wrong or missing from the documentation. about: You want to report something that is wrong or missing from the documentation.
labels: "🚫Docs" labels: "Type: Docs"
--- ---
The React Native website is hosted on a separate repository. You may let the The React Native website is hosted on a separate repository. You may let the
team know about any issues with the documentation by opening an issue there: team know about any issues with the documentation by opening an issue there:
- https://github.com/facebook/react-native-website - https://github.com/facebook/react-native-website
- https://github.com/facebook/react-native-website/issues - https://github.com/facebook/react-native-website/issues
### Please do not open a documentation issue in the core React Native repository.

View File

@ -1,17 +1,15 @@
--- ---
name: I need help using React Native. name: 💬 Questions and Help
about: You need help writing your React Native app. about: You need help writing your React Native app.
labels: "Question" labels: "Type: Question"
--- ---
GitHub Issues in the `facebook/react-native` repository are used exclusively for tracking bugs GitHub Issues in the `facebook/react-native` repository are used exclusively for tracking bugs in the React Native framework. Please do not submit support requests through GitHub.
in the React Native framework. Please do not submit support requests through GitHub.
Many members of the community use Stack Overflow to ask questions: For questions or help, please see:
* Read through the existing questions tagged with **react-native**: - The React Native help page: http://facebook.github.io/react-native/help
http://stackoverflow.com/questions/tagged/react-native - The React Native channel in Reactiflux: https://discord.gg/0ZcbPKXt5bZjGY5n
- The react-native tag on Stack Overflow: http://stackoverflow.com/questions/tagged/react-native
* Ask your own:
http://stackoverflow.com/questions/ask?tags=react-native
If you need an answer right away, check out the Reactiflux Discord community at https://discord.gg/0ZcbPKXt5bZjGY5n. There are usually a number of React Native experts there who can help out or point you to somewhere you might want to look. ### Please note that this issue tracker is not a help forum and requests for help will be closed.

42
.github/ISSUE_TEMPLATE/regression.md vendored Normal file
View File

@ -0,0 +1,42 @@
---
name: 💥 Regression Report
about: You want to report unexpected behavior that worked in previous releases.
labels: "Type: Bug Report", "Impact: Regression"
---
## 💥 Regression Report
<!--
A clear and concise description of what the regression is.
-->
## Last working version
Worked up to version:
Stopped working in version:
## To Reproduce
<!--
Steps to reproduce the behavior.
-->
## Expected Behavior
<!--
A clear and concise description of what you expected to happen.
-->
## Code Example
<!--
Please provide a Snack (https://snack.expo.io/), a link to a repository on GitHub, or
provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve.
Issues without a reproduction link are likely to stall.
-->
## Environment
<!--
Run `react-native info` in your terminal and copy the results here.
-->

View File

@ -12,4 +12,4 @@
## Test Plan ## Test Plan
<!-- Write your test plan here (**REQUIRED**). Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. --> <!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. -->