From dfc61140ecf7d25bc7083d32aebaa2e2666cb789 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Thu, 29 Dec 2022 22:30:33 +0100 Subject: [PATCH] add gitea ISSUE/FEATURE templates --- .gitea/issue_template/FEATURE_TEMPLATE.yml | 31 ++++++++++ .gitea/issue_template/ISSUE_TEMPLATE.md | 32 ---------- .gitea/issue_template/ISSUE_TEMPLATE.yml | 68 ++++++++++++++++++++++ 3 files changed, 99 insertions(+), 32 deletions(-) create mode 100644 .gitea/issue_template/FEATURE_TEMPLATE.yml delete mode 100644 .gitea/issue_template/ISSUE_TEMPLATE.md create mode 100644 .gitea/issue_template/ISSUE_TEMPLATE.yml diff --git a/.gitea/issue_template/FEATURE_TEMPLATE.yml b/.gitea/issue_template/FEATURE_TEMPLATE.yml new file mode 100644 index 0000000..c605d7b --- /dev/null +++ b/.gitea/issue_template/FEATURE_TEMPLATE.yml @@ -0,0 +1,31 @@ +name: New feature +about: Use this template if you want to request a feature +title: "[FEATURE] " +labels: + - enhancement +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this feature request! + - type: textarea + id: description + attributes: + label: Description + description: Describe the feature. + validations: + required: true + - type: textarea + id: benefits + attributes: + label: Benefits + description: Describe the benefits of this feature. + validations: + required: true + - type: textarea + id: extra + attributes: + label: More informations + description: If you want to share more things, this is here! + validations: + required: false diff --git a/.gitea/issue_template/ISSUE_TEMPLATE.md b/.gitea/issue_template/ISSUE_TEMPLATE.md deleted file mode 100644 index f970300..0000000 --- a/.gitea/issue_template/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -name: "New issue" -about: "Use this template if you have a bug" -title: "[BUG] " -labels: - - bug ---- -## Issue - -### Environment - -* Custom menu version: -* Nextcloud version: -* PHP version: -* Web server (Nginx, Apache2): -* Web browser and version (Firefox 80, Google Chrome 74, etc): - -``` -Insert your configuration here. You can export the configuration using the admin page. -``` - -### Steps to reproduce - -... - -### Observed Results - -... - -### Expected Results - -... diff --git a/.gitea/issue_template/ISSUE_TEMPLATE.yml b/.gitea/issue_template/ISSUE_TEMPLATE.yml new file mode 100644 index 0000000..e4b97ab --- /dev/null +++ b/.gitea/issue_template/ISSUE_TEMPLATE.yml @@ -0,0 +1,68 @@ +name: New issue +about: Use this template if you have a bug +title: "[Bug] " +labels: + - bug +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: environment + attributes: + label: Environment + value: | + * Custom menu version: + * Nextcloud version: + * PHP version: + * Web server (Nginx, Apache2): + * Web browser and version (Firefox 80, Google Chrome 74, etc): + validations: + required: true + + - type: textarea + id: configuration + attributes: + label: Configuration + description: Export the configuration using the admin page and copy/paste here. + value: | + ``` + { + ... + } + ``` + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps to reproduce + description: How reproduce the bug? + validations: + required: false + + - type: textarea + id: resuts + attributes: + label: Observed Results + description: What happened? + validations: + required: false + + - type: textarea + id: expected + attributes: + label: Expected Results + description: What should happen? + validations: + required: false + + - type: textarea + id: extra + attributes: + label: More informations + description: If you want to share more things, this is here! + validations: + required: false