diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..18a5467 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,88 @@ +name: Bug Report +description: Report a bug or unexpected behavior +title: "[Bug] " +labels: [bug] +assignees: [] + +body: + - type: markdown + attributes: + value: | + ### Thanks for reporting a bug! + Please fill out the form below with as much detail as possible. + + - type: input + id: swift_version + attributes: + label: Swift Version + placeholder: "e.g. 6.1" + validations: + required: true + + - type: input + id: package_version + attributes: + label: Package Version + placeholder: "e.g. 1.2.0 or main" + validations: + required: true + + - type: textarea + id: description + attributes: + label: Bug Description + description: A clear and concise description of the bug. + placeholder: "What happened?" + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps to Reproduce + description: Describe the steps needed to reproduce the issue. + placeholder: "If describing an issue related to code, please provide an isolated code example that demonstrates the issue using as little code as possible." + validations: + required: true + + - type: textarea + id: expected_behavior + attributes: + label: Expected Behavior + description: What did you expect to happen? + validations: + required: false + + - type: textarea + id: actual_behavior + attributes: + label: Actual Behavior + description: What actually happened? + validations: + required: false + + - type: textarea + id: logs + attributes: + label: Stack Trace / Logs + description: Paste any error messages or logs. + render: shell + validations: + required: false + + - type: textarea + id: additional_context + attributes: + label: Additional Context + description: Add screenshots, links to related issues, or any other useful info. + validations: + required: false + + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/fetch-rewards/SwiftSyntaxSugar/blob/main/CODE_OF_CONDUCT.md). + options: + - label: I agree to follow this project's Code of Conduct + required: true 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..1079e0e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,56 @@ +name: Feature Request +description: Suggest a new feature or enhancement +title: "[Feature] " +labels: [enhancement] +assignees: [] + +body: + - type: markdown + attributes: + value: | + ### Got an idea? + Share your feature request or enhancement so we can consider adding it. + + - type: input + id: use_case + attributes: + label: Use Case + description: What problem does this feature solve? + placeholder: "I'm trying to..." + validations: + required: true + + - type: textarea + id: proposal + attributes: + label: Feature Proposal + description: Describe the feature you’d like to see. + placeholder: "I would like to see..." + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Alternatives Considered + description: Have you considered any alternatives or workarounds? + placeholder: "I've tried..." + validations: + required: false + + - type: textarea + id: additional_context + attributes: + label: Additional Context + description: Add screenshots, examples, or any other helpful information. + validations: + required: false + + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/fetch-rewards/SwiftSyntaxSugar/blob/main/CODE_OF_CONDUCT.md). + options: + - label: I agree to follow this project's Code of Conduct + required: true