diff --git a/.github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md new file mode 100644 index 0000000000..5b85dc2d0f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md @@ -0,0 +1,3 @@ + + + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/ISSUE_TEMPLATE/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE.md rename to .github/ISSUE_TEMPLATE/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000000..e703f0ca66 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,49 @@ +name: 🐛 Bug Report +description: Create a report to help us improve +title: "[Bug] " +labels: ["bug-report"] +body: + - type: input + attributes: + label: RT-Thread Version + description: | + Which version/branch/git-hash of RT-Thread are you using? + validations: + required: true + + - type: input + attributes: + label: Hardware Type/Architectures + description: Specify your Hardware/BSP model. + validations: + required: true + + - type: dropdown + attributes: + label: Develop Toolchain + description: which toolchain are you using? + options: + - Other + - RT-Thread Studio + - Microsoft VScode + - MDK Keil + - IAR + - GCC + validations: + required: true + + - type: textarea + attributes: + label: Describe the bug + description: A clear and concise description of the bug. + placeholder: | + 1. Steps to reproduce the behavior + 2. Expected behavior + 3. Add screenshot / media if you have them + validations: + required: true + + - type: textarea + attributes: + label: Other additional context + description: Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..5a1a2c93cf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Document Center + url: https://www.rt-thread.org/document/site + about: How to use or develop RT-Thread for beginner, please visit Document Center + - name: Community Forum + url: https://club.rt-thread.org + about: For questions about RT-Thread or related components, it is recommended to visit the RT-Thread Forum first diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000000..a374593307 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,31 @@ +name: 🚀 Feature Request +description: Suggest an idea for this project +title: "[Feature] " +labels: ["feature-request"] +body: + - type: markdown + attributes: + value: | + ## Please note that feature requests are not 'fire and forget' + It is a lot more likely that the feature you would like to have will be implemented if you keep watching your feature request, and provide more details to developers looking into implementing your feature, and help them with testing. + + - type: textarea + attributes: + label: Describe problem solved by the proposed feature + description: A clear and concise description of the problem, if any, this feature will solve. E.g. I'm always frustrated when ... + validations: + required: true + + - type: textarea + attributes: + label: Describe your preferred solution + description: A clear and concise description of what you want to happen. + validations: + required: false + + - type: textarea + attributes: + label: Describe possible alternatives + description: A clear and concise description of any alternative solutions or features you've considered. + validations: + required: false