From 128a744cd61b7e29c456926eb9069054f99a6319 Mon Sep 17 00:00:00 2001 From: Nick Visutsithiwong <2823112+nickvisut@users.noreply.github.com> Date: Wed, 11 Sep 2024 18:58:21 -0700 Subject: [PATCH] add issue templates --- .github/ISSUE_TEMPLATE/bug.yml | 55 ++++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 +++ .github/ISSUE_TEMPLATE/feature.yml | 29 ++++++++++++++++ .github/ISSUE_TEMPLATE/other.yml | 27 +++++++++++++++ 4 files changed, 116 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature.yml create mode 100644 .github/ISSUE_TEMPLATE/other.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000..a5ad6bc1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,55 @@ +# NOTE: This is based off of the example template here: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms +name: Bug Report +description: File a bug report. +title: "[Bug]: " +labels: ["bug"] +projects: ["sfbrigade/6"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Also tell us, what did you expect to happen? (feel free to also add a screenshot or video) + placeholder: Tell us what you see! + value: "A bug happened!" + validations: + required: true + - type: textarea + id: what-expected + attributes: + label: What should have happened instead? + description: And what behavior did you expect to happen instead? + placeholder: Tell us what you expect! + value: "This should have happened instead!" + - type: dropdown + id: browsers + attributes: + label: What browser(s) are you seeing the problem on? + multiple: true + options: + - Chrome + - Safari + - Microsoft Edge + - Firefox + - type: dropdown + id: platforms + attributes: + label: Which platform(s) are you seeing the problem on? + multiple: true + options: + - Windows + - macOS + - iOS + - Android + - type: input + id: contact + attributes: + label: Contact Details + description: How can we get in touch with you if we need more info? + placeholder: ex. email@example.com + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..03fb8761 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: SF Civic Tech + url: https://www.sfcivictech.org/about + about: Please get in contact here diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 00000000..09cf6f15 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,29 @@ +# NOTE: This is based off of the example template here: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms +name: Feature Request +description: File a feature/enhancement request. +title: "[Feature]: " +labels: ["feature"] +projects: ["sfbrigade/6"] +assignees: + - juliagoolia +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this feature request! + - type: textarea + id: what-request + attributes: + label: What feature or enhancement are you requesting? + description: Also tell us more details about the requirements for your feature or enhancement. (feel free to also attach screenshots or other media) + placeholder: Provide more details! + validations: + required: true + - type: input + id: contact + attributes: + label: Contact Details + description: How can we get in touch with you if we need more info? + placeholder: ex. email@example.com + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/other.yml b/.github/ISSUE_TEMPLATE/other.yml new file mode 100644 index 00000000..c5b08e89 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/other.yml @@ -0,0 +1,27 @@ +# NOTE: This is based off of the example template here: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms +name: Other Issue +description: File another type of issue. +title: "[Other issue]: " +labels: [""] +projects: ["sfbrigade/6"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this issue form! + - type: textarea + id: what-issue + attributes: + label: What is the issue you are reporting? + description: Also tell us more details about the issue you are experiencing. (feel free to also add screenshots or other media) + placeholder: There's an issue! + validations: + required: true + - type: input + id: contact + attributes: + label: Contact Details + description: How can we get in touch with you if we need more info? + placeholder: ex. email@example.com + validations: + required: false