From 0584c77f3f07a7ebbd82ac81cf5144ad97122efd Mon Sep 17 00:00:00 2001 From: Gwo Tzu-Hsing Date: Thu, 21 Nov 2024 19:59:40 +0800 Subject: [PATCH] chore: new issue template --- .github/ISSUE_TEMPLATE/bug-report.md | 22 --------------------- .github/ISSUE_TEMPLATE/bug-report.yml | 14 +++++++++++++ .github/ISSUE_TEMPLATE/feature-request.md | 19 ------------------ .github/ISSUE_TEMPLATE/feature-request.yml | 23 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/question.md | 12 ----------- 5 files changed, 37 insertions(+), 53 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug-report.md create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature-request.md create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml delete mode 100644 .github/ISSUE_TEMPLATE/question.md diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 1df67a49..00000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: "\U0001F41B Bug Report" -about: Something isn't working as expected - ---- - -## Bug Report - -**What version of Tonbo are you using?** - - -**What version of Rust are you using?** - - -**What's the status of the running?** - -**What did you do?** - - -**What did you expect to see?** - -**What did you see instead?** diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 00000000..af07a15e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,14 @@ +name: Bug report +labels: bug +body: + - type: textarea + attributes: + label: More details about the bug + validations: + required: true + - type: textarea + attributes: + label: What is your expected behavior? + - type: textarea + attributes: + label: How to reproduce? diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md deleted file mode 100644 index cb6e994f..00000000 --- a/.github/ISSUE_TEMPLATE/feature-request.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -name: "\U0001F680 Feature Request" -about: I have a suggestion - ---- - -## Feature Request - -**Is your feature request related to a problem? Please describe:** - - -**Describe the feature you'd like:** - - -**Describe alternatives you've considered:** - - -**Teachability, Documentation, Adoption, Migration Strategy:** - diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 00000000..62d45412 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,23 @@ +name: Feature request +labels: enhancement +body: + - type: textarea + attributes: + label: What is the current? + validations: + required: true + - type: textarea + attributes: + label: What will it become? + validations: + required: true + - type: textarea + attributes: + label: Are there any alternatives? + validations: + required: true + - type: textarea + attributes: + label: Does it have a reference? + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index 357bdf65..00000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -name: "\U0001F914 Question" -about: Usage question that isn't answered in docs or discussion - ---- - -## Question - -Before asking a question, make sure you have: - -- Reviewed relevant Rust information: Google your error messages and look at official docs. -- Searched open and closed [GitHub issues](https://github.com/tonbo-io/tonbo/issues)