diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index ea1c8116..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,23 +0,0 @@ -## Description -A clear and concise description of what the bug is. - -## Expected behaviour -A clear and concise description of what you expected to happen. - -## How to reproduce -Steps to reproduce the behavior: - -## Screenshots -If applicable, add screenshots to help explain your problem. - -## Tooling and environment - - Tuono version [e.g. 0.4.0] - - OS: [e.g. MacOS, Windows] - - Browser: [e.g. chrome, safari] - - Node version: [e.g. 20.0.0] - - Rust version: [e.g. 1.79.0] - - Crate version: [e.g. 1.78.0] - - Node Package Manger version: [e.g. pnpm: 9.5.0] - -## Additional context -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..90dc7010 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,90 @@ +name: Bug report +description: File a bug report +title: '[Bug]: ' +labels: ['bug'] + +body: + - type: textarea + id: description + attributes: + label: Description + description: A clear and concise description of what the bug is. + validations: + required: true + - type: textarea + id: expected-behaviour + attributes: + label: Expected behaviour + description: A clear and concise description of what you expected to happen. + validations: + required: true + - type: textarea + id: steps + attributes: + label: How to reproduce + description: Steps to reproduce the behavior (code, example repository) + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your problem. + validations: + required: false + - type: input + id: tuono-version + attributes: + label: Tuono version + placeholder: "[e.g. 0.4.0]" + validations: + required: false + - type: input + id: os-version + attributes: + label: OS + placeholder: "[e.g. MacOS, Windows]" + validations: + required: false + - type: input + id: browser-version + attributes: + label: Browser + placeholder: "[e.g. chrome, safari]" + validations: + required: false + - type: input + id: node-version + attributes: + label: Node version + placeholder: "[e.g. 20.0.0]" + validations: + required: false + - type: input + id: rust-version + attributes: + label: Rust version + placeholder: "[e.g. 1.79.0]" + validations: + required: false + - type: input + id: create-version + attributes: + label: Crate version + placeholder: "[e.g. 1.78.0]" + validations: + required: false + - type: input + id: node-package-manager-version + attributes: + label: Node Package Manger version + placeholder: "[e.g. pnpm: 9.5.0] " + validations: + required: false + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Add any other context about the bug here. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 11fc491e..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: enhancement -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..d65e4414 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,36 @@ +name: Feature request +description: Suggest an idea for this project +title: '[Feature request]: ' +labels: ['enhancement'] + +body: + - type: textarea + id: description + attributes: + label: Is your feature request related to a problem? Please describe. + description: A clear and concise description of what the problem is. + placeholder: I'm always frustrated when [...] + validations: + required: true + - type: textarea + id: solution + attributes: + label: Describe the solution you'd like + description: A clear and concise description of what you want to happen. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Describe alternatives you've considered + description: A clear and concise description of any alternative solutions or features you've considered. + validations: + required: false + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here. + validations: + required: false +