Skip to content

feat: GitHub issue forms #5609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

113 changes: 113 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
name: 🐞 Bug report
description: Create a bug report to help us improve NativeScript CLI
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-cli

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
id: terms
attributes:
options:
- label: I have searched the [existing issues](https://github.com/NativeScript/nativescript-cli/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 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -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.
17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

70 changes: 70 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: 🚀 Feature request
description: Suggest an idea for NativeScript CLI
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 CLI 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
id: terms
attributes:
options:
- label: I have searched the [existing issues](https://github.com/NativeScript/nativescript-cli/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