diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..da1e611 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,51 @@ +name: Bug report +description: Report a problem in the SumUp Java SDK. +title: "[Bug]: " +labels: + - bug +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to report a bug. + - type: textarea + id: description + attributes: + label: What happened? + description: Describe the problem and what you expected to happen. + placeholder: A clear and concise description of the bug. + validations: + required: true + - type: textarea + id: code + attributes: + label: Relevant code or error output + description: Paste a minimal code sample, stack trace, or logs if available. + render: java + - type: input + id: sdk-version + attributes: + label: SDK version + placeholder: e.g. 0.9.0 + validations: + required: true + - type: input + id: java-version + attributes: + label: Java version + placeholder: e.g. 21.0.7 + - type: input + id: build-tool + attributes: + label: Build tool + placeholder: e.g. Maven 3.9.9, Gradle 8.14 + - type: input + id: os + attributes: + label: Operating system + placeholder: e.g. macOS 15.5, Ubuntu 24.04 + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..f33e5ae --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,43 @@ +name: Feature request +description: Suggest an improvement for the SumUp Java SDK. +title: "[Feature]: " +labels: + - enhancement +body: + - type: markdown + attributes: + value: | + Thanks for sharing your idea. + - type: textarea + id: problem + attributes: + label: What problem are you trying to solve? + description: Describe the current limitation or pain point. + placeholder: A clear and concise description of the problem. + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposed solution + description: Describe the change you would like to see. + placeholder: A clear and concise description of the desired behavior. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Alternatives considered + description: Describe any alternative solutions or workarounds you have considered. + - type: textarea + id: use-case + attributes: + label: Use case + description: Tell us how this would help you or your integration. + validations: + required: true + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Add any other context, examples, or references here. diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000..877d792 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,44 @@ +name: Question +description: Ask a question about the SumUp Java SDK. +title: "[Question]: " +labels: + - question +body: + - type: markdown + attributes: + value: | + Use this template for usage questions or clarification requests. + - type: textarea + id: question + attributes: + label: Your question + description: Describe what you are trying to do and what is unclear. + placeholder: Ask your question here. + validations: + required: true + - type: textarea + id: code + attributes: + label: Relevant code or context + description: Share any code, configuration, or API usage that would help explain the question. + render: java + - type: input + id: sdk-version + attributes: + label: SDK version + placeholder: e.g. 0.9.0 + - type: input + id: java-version + attributes: + label: Java version + placeholder: e.g. 21.0.7 + - type: input + id: build-tool + attributes: + label: Build tool + placeholder: e.g. Maven 3.9.9, Gradle 8.14 + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Add any extra details that would help us answer.