From fbded75d2415e8ec9f8ccad24ea03615ebadc83d Mon Sep 17 00:00:00 2001 From: DCodeProg Date: Tue, 28 Oct 2025 13:58:09 +0100 Subject: [PATCH 1/4] feat: add task issue template --- .github/ISSUE_TEMPLATE/task.yml | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/task.yml diff --git a/.github/ISSUE_TEMPLATE/task.yml b/.github/ISSUE_TEMPLATE/task.yml new file mode 100644 index 0000000..3076abd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/task.yml @@ -0,0 +1,46 @@ +name: 📋 Task +description: Development or maintenance task +labels: [task] + +body: + - type: input + id: summary + attributes: + label: Summary + description: Concisely describe the task + placeholder: "Refactor UserService to improve readability" + validations: + required: true + + - type: textarea + id: details + attributes: + label: Details + description: Provide more context or technical details + placeholder: "Move validation logic into a separate component..." + + - type: textarea + id: subtasks + attributes: + label: Subtasks + description: Break down the work into smaller actionable items + placeholder: | + - [ ] Implement new validation class + - [ ] Update service layer + - [ ] Add unit tests + + - type: textarea + id: notes + attributes: + label: Additional Notes / References + description: Add any relevant links, documentation, or references + placeholder: "See doc: https://..." + + - type: checkboxes + id: confirmations + attributes: + label: Pre-Work Checklist + description: Confirm these before starting + options: + - label: No existing issue covers this work. + required: true From 7004b013725a058df644596a11d4956fb0191ebb Mon Sep 17 00:00:00 2001 From: DCodeProg Date: Tue, 28 Oct 2025 13:58:19 +0100 Subject: [PATCH 2/4] feat: add feature request issue template --- .github/ISSUE_TEMPLATE/feature_request.yml | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..247d781 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,52 @@ +name: ✨ Feature Request +description: Suggest a new feature or improvement +labels: [enhancement] +body: + - type: input + id: summary + attributes: + label: Summary + description: Concisely describe the feature + placeholder: "Add pagination to /users endpoint" + validations: + required: true + + - type: textarea + id: problem + attributes: + label: Problem Statement + description: What problem does this feature solve? + placeholder: "Currently, fetching all users at once is inefficient..." + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Proposed Solution + description: Describe your proposed solution + placeholder: "Implement pageable queries with limit/offset parameters" + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Alternatives Considered + description: Have you considered other approaches? + placeholder: "Client-side filtering, caching, etc." + + - type: textarea + id: context + attributes: + label: Additional Context + description: Add any other context, screenshots, or references + + - type: checkboxes + id: confirmations + attributes: + label: Pre-Work Checklist + description: Confirm these before starting + options: + - label: No existing issue covers this work. + required: true From a4cdfd0be21883b40f2f9072e667048f2aa133c7 Mon Sep 17 00:00:00 2001 From: DCodeProg Date: Tue, 28 Oct 2025 13:58:26 +0100 Subject: [PATCH 3/4] feat: add bug report issue template --- .github/ISSUE_TEMPLATE/bug_report.yml | 66 +++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..22b60d7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,66 @@ +name: 🐛 Bug Report +description: Report a reproducible issue in the API +labels: [bug] +body: + - type: input + id: summary + attributes: + label: Summary + description: Concisely describe the bug + placeholder: "API returns 500 when posting to /users" + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps to Reproduce + description: Provide detailed steps, including endpoint, payload, headers, and auth context + placeholder: | + 1. Endpoint: POST /api/v1/users + 2. Payload: { "name": "..." } + 3. Headers: Authorization: Bearer + 4. Steps... + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected Behavior + description: What should have happened + placeholder: "User is created and 201 is returned" + validations: + required: true + + - type: textarea + id: actual + attributes: + label: Actual Behavior + description: What actually happened + placeholder: "500 Internal Server Error" + validations: + required: true + + - type: textarea + id: logs + attributes: + label: Logs / Stack Trace + description: Paste relevant logs or stack trace + render: shell + + - type: input + id: environment + attributes: + label: Environment + description: Java version, Spring Boot version, build tool, deployment context + placeholder: "Java 25, Spring Boot 3.5.7, Maven 3.9.5, Docker" + + - type: checkboxes + attributes: + label: Pre-checks + options: + - label: I have searched existing issues to avoid duplicates + required: true + - label: I have tested with the latest version + required: true From 0860aff3001df181af20f3bc0c665521fa361ca5 Mon Sep 17 00:00:00 2001 From: DCodeProg Date: Tue, 28 Oct 2025 14:30:18 +0100 Subject: [PATCH 4/4] feat: add pull request template --- .github/pull_request_template.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..93ff524 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,21 @@ +## Description + + +## Related Issue +Closes # + +## Type of Change +- [ ] feat +- [ ] fix +- [ ] docs +- [ ] refactor +- [ ] chore +- [ ] test +- [ ] ci + +## How Has This Been Tested? + + +## Checklist + - [ ] I have followed the Conventional Commits naming rules + - [ ] I have added tests where applicable