From f095664894a220c6ef70b89d9ba00c0695e7486b Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Thu, 17 Mar 2022 07:46:44 -0400 Subject: [PATCH] Convert our issue templates into issue forms --- .github/ISSUE_TEMPLATE/bug_report.md | 43 ---------------- .github/ISSUE_TEMPLATE/bug_report.yml | 50 +++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 21 -------- .github/ISSUE_TEMPLATE/feature_request.yml | 29 +++++++++++ .../text-typos-or-improvements.md | 31 ------------ .../text-typos-or-improvements.yml | 42 ++++++++++++++++ 6 files changed, 121 insertions(+), 95 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml delete mode 100644 .github/ISSUE_TEMPLATE/text-typos-or-improvements.md create mode 100644 .github/ISSUE_TEMPLATE/text-typos-or-improvements.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 43ef9baa326..00000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve the game -title: '' -labels: Bug -assignees: '' - ---- - -### Game and System Information - - What version of the game are you running? - - - - Where did you download it from? (Steam, Mac App Store, our website, built from source (what commit), etc.) - - - - If you're using a custom build, what compiler did you use, and what commit did you build at? - - - - What OS are you running? - - - -### Description of the bug - - - -### Steps to reproduce the behavior - -1. -2. -3. - -### Expected behavior - - - -### Screenshots - - - -### Savefiles - - - -### Additional context - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000000..ab32dd15346 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,50 @@ +name: Bug Report +description: Create a report to help us improve the game, +labels: ['Bug'] + +body: + - type: textarea + id: info + attributes: + label: Game and System Information + description: | + - What version of the game are you running? + - Where did you download it from? (Steam, Mac App Store, our website, built from source, etc.) + - If you're using a custom build, what compiler did you use, and what commit did you build at? + - What OS are you running? + value: | + - **Version:** + - **Downloaded from:** + - **Build info:** + - **OS:** + + - type: textarea + id: description + attributes: + label: Description of the bug + description: A clear and concise description of what the bug is. + validation: + required: true + + - type: textarea + id: to_reproduce + attributes: + label: Steps to reproduce the behavior + value: | + 1. + 2. + 3. + + - type: textarea + id: expectation + attributes: + label: Expected behavior + description: | + A clear and concise description of what you expected to happen. If applicable, add screenshots or savefiles to help explain your problem. + To find savefiles, start Wesnoth, click on the `i` button at the bottom left corner of the title screen, and open the `Saved games` directory. + + - type: textarea + id: more_info + attributes: + label: Additional context + description: Add any other context (compiler logs, console output, etc) about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index c60c1ba178c..00000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: Feature Request -about: Request a new feature to enhance the game -title: '' -labels: 'enhancement' -assignees: '' - ---- - -### Game and System Information - - What version of the game are you running? - - Where did you download it from? (Steam, Mac App Store, our website, built from source, etc.) - - If you're using a custom build, what compiler did you use, and what commit did you build at? - - What OS are you running? - -### Describe the desired feature -Try to explain the desired end result, rather than speculating about how the feature could be implemented - -### Screenshots -If applicable, add screenshots or mockups to help explain your request. - diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000000..ba3db3edd00 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,29 @@ +name: Feature Request +description: Request a new feature to enhance the game. +labels: ['Enhancement'] + +body: + - type: textarea + id: info + attributes: + label: Game and System Information + description: | + - What version of the game are you running? + - Where did you download it from? (Steam, Mac App Store, our website, built from source, etc.) + - If you're using a custom build, what compiler did you use, and what commit did you build at? + - What OS are you running? + value: | + - **Version:** + - **Downloaded from:** + - **Build info:** + - **OS:** + + - type: textarea + id: description + attributes: + label: Describe the desired feature + description: | + Try to explain the desired end result, rather than speculating about how the feature could be implemented. + If applicable, add screenshots or mockups to help explain your request. + validation: + required: true diff --git a/.github/ISSUE_TEMPLATE/text-typos-or-improvements.md b/.github/ISSUE_TEMPLATE/text-typos-or-improvements.md deleted file mode 100644 index 87a4d50f37a..00000000000 --- a/.github/ISSUE_TEMPLATE/text-typos-or-improvements.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: Text Typos or Improvements -about: Any typo fixes or improvement suggestions for campaign dialog, unit descriptions, - or other game text. -title: '' -labels: Prose -assignees: '' - ---- - -Note: The house style of Wesnoth uses a good many words and constructions that -are archaic, poetic, or dialectal. If you speak modern English as a second -language you may incorrectly read these as errors. Please see -[NotSpellingMistakes](https://wiki.wesnoth.org/NotSpellingMistakes) for a list -of things you will encounter that may look like spelling or usage errors but -are not. - -Note that the mainline campaigns are now using correct typography, -including sexed quotes and en and em dashes. These will appear as three byte -sequences if you are not using a viewer that supports UTF-8. - -### Text Issues: Typos, grammar mistakes, suggested improvements - -* Is the text in English? If not, what language is it in? - -* What campaign does the text appear in? If it's not in a campaign, say where it is: - -* Please quote the text verbatim. You can use `**bold**` to point out the mistaken part: - -* _(optional)_ What do you propose to change the text to? - diff --git a/.github/ISSUE_TEMPLATE/text-typos-or-improvements.yml b/.github/ISSUE_TEMPLATE/text-typos-or-improvements.yml new file mode 100644 index 00000000000..498c18aee1f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/text-typos-or-improvements.yml @@ -0,0 +1,42 @@ +name: Text Typos or Improvements +description: Any typo fixes or improvement suggestions for campaign dialog, unit descriptions, or other game text. +labels: ['Prose'] + +body: + - type: markdown + attributes: + value: | + **Note:** The house style of Wesnoth uses a good many words and constructions that are archaic, poetic, + or dialectal. If you speak modern English as a second language you may incorrectly read these as errors. + Please see [NotSpellingMistakes](https://wiki.wesnoth.org/NotSpellingMistakes) for a list of things you + will encounter that may look like spelling or usage errors but are not. + + Note that the mainline campaigns are now using correct typography, including sexed quotes and en and em + dashes. These will appear as three byte sequences if you are not using a viewer that supports UTF-8. + + - type: input + id: language + attributes: + label: Language + description: What language does the typo appear in? + + - type: input + id: location + attributes: + label: Source + description: Where does the typo appear? If part of a campaign, specify the scenario. + validations: + required: true + + - type: textarea + id: original_text + attributes: + label: Original Text + description: Quote the text verbatim. You can use `**bold**` to highlight the issue. + validations: + required: true + + - type: textarea + id: new_text + attributes: + label: Proposed Change