From 3a1dbeab96f7f596548cd8bf713606af419246eb Mon Sep 17 00:00:00 2001 From: OCram85 Date: Sun, 12 Nov 2023 13:26:11 +0100 Subject: [PATCH 1/4] update default issue template --- .gitea/ISSUE_TEMPLATE.md | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.gitea/ISSUE_TEMPLATE.md b/.gitea/ISSUE_TEMPLATE.md index ec3134a..6d80569 100644 --- a/.gitea/ISSUE_TEMPLATE.md +++ b/.gitea/ISSUE_TEMPLATE.md @@ -1,10 +1,16 @@ ---- -name: 'Default' -about: 'Use this template if nothing seems to work.' -title: ':question: ' -labels: - - question ---- -#### :grey_question: Simply ask your question here: :grey_question: - - +name: Default +about: Use this template if nothing seems to work. +title: '' +body: + - type: markdown + attributes: + value: | + > **Note**: Thanks for taking the time to fill out this bug report! + - type: textarea + id: content + attributes: + label: ❔ What happened + description: Simply ask your question here. + placeholder: Tell us what you want to know... + validations: + required: true -- 2.40.1 From edc3b3a91b1401f31e33070695b27a3f82862d68 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Sun, 12 Nov 2023 13:27:27 +0100 Subject: [PATCH 2/4] update pr template --- .../{ISSUE_TEMPLATE.md => ISSUE_TEMPLATE.yml} | 0 .gitea/PULL_REQUEST_TEMPLATE.md | 21 ---------- .gitea/PULL_REQUEST_TEMPLATE.yml | 41 +++++++++++++++++++ 3 files changed, 41 insertions(+), 21 deletions(-) rename .gitea/{ISSUE_TEMPLATE.md => ISSUE_TEMPLATE.yml} (100%) delete mode 100644 .gitea/PULL_REQUEST_TEMPLATE.md create mode 100644 .gitea/PULL_REQUEST_TEMPLATE.yml diff --git a/.gitea/ISSUE_TEMPLATE.md b/.gitea/ISSUE_TEMPLATE.yml similarity index 100% rename from .gitea/ISSUE_TEMPLATE.md rename to .gitea/ISSUE_TEMPLATE.yml diff --git a/.gitea/PULL_REQUEST_TEMPLATE.md b/.gitea/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index f8bad47..0000000 --- a/.gitea/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,21 +0,0 @@ -#### :book: Summary - - - -#### :bookmark_tabs: Test Plan - -> :bulb: Select your test plan for the code changes. - -| Choice | Test Method | -| :----: | :----------- | -| ✅ | CI pipeline tests | -| | Custom test | -| | No test plan | - -##### Details / Justification - - - -#### :books: Additional Notes - - diff --git a/.gitea/PULL_REQUEST_TEMPLATE.yml b/.gitea/PULL_REQUEST_TEMPLATE.yml new file mode 100644 index 0000000..b9e7951 --- /dev/null +++ b/.gitea/PULL_REQUEST_TEMPLATE.yml @@ -0,0 +1,41 @@ +name: Pull Request +about: General pull request +title: "" +body: + - type: markdown + attributes: + value: | + > **Note**: Thanks for contributing to this project with your pull request! + + - type: textarea + id: summary + attributes: + label: 📖 Summary + description: Provide a summary of your changes. Also descibe the why... + placeholder: Tell us about your code changes. + + validations: + required: true + - type: dropdown + id: testplan + attributes: + label: 📑 Test Plan + description: How did you test your code changes? + options: + - ✅ CI pipeline tests (Default) + - 🤔 Custom test + - 💣 No test Plan + validations: + required: true + - type: textarea + id: details + attributes: + label: 💬 Details + description: Add your custom test details or justification for missing tests here. + placeholder: First, solve the problem. Then, write the code. + - type: textarea + id: notes + attributes: + label: 📚 Additional Notes + description: A place for additional notes or linking references. + placeholder: Software and cathedrals are much the same - First we build them, then we pray. -- 2.40.1 From ac73a19c6ba3e223d1ea261f3ffa4608510bbb61 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Sun, 12 Nov 2023 13:27:51 +0100 Subject: [PATCH 3/4] fix typo --- .gitea/PULL_REQUEST_TEMPLATE.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/PULL_REQUEST_TEMPLATE.yml b/.gitea/PULL_REQUEST_TEMPLATE.yml index b9e7951..2e743b7 100644 --- a/.gitea/PULL_REQUEST_TEMPLATE.yml +++ b/.gitea/PULL_REQUEST_TEMPLATE.yml @@ -11,7 +11,7 @@ body: id: summary attributes: label: 📖 Summary - description: Provide a summary of your changes. Also descibe the why... + description: Provide a summary of your changes. Also describe the why... placeholder: Tell us about your code changes. validations: -- 2.40.1 From ffcb710319d4ef600e251daf2efb33380986015b Mon Sep 17 00:00:00 2001 From: OCram85 Date: Sun, 12 Nov 2023 13:30:47 +0100 Subject: [PATCH 4/4] update templates in new yml based forms --- .gitea/ISSUE_TEMPLATE/Bug.md | 48 ------------------- .gitea/ISSUE_TEMPLATE/Bug.yml | 69 ++++++++++++++++++++++++++++ .gitea/ISSUE_TEMPLATE/Enhancement.md | 16 ------- .gitea/ISSUE_TEMPLATE/Feature.yml | 46 +++++++++++++++++++ .gitea/ISSUE_TEMPLATE/Question.yml | 18 ++++++++ 5 files changed, 133 insertions(+), 64 deletions(-) delete mode 100644 .gitea/ISSUE_TEMPLATE/Bug.md create mode 100644 .gitea/ISSUE_TEMPLATE/Bug.yml delete mode 100644 .gitea/ISSUE_TEMPLATE/Enhancement.md create mode 100644 .gitea/ISSUE_TEMPLATE/Feature.yml create mode 100644 .gitea/ISSUE_TEMPLATE/Question.yml diff --git a/.gitea/ISSUE_TEMPLATE/Bug.md b/.gitea/ISSUE_TEMPLATE/Bug.md deleted file mode 100644 index e3c896d..0000000 --- a/.gitea/ISSUE_TEMPLATE/Bug.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -name: 'Bug' -about: 'This template is used to report bugs!' -title: ':lady_beetle: ' -labels: - - bug ---- - - -#### :bomb: Steps to reproduce - -```bash - -``` - -#### :rocket: Expected behavior - -```bash - -``` - -#### :boom: Actual behavior - -```bash - -``` - -#### :notebook: Environment data - - - -```bash - -``` - -#### :framed_picture: Screenshots - - - -#### :bookmark: Refs - - diff --git a/.gitea/ISSUE_TEMPLATE/Bug.yml b/.gitea/ISSUE_TEMPLATE/Bug.yml new file mode 100644 index 0000000..82aa97e --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/Bug.yml @@ -0,0 +1,69 @@ +name: 🐞 Bug Report +about: This template is used to report bugs! +title: '' +labels: + - bug +body: + - type: markdown + attributes: + value: | + > **Note**: This bug report is only for content provided in this repository! + > + > - Make sure you're able to reproduce the error in the lastest version of this package. + > - Search of already existing issues. + > - Refer to the known issues and FAQ section. + - type: textarea + id: reproduce + attributes: + label: 💣 Steps to reproduce + description: Describe ho to reproduce the error. + value: | + ```bash + + ``` + validations: + required: true + - type: textarea + id: expected + attributes: + label: 🚀 Expected behavior + description: Describe what should happen. + value: | + ```bash + + ``` + validations: + required: true + - type: textarea + id: actual + attributes: + label: 💥 Actual behavior + description: Describe what actually happens. + value: | + ```bash + + ``` + validations: + required: true + - type: textarea + id: env + attributes: + label: 📓 Environment data + description: You can add additional environment data here. + placeholder: | + ```bash + + ``` + - type: textarea + id: img + attributes: + label: 🖼️ Screenshots + description: Paste your screenshots here. + placeholder: Copy-Paste or Drag-and-Drop your images... + - type: textarea + id: refs + attributes: + label: 🔖 Refs + description: A place for additional references to other issues and PRs. + placeholder: | + - reopens #999 diff --git a/.gitea/ISSUE_TEMPLATE/Enhancement.md b/.gitea/ISSUE_TEMPLATE/Enhancement.md deleted file mode 100644 index 286eb82..0000000 --- a/.gitea/ISSUE_TEMPLATE/Enhancement.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -name: 'Enhancement' -about: 'Wite about new features.' -title: ':flying_saucer: ' -labels: - - issue/enhancement ---- - - -#### :satellite: Suggestion - -#### :artificial_satellite: Implementation ideas - -#### :framed_picture: Mock-up Images - -#### :bookmark: Refs. diff --git a/.gitea/ISSUE_TEMPLATE/Feature.yml b/.gitea/ISSUE_TEMPLATE/Feature.yml new file mode 100644 index 0000000..6ae035a --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/Feature.yml @@ -0,0 +1,46 @@ +name: 🛸 Feature Request +about: Wite about new features. +title: '' +labels: + - feature + - enhancement +body: + - type: markdown + attributes: + value: | + > **Note**: This bug report is only for content provided in this repository! + > + > This issue template is used to describe new features or enhancements. + - type: textarea + id: idea + attributes: + label: 📡 Suggestion + description: Describe ho to reproduce the error. + value: | + ```bash + + ``` + validations: + required: true + - type: textarea + id: impl + attributes: + label: 🛰️ Implementation ideas + description: Describe your initial implementation ideas. + validations: + required: true + - type: textarea + id: mockup + attributes: + label: 🖼️ Mock-up + description: Alternatively add your mockups here. + placeholder: Copy-Paste or Drag-and-Drop your images... + validations: + required: true + - type: textarea + id: refs + attributes: + label: 🔖 Refs + description: A place for additional references to other issues and PRs. + placeholder: | + - reopens #999 diff --git a/.gitea/ISSUE_TEMPLATE/Question.yml b/.gitea/ISSUE_TEMPLATE/Question.yml new file mode 100644 index 0000000..bb4f083 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/Question.yml @@ -0,0 +1,18 @@ +name: ❓ Question +about: Use this template if nothing seems to work. +title: '' +labels: + - question +body: + - type: markdown + attributes: + value: | + > **Note**: Thanks for taking the time to fill out this bug report! + - type: textarea + id: content + attributes: + label: ❔ What happened + description: Simply ask your question here. + placeholder: Tell us what you want to know... + validations: + required: true -- 2.40.1