From a2004cf4d36ef53318b3f7912e16b6e03e75e92f Mon Sep 17 00:00:00 2001 From: Tommy K Date: Thu, 25 Apr 2024 12:21:11 +0200 Subject: [PATCH] Update BugReport.yaml, FeatureRequest.yaml, config.yaml, and 1 more file --- .gitea/issue_template/BugReport.yaml | 65 +++++++++++++++++++++++ .gitea/issue_template/FeatureRequest.yaml | 38 +++++++++++++ .gitea/issue_template/config.yaml | 5 ++ ISSUE_TEMPLATE.md | 28 ---------- 4 files changed, 108 insertions(+), 28 deletions(-) create mode 100644 .gitea/issue_template/BugReport.yaml create mode 100644 .gitea/issue_template/FeatureRequest.yaml create mode 100644 .gitea/issue_template/config.yaml delete mode 100644 ISSUE_TEMPLATE.md diff --git a/.gitea/issue_template/BugReport.yaml b/.gitea/issue_template/BugReport.yaml new file mode 100644 index 0000000..ce44fe1 --- /dev/null +++ b/.gitea/issue_template/BugReport.yaml @@ -0,0 +1,65 @@ +name: Bug Report +about: File a bug report +title: "[Bug]: " +label: + - "bug" +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + # some markdown that will only be visible once the issue has been created + - type: markdown + attributes: + value: | + This issue was created by an issue **template** :) + visible: [content] + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Also tell us, what did you expect to happen? + placeholder: Tell us what you see! + value: "A bug happened!" + validations: + required: true + - type: dropdown + id: version + attributes: + label: Version + description: What version of our software are you running? + options: + - Main + - Test + - Dev + validations: + required: true + - type: dropdown + id: browsers + attributes: + label: What browsers are you seeing the problem on? + multiple: true + options: + - Firefox + - Chrome + - Safari + - Microsoft Edge + - 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, so no need for backticks. + render: shell + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com) + options: + - label: I agree to follow this project's Code of Conduct + required: true + - label: I have also read the CONTRIBUTION.MD + required: true + visible: [form] + - label: This is a TODO only visible after issue creation + visible: [content] \ No newline at end of file diff --git a/.gitea/issue_template/FeatureRequest.yaml b/.gitea/issue_template/FeatureRequest.yaml new file mode 100644 index 0000000..3c1c27a --- /dev/null +++ b/.gitea/issue_template/FeatureRequest.yaml @@ -0,0 +1,38 @@ +name: New feature Request +about: File a request to add a new feature +title: "[feature]: " +label: + - "enhancement" +body: + - type: markdown + attributes: + value: | + This issue was created by an issue **template** :) + visible: [content] + - type: textarea + id: Request + attributes: + label: What would you like to see Implemented + description: Please describe this feature in detail + placeholder: Tell us what you want to see added! + value: "as a user i would like " + validations: + required: true + - type: textarea + id: functional + attributes: + label: (Optional) What would the functional requirements be ? + description: Please describe this feature's functionality in detail + placeholder: Tell us how this feature would work + value: "if i a user/admin/developer would preform would do x this then y would happen" + validations: + required: false + - type: textarea + id: technical + attributes: + label: (Optional) What would the technical requirements be ? + description: Please describe this feature's technical requirements + placeholder: Tell us how this feature would work behind the scenes + value: "if i a user/admin/developer would preform this action the application would" + validations: + required: false diff --git a/.gitea/issue_template/config.yaml b/.gitea/issue_template/config.yaml new file mode 100644 index 0000000..b245f08 --- /dev/null +++ b/.gitea/issue_template/config.yaml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: inpaqt question engine + url: https://gitea.https://inpaqt.com/contact/ + about: Visit our customer website \ No newline at end of file diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md deleted file mode 100644 index 26c8b68..0000000 --- a/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,28 +0,0 @@ ---- - -name: "Issue Template" -about: "This template is for testing!" -title: "New Feature" -ref: "main" -labels: - -- enhancement - ---- - -## Feature Description -# Example - -when you press a button the text "hello world" gets printed on screen - - -## Functional requirements -# example - 1. a button to click on - - -## Technical requirements - -# Example - 1. a button element on the page - 1. a function that displays the text "hello world"