From 4ea1422409f987a43dc0bfb1c42b5957c67dde54 Mon Sep 17 00:00:00 2001 From: Acbox Date: Tue, 24 Mar 2026 19:27:43 +0800 Subject: [PATCH] chore: add issue templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 88 +++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.yml | 58 ++++++++++++ .../web/src/components/channel-icon/index.vue | 7 +- 3 files changed, 151 insertions(+), 2 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..b9129946 --- /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"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to report a bug! Please fill out the information below to help us investigate the issue. + + - type: textarea + id: description + attributes: + label: Bug Description + description: A clear and concise description of what the bug is and what you expected to happen. + placeholder: Describe the bug... + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps to Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. Go to '...' + 2. Click on '...' + 3. See error + validations: + required: true + + - type: textarea + id: error + attributes: + label: Error Messages / Logs + description: If applicable, paste any error messages or relevant log output here. + render: shell + validations: + required: false + + - type: input + id: version + attributes: + label: Version + description: What version of Memoh are you running? + placeholder: e.g. v0.5.0 + validations: + required: true + + - type: input + id: model + attributes: + label: Model Used + description: Which LLM model were you using when the bug occurred? + placeholder: e.g. gpt-4o, claude-sonnet-4-20250514, gemini-2.0-flash + validations: + required: false + + - type: dropdown + id: channel + attributes: + label: Channel + description: Which channel were you using? + options: + - Telegram + - Discord + - Lark (Feishu) + - Email + - QQ + - Local + - Other + validations: + required: false + + - type: textarea + id: additional + attributes: + label: Additional Context + description: Add any other context, screenshots, or information about the problem here. + validations: + required: false + + - type: checkboxes + id: pr + attributes: + label: Contributing + options: + - label: I would like to submit a pull request to fix this bug diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..6e0081b2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,58 @@ +name: Feature Request +description: Suggest a new feature or enhancement +title: "[Feature]: " +labels: ["feat"] +body: + - type: markdown + attributes: + value: | + Thanks for suggesting a feature! Please describe your idea so we can evaluate and discuss it. + + - type: textarea + id: description + attributes: + label: Feature Description + description: A clear and concise description of the feature you'd like to see. + placeholder: Describe the feature... + validations: + required: true + + - type: textarea + id: motivation + attributes: + label: Motivation + description: Why do you want this feature? What problem does it solve? + placeholder: Explain the use case or problem... + validations: + required: true + + - type: textarea + id: proposed-solution + attributes: + label: Proposed Solution + description: If you have an idea of how this could be implemented, describe it here. + validations: + required: false + + - type: textarea + id: alternatives + attributes: + label: Alternatives Considered + description: Have you considered any alternative solutions or workarounds? + validations: + required: false + + - type: textarea + id: additional + attributes: + label: Additional Context + description: Add any other context, mockups, or references about the feature request here. + validations: + required: false + + - type: checkboxes + id: pr + attributes: + label: Contributing + options: + - label: I would like to submit a pull request to implement this feature diff --git a/apps/web/src/components/channel-icon/index.vue b/apps/web/src/components/channel-icon/index.vue index dd722ee5..646c566d 100644 --- a/apps/web/src/components/channel-icon/index.vue +++ b/apps/web/src/components/channel-icon/index.vue @@ -1,11 +1,14 @@