chore(repo): GitHub Issue Forms (#9594)

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
This commit is contained in:
Siddharth Mishra
2021-10-26 21:25:08 +05:30
committed by GitHub
parent 2ad280deb0
commit a3823ffc38
5 changed files with 195 additions and 47 deletions

View File

@ -1,30 +0,0 @@
---
name: Bug report
about: 'We really appreciate your effort to provide feedback. Before opening a new
issue, please make sure that this case is not already reported in GitHub as an
issue or in StackOverflow as a question.'
---
**Environment**
Provide version numbers for the following components (information can be retrieved by running `tns info` in your project folder or by inspecting the `package.json` of the project):
- CLI:
- Cross-platform modules:
- Android Runtime:
- iOS Runtime:
- XCode Version:
- Plugin(s):
**Describe the bug**
<!-- A clear and concise description of what the bug is. Please, explain whether it's a build time error or a runtime error. More detailed logs can be easily obtained by following the instructions in this guide: https://docs.nativescript.org/get-support#how-to-obtain-diagnostic-reports. -->
**To Reproduce**
<!-- Add commands used or steps taken to reproduce the behaviour. -->
**Expected behavior**
**Sample project**
<!-- If possible, provide a link from the [Playground](https://play.nativescript.org) with reproduction of the problem. If not, consider attaching a sample project or link to a repository with such project. -->
**Additional context**
<!-- Add any other context about the problem here. -->

112
.github/ISSUE_TEMPLATE/bug_report.yaml vendored Normal file
View File

@ -0,0 +1,112 @@
name: 🐞 Bug report
description: Create a bug report to help us improve NativeScript
labels: [bug-pending-triage]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report an issue.
> ## Important! :warning:
>
> The issue list is reserved exclusively for bug reports and feature requests. That means we do not accept usage questions. If you open an issue that does not conform to the requirements, it will be closed.
>
> For usage questions, please refer to the following resources:
> * Search the [docs](https://docs.nativescript.org/)
> * Search or ask in [Discord](https://nativescript.org/discord)
> * Search or ask in [Discussions](https://github.com/NativeScript/NativeScript/discussions)
> * Search or ask on [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript)
> * Watch [video tutorials](https://nativescripting.com/)
- type: textarea
validations:
required: true
attributes:
label: Issue Description
description: |
A clear and concise description of what the bug is.
Please, explain whether it's a build-time error or a runtime error.
If you intend to submit a PR for this issue, tell us in the description.
placeholder: |
When I do <X>, <Y> happens and I see the following error message:
```
<error message>
```
Expected behavior:
When I do <X>, <Z> should happen instead.
- type: textarea
attributes:
label: Reproduction
description: |
Add commands used or steps taken to reproduce the behaviour.
Include links, references or anything else that will give us more context about the issue you are encountering.
placeholder: |
e.g:
https://github.com/NativeScript/Nativescript
1. clone, and run with `ns run ios`
2. Click on '...'
3. See error
- type: textarea
attributes:
label: Relevant log output (if applicable)
description: |
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
Using the `--log trace` flag will usuall print more verbose logs that will help identify the issue quicker.
When pasting verbose logs, please make sure you remove any sensitive information.
render: shell
- type: textarea
attributes:
label: Environment
description: |
Provide information about your environment. Run
```shell
npx -y nativescript-envinfo
```
inside the project and paste the output directly without manual formatting.
placeholder: |
Paste the result of
npx -y nativescript-envinfo
- type: markdown
attributes:
value: |
---
Before you submit this issue, please confirm the following:
**1. Is there an existing issue for this?**
Please search to see if an issue already exists for the bug you encountered or is not already reported on [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) as a question.
**2. Confirm you are submitting a bug report**
Please confirm you are submitting a bug report and not a usage question.
**3. Code of Conduct**
By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)
---
- type: checkboxes
attributes:
options:
- label: I have searched the [existing issues](https://github.com/NativeScript/NativeScript/issues) as well as [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) and this has not been posted before
required: true
- label: This is a bug report
required: true
- label: I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)
required: true

14
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: Search the Docs
url: https://docs.nativescript.org
about: Refer to the docs and search for what you are looking for.
- name: Search or ask in Discord
url: https://nativescript.org/discord
about: Ask questions and discuss with other NativeScript users in real-time.
- name: Search or ask in Discussions
url: https://github.com/NativeScript/NativeScript/discussions
about: Use GitHub discussions for message-board style questions and discussions.
- name: Search or ask on StackOverflow
url: https://stackoverflow.com/questions/tagged/nativescript
about: Use StackOverflow to look for answered questions that may be similar to yours.

View File

@ -1,17 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
---
**Is your feature request related to a problem? Please describe.**
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]. -->
**Describe the solution you'd like**
<!-- A clear and concise description of what you want to happen. -->
**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. -->

View File

@ -0,0 +1,69 @@
name: 🚀 Feature request
description: Suggest an idea for NativeScript
labels: ["enhancement-pending-triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to request a feature for NativeScript!
> ## Important! :warning:
>
> The issue list is reserved exclusively for bug reports and feature requests. That means we do not accept usage questions. If you open an issue that does not conform to the requirements, it will be closed.
>
> For usage questions, please refer to the following resources:
> * Search the [docs](https://docs.nativescript.org/)
> * Search or ask in [Discord](https://nativescript.org/discord)
> * Search or ask in [Discussions](https://github.com/NativeScript/NativeScript/discussions)
> * Search or ask on [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript)
> * Watch [video tutorials](https://nativescripting.com/)
- type: textarea
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is.
placeholder: |
I wish I could use NativeScript to do [...]
or
I'm always frustrated when [...]
- type: textarea
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
- type: textarea
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
- type: textarea
attributes:
label: Anything else?
description: Add any other context, code examples, or references to existing implementations about the feature request here.
- type: markdown
attributes:
value: |
---
Before you submit this feature request, please confirm the following:
**1. Is there an existing issue for this?**
Please search to see if an issue related to this feature request already exists.
**2. Code of Conduct**
By submitting this feature request, you agree to follow our [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)
---
- type: checkboxes
attributes:
options:
- label: I have searched the [existing issues](https://github.com/NativeScript/NativeScript/issues) as well as [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) and this has not been posted before
required: true
- label: I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)
required: true