From 40a48d61aac2cb93dbb21cf456d031c55413cf2e Mon Sep 17 00:00:00 2001 From: Acylation <532117255@qq.com> Date: Tue, 12 Sep 2023 00:31:44 +0800 Subject: [PATCH] Set up issue/pr templates --- .github/ISSUE_TEMPLATE/bug-report.yml | 47 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature-request.yml | 17 ++++++++ 2 files changed, 64 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..7c7cde6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,47 @@ +name: Bug Report +description: Report a bug encountered while using the Markwhen plugin +labels: ['triage'] +body: + - type: textarea + id: problem + attributes: + label: What happened? + description: | + Please provide as much info as possible. + validations: + required: true + + - type: textarea + id: expected + attributes: + label: What did you expect to happen? + validations: + required: true + + - type: textarea + id: repro + attributes: + label: How can we reproduce it (as minimally and precisely as possible)? + validations: + required: true + + - type: textarea + id: additional + attributes: + label: Anything else we need to know? + + - type: input + id: pluginVersion + attributes: + label: Plugin version + description: You can find the version under Settings -> Community plugins -> Installed plugins -> Chem. + validations: + required: true + + - type: input + id: obsidianVersion + attributes: + label: Obsidian version + description: You can find the version under Settings -> About -> Current version. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..6f59e41 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,17 @@ +name: Feature Request +description: Suggest a new feature +labels: ['triage'] +body: + - type: textarea + id: feature + attributes: + label: What would you like to be added? + validations: + required: true + + - type: textarea + id: rationale + attributes: + label: Why is this needed? + validations: + required: true