Skip to content

Commit 0ce2894

Browse files
authored
Merge pull request #704 from JooHyukKim/2.16
Introduce more efficient form-based GitHub `Issue Templates`
2 parents dad40ec + b362cb7 commit 0ce2894

File tree

6 files changed

+115
-63
lines changed

6 files changed

+115
-63
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Bug report
2+
description: Create a report to help us improve
3+
labels: [ "bug" ]
4+
assignees: [ ]
5+
6+
body:
7+
- type: checkboxes
8+
id: pre-check
9+
attributes:
10+
label: Search before asking
11+
description: "Please search [issues](https://github.com/FasterXML/jackson-module-kotlin/issues) to check if your issue has already been reported."
12+
options:
13+
- label: "I searched in the [issues](https://github.com/FasterXML/jackson-module-kotlin/issues) and found nothing similar."
14+
required: true
15+
- type: textarea
16+
id: bug-description
17+
attributes:
18+
label: Describe the bug
19+
description: "A clear and concise description of what the bug is."
20+
validations:
21+
required: true
22+
- type: textarea
23+
id: reproduce
24+
attributes:
25+
label: To Reproduce
26+
description: "Test case or steps to reproduce the behavior. It would be appreciated if you could provide code that can be executed with as few changes as possible, such as include 'import' statements."
27+
value: |
28+
```kotlin
29+
// Your code here
30+
```
31+
validations:
32+
required: false
33+
- type: markdown
34+
attributes:
35+
value: "Also, it would be appreciated if you could confirm in advance that the problem is reproduced only when using `Kotlin` or `kotlin-module`. For issues that are reproduced only in `Java`, please submit them to the appropriate repository, such as [FasterXML/jackson-databind](https://github.com/FasterXML/jackson-databind)."
36+
- type: textarea
37+
id: expected
38+
attributes:
39+
label: Expected behavior
40+
description: "A clear and concise description of what you expected to happen."
41+
validations:
42+
required: false
43+
- type: textarea
44+
id: version-info
45+
attributes:
46+
label: Versions
47+
description: "Please provide the versions you are using:"
48+
value: |
49+
Kotlin:
50+
Jackson-module-kotlin:
51+
Jackson-databind:
52+
validations:
53+
required: false
54+
- type: textarea
55+
id: context
56+
attributes:
57+
label: Additional context
58+
description: "Add any other context about the problem here."
59+
- type: markdown
60+
attributes:
61+
value: "Thanks for reporting the bug!"

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Feature request
2+
description: Suggest an idea for this project
3+
labels: [ "enhancement" ]
4+
assignees: [ ]
5+
6+
body:
7+
- type: textarea
8+
id: use-case
9+
attributes:
10+
label: Use case
11+
description: "A clear and concise description of what the use-case is. This will better help us understand the context in which you're looking for a new feature."
12+
validations:
13+
required: true
14+
- type: textarea
15+
id: desired-solution
16+
attributes:
17+
label: Describe the solution you'd like
18+
description: "A clear and concise description of what you want to happen."
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: alternatives
23+
attributes:
24+
label: Describe alternatives you've considered
25+
description: "A clear and concise description of any alternative solutions or features you've considered."
26+
validations:
27+
required: false
28+
- type: textarea
29+
id: additional-context
30+
attributes:
31+
label: Additional context
32+
description: "Add any other context or screenshots about the feature request here."
33+
- type: markdown
34+
attributes:
35+
value: "Thanks for suggesting a feature! We appreciate your feedback and will consider it for future enhancements."

.github/ISSUE_TEMPLATE/question.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/question.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Question
2+
description: Anything you're not sure about? Just ask us
3+
labels: [ "question" ]
4+
assignees: [ ]
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: "Before asking your question, please check out the docs."
10+
- type: textarea
11+
id: user-question
12+
attributes:
13+
label: Your question
14+
placeholder: "What would you like to know?"
15+
validations:
16+
required: true
17+
- type: markdown
18+
attributes:
19+
value: "Thanks for reaching out! We'll do our best to help."

0 commit comments

Comments
 (0)