diff --git a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml new file mode 100644 index 0000000..e72fb8a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml @@ -0,0 +1,93 @@ +name: "Bug Report" +description: Creatre a new issue for a bug. +title: "[BUG] - " +labels: ["bug", "needs triage"] + +body: + - type: textarea + id: description + attributes: + label: "Description" + description: Please enter an explicit description of your issue + placeholder: Short and explicit description of your incident... + validations: + required: true + - type: textarea + id: expected_behaviour + attributes: + label: "Expected Behaviour" + description: Please describe how you would expect the app to behave + placeholder: I would expect the app to ... because ... + validations: + required: true + - type: textarea + id: reprod + attributes: + label: "Reproduction steps" + description: Please enter an explicit description of your issue + value: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + render: bash + validations: + required: true + - type: textarea + id: environment + attributes: + label: "Environment" + descriptions: Speciy whether the bug occured on prod or test environment. + placeholder: e.g. https://www.test-pledge4future.org + validations: + required: false + - type: textarea + id: logs + attributes: + label: "Logs" + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: bash + validations: + required: false + - type: textarea + id: screenshot + attributes: + label: "Screenshots" + description: If applicable, add screenshots to help explain your problem. + value: | + ![DESCRIPTION](LINK.png) + render: bash + validations: + required: false + - type: dropdown + id: browsers + attributes: + label: "Browsers" + description: What browsers are you seeing the problem on ? + multiple: true + options: + - Firefox + - Chrome + - Safari + - Microsoft Edge + - Opera + validations: + required: false + - type: textarea + id: browser_version + attributes: + label: "Browser Version" + description: The version of the browser you are using. + validations: + required: false + - type: dropdown + id: priority + attributes: + label: "Priority" + description: How urgent is a fix in your opinion? + options: + - Low + - Medium + - High + 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..74caae8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml @@ -0,0 +1,42 @@ +name: "Feature Request" +description: Create a new ticket for a new feature request +title: "[REQUEST] - <title>" +labels: [ + "Feature Request", "needs triage" +] +body: + - type: textarea + id: summary + attributes: + label: "Summary" + description: Provide a brief explanation of the feature + placeholder: Describe in a few lines your feature request + validations: + required: true + - type: textarea + id: basic_example + attributes: + label: "Basic Example" + description: Indicate here some basic examples of your feature. + placeholder: A few specific words about your feature request. + validations: + required: true + - type: textarea + id: user_role + attributes: + label: "Your Role" + description: Describe the role you have when using the app. + placeholder: Specify for example if you are the representative of a working group or not... + validations: + required: false + - type: dropdown + id: priority + attributes: + label: "Priority" + description: How urgent is a fix in your opinion? + options: + - Low + - Medium + - High + validations: + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/GENERAL-ISSUE.yml b/.github/ISSUE_TEMPLATE/GENERAL-ISSUE.yml new file mode 100644 index 0000000..bdd870b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/GENERAL-ISSUE.yml @@ -0,0 +1,14 @@ +name: "General Issue" +description: Create a generic, general ticket. +title: "<title>" +labels: [ + "needs triage" +] +body: + - type: textarea + id: Issue Descriptions + attributes: + label: "Description" + description: Provide a description of your issue. + validations: + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..ec4bb38 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/issue_template.yml b/.github/ISSUE_TEMPLATE/issue_template.yml deleted file mode 100644 index 5332a90..0000000 --- a/.github/ISSUE_TEMPLATE/issue_template.yml +++ /dev/null @@ -1,127 +0,0 @@ -name: Issue Template -about: Create a new issue -title: "" - -body: - - type: select - id: issue_type - attributes: - label: Issue Type - description: Please select the type of issue you are creating. - options: - - Bug Report - - Feature Request - - General Issue - - - type: conditional - attributes: - conditions: - - field: issue_type - value: Bug Report - items: - - type: textarea - id: bug_description - attributes: - label: Bug Description - description: Provide a general description of the bug. - - - type: textarea - id: expected_behavior - attributes: - label: Expected Behavior - description: Describe the software behaviour that you would expect. This helps us identify whether this is actually a bug or if the app is working as intended. - - - type: enum - id: reproduction_steps - attributes: - label: Reproduction Steps - description: | - Enumerate the steps to reproduce the bug. - 1. Step 1 - 2. Step 2 - 3. Step 3 - 4. ... - - - type: text - id: browser - attributes: - label: Browser and Version - description: Specify the browser you are using. Please include the version. - - - type: select - id: priority - attributes: - label: Priority - description: Select the priority of the issue. - options: - - High - - Medium - - Low - - actions: - - type: add_label - name: Prio:HIGH - if: ${{ inputs.priority == 'High' }} - description: Adds 'Prio:High' label to the issue. - - type: add_label - name: Prio:MEDIUM - if: ${{ inputs.priority == 'Medium' }} - description: Adds 'Prio:Medium' label to the issue. - - type: add_label - name: Prio:LOW - if: ${{ inputs.priority == 'Low' }} - description: Adds 'Prio:Low' label to the issue. - - - type: conditional - attributes: - conditions: - - field: issue_type - value: Feature Request - items: - - type: textarea - id: feature_description - attributes: - label: Feature Description - description: Provide a general description of the feature. - - - type: text - id: user_role - attributes: - label: User Role - description: Describe your role in relation to this feature. - - - type: select - id: priority - attributes: - label: Priority - description: Select the priority of the feature request. - options: - - High - - Medium - - Low - - actions: - - type: add_label - name: Prio:HIGH - if: ${{ inputs.priority == 'High' }} - description: Adds 'Prio:High' label to the issue. - - type: add_label - name: Prio:MEDIUM - if: ${{ inputs.priority == 'Medium' }} - description: Adds 'Prio:Medium' label to the issue. - - type: add_label - name: Prio:LOW - if: ${{ inputs.priority == 'Low' }} - description: Adds 'Prio:Low' label to the issue. - - - type: conditional - attributes: - conditions: - - field: issue_type - value: General Issue - items: - - type: textarea - id: general_description - attributes: - label: General Issue Description - description: Here is room for your input if you are not sure whether your issue is Bug or a Feature Request. Please provide a detailed description of the issue and add labels if necessary.