-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Summary This PR adds issue templates for the default template! https://github.com/user-attachments/assets/bc85d6e4-f8b8-42a4-8c5f-f542ed9cc8e3 ### Test plan Read through the templates
- Loading branch information
1 parent
87b0032
commit 4c046a2
Showing
2 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
packages/create-react-native-library/templates/common/$.github/ISSUE_TEMPLATE/bug_report.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: 🐛 Bug report | ||
description: Report a reproducible bug or regression in this library. | ||
labels: [bug] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
# Bug report | ||
👋 Hi! | ||
**Please fill the following carefully before opening a new issue ❗** | ||
*(Your issue may be closed if it doesn't provide the required pieces of information)* | ||
- type: checkboxes | ||
attributes: | ||
label: Before submitting a new issue | ||
description: Please perform simple checks first. | ||
options: | ||
- label: I tested using the latest version of the library, as the bug might be already fixed. | ||
required: true | ||
- label: I tested using a [supported version](https://github.com/reactwg/react-native-releases/blob/main/docs/support.md) of react native. | ||
required: true | ||
- label: I checked for possible duplicate issues, with possible answers. | ||
required: true | ||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: Bug summary | ||
description: | | ||
Provide a clear and concise description of what the bug is. | ||
If needed, you can also provide other samples: error messages / stack traces, screenshots, gifs, etc. | ||
validations: | ||
required: true | ||
- type: input | ||
id: library-version | ||
attributes: | ||
label: Library version | ||
description: What version of the library are you using? | ||
placeholder: "x.x.x" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: react-native-info | ||
attributes: | ||
label: Environment info | ||
description: Run `react-native info` in your terminal and paste the results here. | ||
render: shell | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: steps-to-reproduce | ||
attributes: | ||
label: Steps to reproduce | ||
description: | | ||
You must provide a clear list of steps and code to reproduce the problem. | ||
value: | | ||
1. … | ||
2. … | ||
validations: | ||
required: true | ||
- type: input | ||
id: reproducible-example | ||
attributes: | ||
label: Reproducible example repository | ||
description: Please provide a link to a repository on GitHub with a reproducible example. | ||
render: js | ||
validations: | ||
required: true |
8 changes: 8 additions & 0 deletions
8
packages/create-react-native-library/templates/common/$.github/ISSUE_TEMPLATE/config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Feature Request 💡 | ||
url: <%- repo -%>/discussions/new?category=ideas | ||
about: If you have a feature request, please create a new discussion on GitHub. | ||
- name: Discussions on GitHub 💬 | ||
url: <%- repo -%>/discussions | ||
about: If this library works as promised but you need help, please ask questions there. |