From 8615b6fe570ab098342e3158924b6308738f57de Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Thu, 3 May 2018 16:45:00 -0700 Subject: [PATCH] Support issue template [skip ci] (#7863) --- .github/ISSUE_TEMPLATE/Bug_report.md | 76 +++++++++---------- .github/ISSUE_TEMPLATE/Feature_request.md | 36 ++++----- .github/ISSUE_TEMPLATE/Regression-v7.md | 2 +- .../{Support.md => Support_question.md} | 38 +++++----- .github/ISSUE_TEMPLATE/Support_us.md | 24 ++++++ 5 files changed, 101 insertions(+), 75 deletions(-) rename .github/ISSUE_TEMPLATE/{Support.md => Support_question.md} (95%) create mode 100644 .github/ISSUE_TEMPLATE/Support_us.md diff --git a/.github/ISSUE_TEMPLATE/Bug_report.md b/.github/ISSUE_TEMPLATE/Bug_report.md index 371fe745f9..4f8ebab663 100644 --- a/.github/ISSUE_TEMPLATE/Bug_report.md +++ b/.github/ISSUE_TEMPLATE/Bug_report.md @@ -1,38 +1,38 @@ ---- -name: 🐛 Bug Report -about: If something isn't working as expected 🤔. - ---- - -**Current Behavior** -A clear and concise description of the behavior. - -**Input Code** -- REPL or Repo link if applicable: - -```js -var your => (code) => here; -``` -**Expected behavior/code** -A clear and concise description of what you expected to happen (or code). - -## Babel Configuration (.babelrc, package.json, cli command) - -```js -{ - "your": { "config": "here" } -} -``` - -**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`] - -**Possible Solution** - - -**Additional context/Screenshots** -Add any other context about the problem here. If applicable, add screenshots to help explain. +--- +name: 🐛 Bug Report +about: If something isn't working as expected 🤔. + +--- + +**Current Behavior** +A clear and concise description of the behavior. + +**Input Code** +- REPL or Repo link if applicable: + +```js +var your => (code) => here; +``` +**Expected behavior/code** +A clear and concise description of what you expected to happen (or code). + +## Babel Configuration (.babelrc, package.json, cli command) + +```js +{ + "your": { "config": "here" } +} +``` + +**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`] + +**Possible Solution** + + +**Additional context/Screenshots** +Add any other context about the problem here. If applicable, add screenshots to help explain. diff --git a/.github/ISSUE_TEMPLATE/Feature_request.md b/.github/ISSUE_TEMPLATE/Feature_request.md index 807c400ac0..a1f96c542e 100644 --- a/.github/ISSUE_TEMPLATE/Feature_request.md +++ b/.github/ISSUE_TEMPLATE/Feature_request.md @@ -1,18 +1,18 @@ ---- -name: 🚀 Feature Request -about: I have a suggestion (and might want to implement 🙂)! - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I have an issue when [...] - -**Describe the 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. - -**Teachability, Documentation, Adoption, Migration Strategy** -If you can, explain how users will be able to use this and possibly write out a version the docs. -Maybe a screenshot or design? +--- +name: 🚀 Feature Request +about: I have a suggestion (and might want to implement myself 🙂)! + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I have an issue when [...] + +**Describe the 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. + +**Teachability, Documentation, Adoption, Migration Strategy** +If you can, explain how users will be able to use this and possibly write out a version the docs. +Maybe a screenshot or design? diff --git a/.github/ISSUE_TEMPLATE/Regression-v7.md b/.github/ISSUE_TEMPLATE/Regression-v7.md index 29dec0ebb6..68a2813501 100644 --- a/.github/ISSUE_TEMPLATE/Regression-v7.md +++ b/.github/ISSUE_TEMPLATE/Regression-v7.md @@ -1,6 +1,6 @@ --- name: 💥 v7 Regression -about: Report an unexpected behavior in v7 from v6 (check upgrade guide first ✌️) +about: Report an unexpected behavior in v7 from v6 (Check the upgrade guide first ✌️) --- diff --git a/.github/ISSUE_TEMPLATE/Support.md b/.github/ISSUE_TEMPLATE/Support_question.md similarity index 95% rename from .github/ISSUE_TEMPLATE/Support.md rename to .github/ISSUE_TEMPLATE/Support_question.md index 0a37fd7338..fbbc3ec35d 100644 --- a/.github/ISSUE_TEMPLATE/Support.md +++ b/.github/ISSUE_TEMPLATE/Support_question.md @@ -1,18 +1,20 @@ ---- -name: 🤗 Support Question -about: If you have a question 💬, please check out our Slack or StackOverflow! - ---- - -Issues on GitHub are intended to be related to problems with Babel itself, -so we recommend not using this medium to ask them here 😁. - ---- - -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 +--- +name: 🤗 Support Question +about: If you have a question 💬, please check out our Slack or StackOverflow! + +--- + +--------------^ Click "Preview"! + +Issues on GitHub are intended to be related to problems with Babel itself, +so we recommend not using this medium to ask them here 😁. + +--- + +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 diff --git a/.github/ISSUE_TEMPLATE/Support_us.md b/.github/ISSUE_TEMPLATE/Support_us.md new file mode 100644 index 0000000000..0ad897a3aa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Support_us.md @@ -0,0 +1,24 @@ +--- +name: 🤝 Support us on Babel +about: If you would like to support our efforts in maintaining this community-driven project 🙌! + +--- + +> Would recommend clicking preview for the rendered view. +> Open Collective: https://opencollective.com/babel +> Henry's Patreon: https://www.patreon.com/henryzhu + +Help support Babel! + +Babel has always been a community project, not really backed or owned by any single (or group) of companies. While some maintainers used to work at Facebook (and Henry at Adobe) no one was working on it full time and there certainly isn't a huge company or team anywhere doing all this work. + +--- + +As a group of volunteers you can help us in a few ways + +- Giving developer time on the project. (Message us on [Twitter](https://twitter.com/babeljs) or [Slack](https://slack.babeljs.io/) for guidance). Companies should be paying their employees to contribute back to the open source projects they use everyday. +- Giving funds by becoming one of our sponsors/donators! + +If you'd like to sustain the future of the project as a whole, we have an [Open Collective](https://opencollective.com/babel) that you can donate to. This is a way for funds to be allocated to the core team. + +You can also support [Henry](https://github.com/hzoo) directly since I [left my job to work on Babel and Open Source full time](https://twitter.com/left_pad/status/969793227862790144) at my [Patreon](https://www.patreon.com/henryzhu).