From 0e4702e7b0f015702bed4963d6ecbc0860224652 Mon Sep 17 00:00:00 2001 From: hizumi <> Date: Thu, 22 Feb 2024 22:14:13 -0600 Subject: [PATCH] replace markdown templates with yaml forms --- .gitea/ISSUE_TEMPLATE/bug_report.yaml | 7 +++-- .gitea/ISSUE_TEMPLATE/config.yaml | 1 + .gitea/ISSUE_TEMPLATE/feature_request.md | 20 ------------- .gitea/ISSUE_TEMPLATE/feature_request.yaml | 34 ++++++++++++++++++++++ 4 files changed, 39 insertions(+), 23 deletions(-) create mode 100644 .gitea/ISSUE_TEMPLATE/config.yaml delete mode 100644 .gitea/ISSUE_TEMPLATE/feature_request.md create mode 100644 .gitea/ISSUE_TEMPLATE/feature_request.yaml diff --git a/.gitea/ISSUE_TEMPLATE/bug_report.yaml b/.gitea/ISSUE_TEMPLATE/bug_report.yaml index 663f4c2..21c2b9c 100644 --- a/.gitea/ISSUE_TEMPLATE/bug_report.yaml +++ b/.gitea/ISSUE_TEMPLATE/bug_report.yaml @@ -2,6 +2,7 @@ name: Bug Report about: File a bug report to help us improve title: "" labels: "Kind/Bug" +ref: main body: - type: markdown attributes: @@ -20,7 +21,7 @@ body: id: reproduce-steps attributes: label: How can we reproduce this? - description: "Steps to reproduce the behavior (and attach full log here if needed)" + description: "Steps to reproduce the behavior, and attach full log here if needed." value: | 1. Go to '...' 2. Click on '....' @@ -31,6 +32,6 @@ body: - type: textarea id: logs attributes: - label: Relevant log output - description: Please copy and paste any relevant log output. This will be automatically formatted into code + label: Relevant log output? + description: Please copy and paste any relevant log output. This will be automatically formatted into code. render: shell \ No newline at end of file diff --git a/.gitea/ISSUE_TEMPLATE/config.yaml b/.gitea/ISSUE_TEMPLATE/config.yaml new file mode 100644 index 0000000..0086358 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/config.yaml @@ -0,0 +1 @@ +blank_issues_enabled: true diff --git a/.gitea/ISSUE_TEMPLATE/feature_request.md b/.gitea/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 28eba0a..0000000 --- a/.gitea/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: 'Kind/Feature' -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. \ No newline at end of file diff --git a/.gitea/ISSUE_TEMPLATE/feature_request.yaml b/.gitea/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 0000000..7f953e5 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,34 @@ +name: Feature Request +about: Suggest an idea for this project +title: "" +labels: "Kind/Feature" +ref: main +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to suggest an idea to us! + - type: textarea + id: feature-description + attributes: + label: Is your feature request related to a problem? + description: A clear and concise description of what the problem is. + render: markdown + value: " I'm always frustrated when [...]" + - type: textarea + id: feature-solution + attributes: + label: Describe the solution you would like. + description: "A clear and concise description of what you want to happen. Context and screenshots welcome!" + value: | + 1. Go to '...' + 2. Look at '....' + 3. Change to '....' + validations: + required: true + - type: textarea + id: feature-references + attributes: + label: Describe the alternatives you have considered. + description: "A clear and concise description of any alternative solutions or features you've considered." + render: markdown