Skip to content

Commit f376ba2

Browse files
authored
feat: issue templates (#94)
1 parent 018fe08 commit f376ba2

4 files changed

Lines changed: 139 additions & 0 deletions

File tree

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Bug report
2+
description: Report a problem in the SumUp Java SDK.
3+
title: "[Bug]: "
4+
labels:
5+
- bug
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for taking the time to report a bug.
11+
- type: textarea
12+
id: description
13+
attributes:
14+
label: What happened?
15+
description: Describe the problem and what you expected to happen.
16+
placeholder: A clear and concise description of the bug.
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: code
21+
attributes:
22+
label: Relevant code or error output
23+
description: Paste a minimal code sample, stack trace, or logs if available.
24+
render: java
25+
- type: input
26+
id: sdk-version
27+
attributes:
28+
label: SDK version
29+
placeholder: e.g. 0.9.0
30+
validations:
31+
required: true
32+
- type: input
33+
id: java-version
34+
attributes:
35+
label: Java version
36+
placeholder: e.g. 21.0.7
37+
- type: input
38+
id: build-tool
39+
attributes:
40+
label: Build tool
41+
placeholder: e.g. Maven 3.9.9, Gradle 8.14
42+
- type: input
43+
id: os
44+
attributes:
45+
label: Operating system
46+
placeholder: e.g. macOS 15.5, Ubuntu 24.04
47+
- type: textarea
48+
id: additional-context
49+
attributes:
50+
label: Additional context
51+
description: Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Feature request
2+
description: Suggest an improvement for the SumUp Java SDK.
3+
title: "[Feature]: "
4+
labels:
5+
- enhancement
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for sharing your idea.
11+
- type: textarea
12+
id: problem
13+
attributes:
14+
label: What problem are you trying to solve?
15+
description: Describe the current limitation or pain point.
16+
placeholder: A clear and concise description of the problem.
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: proposal
21+
attributes:
22+
label: Proposed solution
23+
description: Describe the change you would like to see.
24+
placeholder: A clear and concise description of the desired behavior.
25+
validations:
26+
required: true
27+
- type: textarea
28+
id: alternatives
29+
attributes:
30+
label: Alternatives considered
31+
description: Describe any alternative solutions or workarounds you have considered.
32+
- type: textarea
33+
id: use-case
34+
attributes:
35+
label: Use case
36+
description: Tell us how this would help you or your integration.
37+
validations:
38+
required: true
39+
- type: textarea
40+
id: additional-context
41+
attributes:
42+
label: Additional context
43+
description: Add any other context, examples, or references here.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Question
2+
description: Ask a question about the SumUp Java SDK.
3+
title: "[Question]: "
4+
labels:
5+
- question
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Use this template for usage questions or clarification requests.
11+
- type: textarea
12+
id: question
13+
attributes:
14+
label: Your question
15+
description: Describe what you are trying to do and what is unclear.
16+
placeholder: Ask your question here.
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: code
21+
attributes:
22+
label: Relevant code or context
23+
description: Share any code, configuration, or API usage that would help explain the question.
24+
render: java
25+
- type: input
26+
id: sdk-version
27+
attributes:
28+
label: SDK version
29+
placeholder: e.g. 0.9.0
30+
- type: input
31+
id: java-version
32+
attributes:
33+
label: Java version
34+
placeholder: e.g. 21.0.7
35+
- type: input
36+
id: build-tool
37+
attributes:
38+
label: Build tool
39+
placeholder: e.g. Maven 3.9.9, Gradle 8.14
40+
- type: textarea
41+
id: additional-context
42+
attributes:
43+
label: Additional context
44+
description: Add any extra details that would help us answer.

0 commit comments

Comments
 (0)