From 2d5fe3a614af9db6f713a44adeb96cec5128f8b4 Mon Sep 17 00:00:00 2001 From: JdaieLin <490844515@qq.com> Date: Tue, 19 May 2026 22:38:40 +0800 Subject: [PATCH] Update issue template --- .github/ISSUE_TEMPLATE | 2 - .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/product-info.yml | 63 +++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 2 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/product-info.yml diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE deleted file mode 100644 index 74fadb3..0000000 --- a/.github/ISSUE_TEMPLATE +++ /dev/null @@ -1,2 +0,0 @@ -**Note:** This repo is mainly about the entire PiSugar project, cases and wiki. -We handle issues via email. If you have any questions about PiSugar products, please contact us at pisugar.zero@gmail.com and we will respond promptly. For software code issues, please submit your issuse to https://github.com/PiSugar/pisugar-power-manager-rs/issues 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/product-info.yml b/.github/ISSUE_TEMPLATE/product-info.yml new file mode 100644 index 0000000..bddc02d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/product-info.yml @@ -0,0 +1,63 @@ +name: Product materials, CAD drawings, and documentation feedback +description: Use this form only for feedback about product information, CAD drawings, documents, or other materials in this repository. +title: "[Docs/Materials] " +labels: + - documentation +body: + - type: markdown + attributes: + value: | + Thanks for helping improve this repository. + + This repository is only for PiSugar product introductions, CAD drawings, documents, and related materials. + + For product purchase, warranty, shipping, hardware support, or other customer support requests, please contact: pisugar.zero@gmail.com + + For PiSugar software or power manager issues, please open an issue here: + https://github.com/PiSugar/pisugar-power-manager-rs/issues + - type: checkboxes + id: scope_confirmation + attributes: + label: Scope confirmation + options: + - label: I understand this repository only accepts feedback about product materials, CAD drawings, documents, or other repository information. + required: true + - label: I understand product purchase, warranty, shipping, hardware support, or customer support requests should be sent to pisugar.zero@gmail.com. + required: true + - label: I understand PiSugar software or power manager issues should be reported to https://github.com/PiSugar/pisugar-power-manager-rs/issues. + required: true + - type: dropdown + id: material_type + attributes: + label: What kind of material is this about? + options: + - Product information + - CAD drawing / 3D model + - Documentation + - Repository file or link + - Other repository material + validations: + required: true + - type: input + id: file_or_page + attributes: + label: Related file or page + description: Please provide the filename, path, README section, or page URL. + placeholder: README.md, model3/Pisugar3Zero.SLDDRW, etc. + validations: + required: true + - type: textarea + id: feedback + attributes: + label: Feedback + description: Describe the missing, outdated, unclear, or incorrect information. + placeholder: Tell us what should be changed in the repository materials. + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected update + description: If possible, describe the correction or expected content. + validations: + required: false