From c980d0d5b866681b52012df77d3ddeca8f5daa6c Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Wed, 20 Oct 2021 10:08:15 -0700 Subject: [PATCH] Move Bug Report Issue template to Issue Form Summary: Similary to the `release_blocker_form` we already have, this is migrating the Bug report template to be an issue form. Changelog: [Internal] [Changed] - Move Bug Report Issue template to Issue Form Reviewed By: lunaleaps Differential Revision: D31729676 fbshipit-source-id: e78d5f4e8776fead17d45d340d98932cc41681e9 --- .github/ISSUE_TEMPLATE/bug_report.md | 30 ----------------- .github/ISSUE_TEMPLATE/bug_report.yml | 47 +++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 30 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 083ab18aa09..00000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -name: "🐛 Bug Report" -about: Report a reproducible bug or regression in React Native. -title: '' -labels: 'Needs: Triage :mag:' - ---- - -Please provide all the information requested. Issues that do not follow this format are likely to stall. - -## Description -Please provide a clear and concise description of what the bug is. Include screenshots if needed. -Please test using the latest React Native release to make sure your issue has not already been fixed: https://reactnative.dev/docs/upgrading.html - -## React Native version: -Run `react-native info` in your terminal and copy the results here. - -## Steps To Reproduce -Provide a detailed list of steps that reproduce the issue. - -1. -2. - -## Expected Results -Describe what you expected to happen. - -## Snack, code example, screenshot, or link to a repository: -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. -You may provide a screenshot of the application if you think it is relevant to your bug report. -Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000000..6af131b9f5b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,47 @@ +name: 🐛 Bug Report +description: Report a reproducible bug or regression in React Native. +labels: ["Needs: Triage :mag:"] +body: + - type: markdown + attributes: + value: | + Please provide all the information requested. Issues that do not follow this format are likely to stall. + - type: textarea + id: description + attributes: + label: Description + description: Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest React Native release to make sure your issue has not already been fixed - https://reactnative.dev/docs/upgrading.html + validations: + required: true + - type: input + id: version + attributes: + label: Version + description: What react-native version does this appear on? + placeholder: ex. 0.66.0 + validations: + required: true + - type: textarea + id: react-native-info + attributes: + label: Output of `react-native info` + description: Run `react-native info` in your terminal and copy the results here. + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Steps to reproduce + description: Provide a detailed list of steps that reproduce the issue. + validations: + required: true + - type: textarea + id: extra + attributes: + label: Snack, code example, screenshot, or link to a repository + description: | + 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. + You may provide a screenshot of the application if you think it is relevant to your bug report. + Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve + validations: + required: false