From 003323754db79b3c97e74e84cdf48c76bd4482dd Mon Sep 17 00:00:00 2001 From: crispyberry Date: Mon, 9 Feb 2026 20:05:34 +0800 Subject: [PATCH] feat: add GitHub issue templates for bug, feature, and question Co-Authored-By: Claude Opus 4.6 --- .github/ISSUE_TEMPLATE/bug_report.yml | 44 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 +++ .github/ISSUE_TEMPLATE/feature_request.yml | 26 +++++++++++++ .github/ISSUE_TEMPLATE/question.yml | 19 ++++++++++ 4 files changed, 94 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/ISSUE_TEMPLATE/question.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..b7b750c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,44 @@ +name: Bug Report +description: Report a bug or unexpected behavior +title: "[Bug] " +labels: ["bug"] +body: + - type: textarea + id: description + attributes: + label: Describe the bug + placeholder: A clear description of what the bug is. + validations: + required: true + - type: textarea + id: steps + attributes: + label: Steps to reproduce + placeholder: | + 1. Flash firmware with ... + 2. Send message ... + 3. See error ... + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected behavior + placeholder: What you expected to happen. + validations: + required: false + - type: textarea + id: logs + attributes: + label: Logs / Screenshots + placeholder: Paste serial monitor output or screenshots here. + render: shell + validations: + required: false + - type: input + id: board + attributes: + label: Board / Hardware + placeholder: e.g. Xiaozhi ESP32-S3 16MB/8MB + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..92b9953 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Discord + url: https://discord.gg/r8ZxSvB8Yr + about: Join our Discord for quick help and discussion diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..cd44f87 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,26 @@ +name: Feature Request +description: Suggest a new feature or improvement +title: "[Feature] " +labels: ["enhancement"] +body: + - type: textarea + id: description + attributes: + label: Describe the feature + placeholder: A clear description of the feature you'd like. + validations: + required: true + - type: textarea + id: motivation + attributes: + label: Motivation + placeholder: Why do you want this? What problem does it solve? + validations: + required: false + - type: textarea + id: alternatives + attributes: + label: Alternatives considered + placeholder: Any alternative solutions or workarounds you've considered. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000..0f690d8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,19 @@ +name: Question +description: Ask a question about setup, usage, or development +title: "[Question] " +labels: ["question"] +body: + - type: textarea + id: question + attributes: + label: Your question + placeholder: What would you like to know? + validations: + required: true + - type: textarea + id: context + attributes: + label: Context + placeholder: Any relevant details about your setup or what you've tried. + validations: + required: false