Skip to content

Commit 676630b

Browse files
authored
feat: github issue forms (#5609)
1 parent b844498 commit 676630b

File tree

5 files changed

+197
-47
lines changed

5 files changed

+197
-47
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

-30
This file was deleted.
+113
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
name: 🐞 Bug report
2+
description: Create a bug report to help us improve NativeScript CLI
3+
labels: [bug-pending-triage]
4+
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report an issue.
10+
11+
> ## Important! :warning:
12+
>
13+
> 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.
14+
>
15+
> For usage questions, please refer to the following resources:
16+
> * Search the [docs](https://docs.nativescript.org/)
17+
> * Search or ask in [Discord](https://nativescript.org/discord)
18+
> * Search or ask in [Discussions](https://github.com/NativeScript/NativeScript/discussions)
19+
> * Search or ask on [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript)
20+
> * Watch [video tutorials](https://nativescripting.com/)
21+
22+
- type: textarea
23+
validations:
24+
required: true
25+
attributes:
26+
label: Issue Description
27+
description: |
28+
A clear and concise description of what the bug is.
29+
Please, explain whether it's a build-time error or a runtime error.
30+
31+
If you intend to submit a PR for this issue, tell us in the description.
32+
placeholder: |
33+
When I do <X>, <Y> happens and I see the following error message:
34+
35+
```
36+
<error message>
37+
```
38+
39+
Expected behavior:
40+
41+
When I do <X>, <Z> should happen instead.
42+
43+
- type: textarea
44+
attributes:
45+
label: Reproduction
46+
description: |
47+
Add commands used or steps taken to reproduce the behaviour.
48+
Include links, references or anything else that will give us more context about the issue you are encountering.
49+
placeholder: |
50+
e.g:
51+
https://github.com/NativeScript/nativescript-cli
52+
53+
1. clone, and run with `ns run ios`
54+
2. Click on '...'
55+
3. See error
56+
57+
- type: textarea
58+
attributes:
59+
label: Relevant log output (if applicable)
60+
description: |
61+
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
62+
63+
Using the `--log trace` flag will usuall print more verbose logs that will help identify the issue quicker.
64+
65+
When pasting verbose logs, please make sure you remove any sensitive information.
66+
render: shell
67+
68+
- type: textarea
69+
attributes:
70+
label: Environment
71+
description: |
72+
Provide information about your environment. Run
73+
74+
```shell
75+
npx -y nativescript-envinfo
76+
```
77+
78+
inside the project and paste the output directly without manual formatting.
79+
placeholder: |
80+
Paste the result of
81+
82+
npx -y nativescript-envinfo
83+
84+
- type: markdown
85+
attributes:
86+
value: |
87+
---
88+
89+
Before you submit this issue, please confirm the following:
90+
91+
**1. Is there an existing issue for this?**
92+
93+
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.
94+
95+
**2. Confirm you are submitting a bug report**
96+
97+
Please confirm you are submitting a bug report and not a usage question.
98+
99+
**3. Code of Conduct**
100+
101+
By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)
102+
103+
---
104+
- type: checkboxes
105+
id: terms
106+
attributes:
107+
options:
108+
- 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
109+
required: true
110+
- label: This is a bug report
111+
required: true
112+
- label: I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)
113+
required: true

.github/ISSUE_TEMPLATE/config.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Search the Docs
4+
url: https://docs.nativescript.org
5+
about: Refer to the docs and search for what you are looking for.
6+
- name: Search or ask in Discord
7+
url: https://nativescript.org/discord
8+
about: Ask questions and discuss with other NativeScript users in real-time.
9+
- name: Search or ask in Discussions
10+
url: https://github.com/NativeScript/NativeScript/discussions
11+
about: Use GitHub discussions for message-board style questions and discussions.
12+
- name: Search or ask on StackOverflow
13+
url: https://stackoverflow.com/questions/tagged/nativescript
14+
about: Use StackOverflow to look for answered questions that may be similar to yours.

.github/ISSUE_TEMPLATE/feature_request.md

-17
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: 🚀 Feature request
2+
description: Suggest an idea for NativeScript CLI
3+
labels: ["enhancement-pending-triage"]
4+
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to request a feature for NativeScript!
10+
11+
> ## Important! :warning:
12+
>
13+
> 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.
14+
>
15+
> For usage questions, please refer to the following resources:
16+
> * Search the [docs](https://docs.nativescript.org/)
17+
> * Search or ask in [Discord](https://nativescript.org/discord)
18+
> * Search or ask in [Discussions](https://github.com/NativeScript/NativeScript/discussions)
19+
> * Search or ask on [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript)
20+
> * Watch [video tutorials](https://nativescripting.com/)
21+
22+
- type: textarea
23+
attributes:
24+
label: Is your feature request related to a problem? Please describe.
25+
description: A clear and concise description of what the problem is.
26+
placeholder: |
27+
I wish I could use NativeScript CLI to do [...]
28+
or
29+
I'm always frustrated when [...]
30+
31+
- type: textarea
32+
attributes:
33+
label: Describe the solution you'd like
34+
description: A clear and concise description of what you want to happen.
35+
36+
- type: textarea
37+
attributes:
38+
label: Describe alternatives you've considered
39+
description: A clear and concise description of any alternative solutions or features you've considered.
40+
41+
- type: textarea
42+
attributes:
43+
label: Anything else?
44+
description: Add any other context, code examples, or references to existing implementations about the feature request here.
45+
46+
- type: markdown
47+
attributes:
48+
value: |
49+
---
50+
51+
Before you submit this feature request, please confirm the following:
52+
53+
**1. Is there an existing issue for this?**
54+
55+
Please search to see if an issue related to this feature request already exists.
56+
57+
**2. Code of Conduct**
58+
59+
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)
60+
61+
---
62+
63+
- type: checkboxes
64+
id: terms
65+
attributes:
66+
options:
67+
- 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
68+
required: true
69+
- label: I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)
70+
required: true

0 commit comments

Comments
 (0)