From 9efff3447f2e26410dab9d8ba4b7f40c2a3a2a18 Mon Sep 17 00:00:00 2001 From: Priyash Shah <89684873+plon-Susk7@users.noreply.github.com> Date: Wed, 11 Oct 2023 18:01:21 +0545 Subject: [PATCH] feat: Turn Github Issue templates into interactive forms. fixes #361 --- .github/ISSUE_TEMPLATE/bug_report.md | 38 ---------- .github/ISSUE_TEMPLATE/bug_report.yaml | 72 +++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ------ .github/ISSUE_TEMPLATE/feature_request.yaml | 37 ++++++++++ .github/ISSUE_TEMPLATE/qa_test_checklist.md | 18 ----- .github/ISSUE_TEMPLATE/qa_test_checklist.yaml | 42 +++++++++++ 6 files changed, 151 insertions(+), 76 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yaml delete mode 100644 .github/ISSUE_TEMPLATE/qa_test_checklist.md create mode 100644 .github/ISSUE_TEMPLATE/qa_test_checklist.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index c64a0feb..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: bug -assignees: '' - ---- - -**Describe the bug** -Write A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -**Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] - -**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..3037bdae --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,72 @@ +name: Bug Report +description: File a bug report +title: "[Bug]: " +labels: ["bug", "triage"] +projects: ["tattle-made/uli"] +assignees: + - dennybrain +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: description + attributes: + label: Describe the bug + description: Write A clear and concise description of what the bug is. + placeholder: A bug happened! + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Steps to reproduce + description: Steps to reproduce the behavior + placeholder: "1. Go to '...' \n2. Click on '....' \n3. Scroll down to '....' \n4. See error" + validations: + required: true + - type: input + id: expected + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + placeholder: I expected... + validations: + required: true + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your problem + validations: + required: false + - type: dropdown + id: browsers + attributes: + label: What browsers are you seeing the problem on? + multiple: true + options: + - Firefox + - Chrome + - Safari + - Microsoft Edge + - Other + - type: dropdown + id: os + attributes: + label: Which operating system are you on? + multiple: false + options: + - Windows + - MacOS + - Linux + - Android + - iOS + - type: textarea + id: system + attributes: + label: System Description + description: More information about your setup + validations: + required: false \ 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..bc848b59 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,37 @@ +name: Feature request +description: Suggest an idea for this project +title: "Feature request" +labels: ["enhancement"] +projects: ["tattle-made/uli"] +assignees: + - dennybrain +body: + - type: textarea + id: problem + attributes: + label: Is your feature request related to a problem? Please describe. + description: A clear and concise description of what the problem is. + placeholder: Ex. I'm always frustrated when.. + validations: + required: true + - type: textarea + id: solution + attributes: + label: Describe the solution you would 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 have considered. + validations: + required: false + - type: textarea + id: additional_context + attributes: + label: Addtional Context + description: Add any other context or screenshots about the feature request here. + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/qa_test_checklist.md b/.github/ISSUE_TEMPLATE/qa_test_checklist.md deleted file mode 100644 index 7851ae2d..00000000 --- a/.github/ISSUE_TEMPLATE/qa_test_checklist.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: QA Test Checklist -about: Use this as a guide for manual QA -title: "[QA]" -labels: 'qa' -assignees: 'dennyabrain' - ---- - -### Platform -Choose Chrome, Brave or Firefox - -### Features To Check : -- [ ] Users are able to archive a tweet on their device -- [ ] Users are able to send an archived tweet to their email -- [ ] Users are able to hide tweets with OGBV on their feed -- [ ] Users are able to update their Preference -- [ ] Uli is able to hide slurs on user's feed diff --git a/.github/ISSUE_TEMPLATE/qa_test_checklist.yaml b/.github/ISSUE_TEMPLATE/qa_test_checklist.yaml new file mode 100644 index 00000000..3dda958d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/qa_test_checklist.yaml @@ -0,0 +1,42 @@ +name: QA Test Checklist +description: Use this as a guide for manual QA +title: "[QA]" +labels: ["qa"] +projects: ["tattle-made/uli"] +assignees: + - dennybrain +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: dropdown + id: browsers + attributes: + label: What browsers are you seeing the problem on? + multiple: true + options: + - Firefox + - Chrome + - Brave + - Microsoft Edge + - Other + - type: checkboxes + id: features + attributes: + label: Features to check + options: + - label: Users are able to archive a tweet on their device + - label: Users are able to send an archived tweet to their email + - label: Users are able to hide tweets with OGBV on their feed + - label: Users are able to update their Preference + - label: Uli is able to hide slurs on user's feed + required: false + - type: textarea + id: additional_context + attributes: + label: Something other than a feature? + description: QA testing for something else than a feature. + placeholder: Example, problem in viewing the image logo + validations: + required: false \ No newline at end of file