diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 8ce7d9ee..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: bug -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Version (please complete the following information):** - - 3X-UI Version : [e.g. 2.3.5] - - Xray Version : [e.g. 1.8.13] - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 00000000..52de9322 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,77 @@ +name: Bug report +description: Create a report to help us improve +title: "[Bug]: " +labels: ["bug"] + +body: + - type: markdown + attributes: + value: | + Thank you for reporting a bug! Please fill out the following information. + + - type: textarea + id: what-happened + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + placeholder: My problem is... + validations: + required: true + + - type: textarea + id: how-repeat-problem + attributes: + label: How to repeat the problem? + description: Sequence of actions that allow you to reproduce the bug + placeholder: | + 1. Open `Inbounds` page + 2. ... + validations: + required: true + + - type: textarea + id: expected-action + attributes: + label: Expected action + description: What's going to happen + placeholder: Must be... + validations: + required: false + + - type: textarea + id: received-action + attributes: + label: Received action + description: What's really happening + placeholder: It's actually happening... + validations: + required: false + + - type: input + id: xui-version + attributes: + label: 3x-ui Version + description: Which version of 3x-ui are you using? + placeholder: 2.X.X + validations: + required: true + + - type: input + id: xray-version + attributes: + label: Xray-core Version + description: Which version of Xray-core are you using? + placeholder: 2.X.X + validations: + required: false + + - type: checkboxes + id: final-stage + attributes: + label: The final stage + description: Please check all the checkboxes + options: + - label: This bug report is written in English + required: true + - label: This bug report is new and no one has reported it before me. + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 11fc491e..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: enhancement -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 00000000..a94fdbb5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,30 @@ +name: Feature request +description: Suggest an idea for this project +title: "[Enchancement]: " +labels: ["enhancement"] + +body: + - type: textarea + id: is-related-problem + attributes: + label: Is your feature request related to a problem? + description: A clear and concise description of what the problem is. + placeholder: I'm always frustrated when... + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Describe the solution you'd like + description: A clear and concise description of what you want to happen. + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Describe alternatives you've considered + description: A clear and concise description of any alternative solutions or features you've considered. + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/question-.md b/.github/ISSUE_TEMPLATE/question-.md deleted file mode 100644 index 53acd09f..00000000 --- a/.github/ISSUE_TEMPLATE/question-.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: 'Question ' -about: Describe this issue template's purpose here. -title: '' -labels: question -assignees: '' - ---- - - diff --git a/.github/ISSUE_TEMPLATE/question.yaml b/.github/ISSUE_TEMPLATE/question.yaml new file mode 100644 index 00000000..abd36204 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yaml @@ -0,0 +1,10 @@ +name: Question +description: Describe this issue template's purpose here. +title: "[Question]: " +labels: ["question"] + +body: + - type: textarea + id: question + validations: + required: true