From e7f84a92287d2c9480b11d6e7ad98ecd93afd194 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Fri, 4 May 2018 14:47:47 -0700 Subject: [PATCH] Add GitHub issue templates Close #931 --- .github/ISSUE_TEMPLATE.md | 20 ------------------- .github/ISSUE_TEMPLATE/bug.md | 32 +++++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature.md | 17 ++++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 1 - 4 files changed, 49 insertions(+), 21 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/bug.md create mode 100644 .github/ISSUE_TEMPLATE/feature.md delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index fbb567d3..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,20 +0,0 @@ -**Do you want to request a *feature* or report a *bug*?** - -**What is the current behavior?** - -**If the current behavior is a bug, please provide the steps to reproduce and -if a minimal demo of the problem via Glitch or similar (template: -https://glitch.com/edit/#!/react-native-web-playground).** - -1. -2. - -**What is the expected behavior?** - -**Environment (include versions). Did this work in previous versions?** - -* OS: -* Device: -* Browser: -* React Native for Web (version): -* React (version): diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md new file mode 100644 index 00000000..e822aae5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -0,0 +1,32 @@ +--- +name: "\U0001F41B Bug report" +about: "If something isn't working as expected \U0001F914" + +--- + +**The problem** +A clear and concise description of the bug or problem. + +**How to reproduce** +Test case: + +Steps to reproduce: +1. +2. +3. + + + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Environment (include versions). Did this work in previous versions?** + +* OS: +* Device: +* Browser: +* React Native for Web (version): +* React (version): + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature.md b/.github/ISSUE_TEMPLATE/feature.md new file mode 100644 index 00000000..0e988d18 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.md @@ -0,0 +1,17 @@ +--- +name: "\U0001F680 Feature request" +about: If you have a suggestion + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is, e.g., I have an issue when [...] + +**Describe a solution you'd like** +A clear and concise description of what you want to happen. Add any considered drawbacks. + +**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. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 6970708e..00000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1 +0,0 @@ -**Before submitting a pull request,** please make sure you have followed the steps the CONTRIBUTING guide.