From 4e189ef803192e545f82b529f9cd5f3c950696c4 Mon Sep 17 00:00:00 2001 From: Gene Date: Sat, 13 Jan 2024 22:30:41 +0800 Subject: [PATCH] [DOC] add issue template --- .github/ISSUE_TEMPLATE/bug-report.yml | 38 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/documentation.yml | 12 +++++++ .github/ISSUE_TEMPLATE/feature-request.yml | 30 +++++++++++++++++ .github/ISSUE_TEMPLATE/question.yml | 12 +++++++ 4 files changed, 92 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/documentation.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..19a78ea --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,38 @@ +name: "\U0001F41B Bug Report" +description: Submit a bug report to help us improve learnware +body: + - type: textarea + id: system-info + attributes: + label: System Info + description: Please share your system info with us. + placeholder: learnware version, platform, python version, ... + validations: + required: true + + - type: textarea + id: reproduction + validations: + required: true + attributes: + label: Reproduction + description: | + Please provide a code sample that reproduces the problem you ran into. It can be a Colab link or just a code snippet. + If you have code snippets, error messages, stack traces please provide them here as well. + Important! Use code tags to correctly format your code. See [Github Guidelines about Code Blocks](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting). + Do not use screenshots, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code. + + placeholder: | + Steps to reproduce the behavior: + + 1. + 2. + 3. + + - type: textarea + id: expected-behavior + validations: + required: true + attributes: + label: Expected behavior + description: "A clear and concise description of what you would expect to happen." diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml new file mode 100644 index 0000000..e2df1bd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -0,0 +1,12 @@ +name: "\U0001F4D6 Documentation" +description: Report an issue related to documentation +labels: [ "documentation" ] +body: + - type: textarea + id: description + validations: + required: true + attributes: + label: Description + description: | + A clear description of the issue related to documentation. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..1a8d257 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,30 @@ +name: "\U0001F680 Feature request" +description: Submit a proposal/request for a new learnware feature +labels: [ "feature" ] +body: + - type: textarea + id: feature-request + validations: + required: true + attributes: + label: Feature request + description: | + A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. + + - type: textarea + id: motivation + validations: + required: true + attributes: + label: Motivation + description: | + Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too. + + - type: textarea + id: contribution + validations: + required: true + attributes: + label: Your contribution + description: | + Is there any way that you could help, e.g. by submitting a PR? Make sure to read the [developer guide](https://github.com/Learnware-LAMDA/Learnware/blob/main/docs/about/dev.rst). diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 0000000..f8d2483 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,12 @@ +name: "\U00002753 Questions & Help" +description: Have some questions? We can offer help +labels: [ "question" ] +body: + - type: textarea + id: question + validations: + required: true + attributes: + label: Description + description: | + We sincerely suggest you to carefully read the [documentation](http://learnware.readthedocs.io/) of our library. After that, if you still feel puzzled, please describe the question clearly under this issue. \ No newline at end of file