From 9c1b3e8dc1461ad82d3f18961d0da718d81b681e Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Tue, 1 May 2018 22:06:11 -0700 Subject: [PATCH] Add support/regression issue templates [skip ci] (#7851) --- .github/ISSUE_TEMPLATE.md | 59 +------------------------ .github/ISSUE_TEMPLATE/Bug_report.md | 6 +-- .github/ISSUE_TEMPLATE/Regression-v7.md | 36 +++++++++++++++ .github/ISSUE_TEMPLATE/Support.md | 16 +++++++ 4 files changed, 55 insertions(+), 62 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/Regression-v7.md create mode 100644 .github/ISSUE_TEMPLATE/Support.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 9e60774355..24e79d0483 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,63 +1,6 @@ - -Choose one: is this a bug report or feature request? - - - -### Input Code - - - -```js -var your => (code) => here; -``` - -### Babel/Babylon Configuration (.babelrc, package.json, cli command) - - -```js -{ - "your": { "config": "here" } -} -``` - -### Expected Behavior - - - -### Current Behavior - - - -### Possible Solution - - - -### Context - - - -### Your Environment - - -| software | version(s) -| ---------------- | ------- -| Babel | -| Babylon | -| node | -| npm | -| Operating System | diff --git a/.github/ISSUE_TEMPLATE/Bug_report.md b/.github/ISSUE_TEMPLATE/Bug_report.md index 859729a284..4e16b395b5 100644 --- a/.github/ISSUE_TEMPLATE/Bug_report.md +++ b/.github/ISSUE_TEMPLATE/Bug_report.md @@ -14,8 +14,7 @@ A clear and concise description of what the bug is. var your => (code) => here; ``` -### Babel/Babylon Configuration (.babelrc, package.json, cli command) - +### Babel Configuration (.babelrc, package.json, cli command) ```js { @@ -27,8 +26,7 @@ var your => (code) => here; A clear and concise description of what you expected to happen (or code). **Possible Solution** - - + **Environment** - Babel version(s): [e.g. v6.0.0, v7.0.0-beta.34] diff --git a/.github/ISSUE_TEMPLATE/Regression-v7.md b/.github/ISSUE_TEMPLATE/Regression-v7.md new file mode 100644 index 0000000000..cb2f02b9e5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Regression-v7.md @@ -0,0 +1,36 @@ +--- +name: v7 Regression +about: Report a regression in v7 from v6 + +--- + +**Potential Commit/PR that introduced the regression** +If you have time to investigate, what PR/date introduced this issue. + +**Describe the regression** +A clear and concise description of what the regression is. + +**Input Code** + + +```js +var your => (code) => here; +``` + +### Babel Configuration (.babelrc, package.json, cli command) + +```js +{ + "your": { "config": "here" } +} +``` + +**Expected behavior/code** +A clear and concise description of what you expected to happen (or code). + +**Environment** +- Babel version(s): [e.g. v6.0.0, v7.0.0-beta.34] +- Node/npm version: [e.g. Node 8/npm 5] +- OS: [e.g. OSX 10.13.4, Windows 10] +- Monorepo [e.g. yes/no/Lerna] +- How you are using Babel: [e.g. `cli`, `register`, `loader`] diff --git a/.github/ISSUE_TEMPLATE/Support.md b/.github/ISSUE_TEMPLATE/Support.md new file mode 100644 index 0000000000..b84f99580a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Support.md @@ -0,0 +1,16 @@ +--- +name: Support Question +about: If you have a support question, please check out our Slack or StackOverflow + +--- + +If you have a support request or question please submit them to one of this resources: + +* Slack Community Chat: https://babeljs.slack.com (you can sign-up at https://slack.babeljs.io/ for an invite) +* StackOverflow: https://stackoverflow.com/questions/tagged/babeljs using the tag `babeljs` +* Twitter: If it's just a quick question you can ping our Twitter: https://twitter.com/babeljs +* Also have a look at the readme for more information on how to get support: + https://github.com/babel/babel/blob/master/README.md + +Issues on GitHub are intended to be related to problems of Babel itself, +so we try not to answer support questions here.