From 0b65acc927f6a2f0904c87f24f6012dcc653cafb Mon Sep 17 00:00:00 2001 From: Brian Chavez Date: Fri, 22 Dec 2023 11:05:19 -0700 Subject: [PATCH] Update GitHub Bug Template. //skipci --- .github/ISSUE_TEMPLATE/01_support.md | 28 ----- .github/ISSUE_TEMPLATE/02_feature_request.md | 29 ----- .github/ISSUE_TEMPLATE/03_bug_report.md | 34 ----- .github/ISSUE_TEMPLATE/bug_report.yml | 124 +++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 2 + .github/ISSUE_TEMPLATE/feature_request.yml | 42 +++++++ .github/ISSUE_TEMPLATE/support.yml | 86 +++++++++++++ 7 files changed, 254 insertions(+), 91 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/01_support.md delete mode 100644 .github/ISSUE_TEMPLATE/02_feature_request.md delete mode 100644 .github/ISSUE_TEMPLATE/03_bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/ISSUE_TEMPLATE/support.yml diff --git a/.github/ISSUE_TEMPLATE/01_support.md b/.github/ISSUE_TEMPLATE/01_support.md deleted file mode 100644 index 93bc329d..00000000 --- a/.github/ISSUE_TEMPLATE/01_support.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -name: ❓ Support -labels: question -about: If you need help using Bogus 🏥 ---- - -### Version Information -| Software | Version(s) | -| ------------------------| ---------- | -| Bogus NuGet Package | | -| .NET Core? | | -| .NET Full Framework? | | -| Windows OS? | | -| Linux OS? | | -| Visual Studio? | | - -### What locale are you using with Bogus? - -### What's the problem? - -### What possible solutions have you considered? - -### Do you have sample code to show what you're trying to do? - -_(Please be complete. Provide all code necessary to run your example in LINQPad.)_ -_(The more complete code examples are, the more accurate answers will be.)_ -_(https://www.linqpad.net)_ - \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/02_feature_request.md b/.github/ISSUE_TEMPLATE/02_feature_request.md deleted file mode 100644 index 4ac0e396..00000000 --- a/.github/ISSUE_TEMPLATE/02_feature_request.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -name: 🚀 Feature request -about: If you have a feature request 💡 ---- - -### Please describe why you are requesting a feature - - -### Please provide a code example of what you are trying to achieve - -_(Please be complete. Include all code necessary to run your example in LINQPad.)_ -_(The more complete code examples are, the more accurate answers will be.)_ -_(https://www.linqpad.net)_ - - -### Please answer any or all of the questions below - -* Is the feature something that currently cannot be done? - - -* What alternatives have you considered? - - -* Has the feature been requested in the past? - - -**If the feature request is approved, would you be willing to submit a PR?** - -Yes / No _(Help can be provided if you need assistance submitting a PR)_ diff --git a/.github/ISSUE_TEMPLATE/03_bug_report.md b/.github/ISSUE_TEMPLATE/03_bug_report.md deleted file mode 100644 index e41acc1a..00000000 --- a/.github/ISSUE_TEMPLATE/03_bug_report.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -name: 🐜 Bug report -about: If something isn't working 🔧 ---- - -### Version Information -| Software | Version(s) | -| ------------------------| ---------- | -| Bogus NuGet Package | | -| .NET Core? | | -| .NET Full Framework? | | -| Windows OS? | | -| Linux OS? | | -| Visual Studio? | | - -### What locale are you using with Bogus? - -### What is the expected behavior? - -### What is the actual behavior? - -### Please provide a stack trace. - -### Any possible solutions? - -### How do you reproduce the issue? - -### Do you have a unit test that can demonstrate the bug? - -### Can you identify the location in Bogus' source code where the problem exists? - -### If the bug is confirmed, would you be willing to submit a PR? - -Yes or No? diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..1b2f67ef --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,124 @@ +name: 🐞 Bug Report +description: "Report something that doesn't look right 🔧" +labels: [""] +body: + - type: markdown + attributes: + value: | + ## Version Information + + - type: input + id: version-bogus + attributes: + label: Bogus NuGet Package + description: What version of Bogus are you using? + placeholder: ex. v35.0.1 + validations: + required: true + + - type: input + id: version-dotnet + attributes: + label: .NET Version + description: What version of .NET are using? + placeholder: ex. Full Framework 4.7.1 or .NET 8? + validations: + required: true + + - type: input + id: version-visualstudio + attributes: + label: Visual Studio Version + description: What version of Visual Studio are using? + placeholder: ex. 17.8? + validations: + required: false + + - type: dropdown + id: operating-system + attributes: + label: What operating system are you using? + multiple: false + options: + - Windows + - Linux + - MacOS + - Other + validations: + required: true + + - type: markdown + attributes: + value: | + ## Bug Report + + - type: input + id: bogus-locale + attributes: + label: What locale are you using with Bogus? + description: + placeholder: ex. en_GB + validations: + required: true + + + - type: textarea + id: problem-description + attributes: + label: Problem Description + description: Please share a clear and concise description of the problem. + placeholder: + validations: + required: true + + - type: textarea + id: problem-linqpad-repro-steps + attributes: + label: LINQPad Example or Reproduction Steps + description: | + Please provide a LINQPad example of the problem or provide reproduction steps. LINQPad can be downloaded here: https://www.linqpad.net/. + placeholder: "LINQPad can be downloaded here: https://www.linqpad.net/" + validations: + required: true + + - type: textarea + id: bogus-expected-behavior + attributes: + label: Expected Behavior + description: Provide a description of the expected behavior. + placeholder: Expected Behavior + validations: + required: true + + - type: textarea + id: bogus-actual-behavior + attributes: + label: Actual Behavior + description: | + Provide a description of the actual behavior observed. Please include any error messages, exception stacktraces, logs, and/or screenshots. + placeholder: Actual Behavior + validations: + required: true + + - type: textarea + id: known-workarounds + attributes: + label: Known Workarounds + description: | + Please provide a description of any known workarounds. + placeholder: Known Workarounds + validations: + required: false + + - type: dropdown + id: can-send-pr + attributes: + label: Could you help with a pull-request? + description: If the bug is confirmed, would you be willing to submit a pull-request? + options: + - "No" + - "Yes" + validations: + required: true + + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..b92c70cb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,2 @@ +blank_issues_enabled: true + diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..60739137 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,42 @@ +name: 🚀 Feature request +description: If you have a feature request 💡 +labels: [""] +body: + - type: textarea + id: feature-why + attributes: + label: Description + description: Please describe why you are requesting this feature. + placeholder: + validations: + required: true + + - type: textarea + id: feature-code-example + attributes: + label: LINQPad Code Example + description: | + Please provide a LINQPad example of what you are trying to achieve. LINQPad can be downloaded here: https://www.linqpad.net/. + placeholder: "LINQPad can be downloaded here: https://www.linqpad.net/" + validations: + required: true + + - type: textarea + id: feature-alternatives + attributes: + label: What alternatives have you considered? + description: Are there any workarounds or alternatives? + placeholder: + validations: + required: true + + - type: dropdown + id: feature-can-send-pr + attributes: + label: Could you help with a pull-request? + description: If the bug is confirmed, would you be willing to submit a pull-request? + options: + - "No" + - "Yes" + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/support.yml b/.github/ISSUE_TEMPLATE/support.yml new file mode 100644 index 00000000..60c571a7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/support.yml @@ -0,0 +1,86 @@ +name: ❓ Support +description: "If you need help using Bogus 🏥" +labels: ["question"] +body: + + - type: markdown + attributes: + value: | + ## Version Information + + - type: input + id: version-bogus + attributes: + label: Bogus NuGet Package + description: What version of Bogus are you using? + placeholder: ex. v35.0.1 + validations: + required: true + + - type: input + id: version-dotnet + attributes: + label: .NET Version + description: What version of .NET are using? + placeholder: ex. Full Framework 4.7.1 or .NET 8? + validations: + required: true + + - type: input + id: version-visualstudio + attributes: + label: Visual Studio Version + description: What version of Visual Studio are using? + placeholder: ex. 17.8? + validations: + required: false + + - type: dropdown + id: operating-system + attributes: + label: What operating system are you using? + multiple: false + options: + - Windows + - Linux + - MacOS + - Other + validations: + required: true + + - type: input + id: bogus-locale + attributes: + label: What locale are you using with Bogus? + description: + placeholder: ex. en_GB + validations: + required: true + + - type: textarea + id: support-request + attributes: + label: What's the problem? + description: Please describe the support issue. + placeholder: + validations: + required: true + + - type: textarea + id: support-linqpad + attributes: + label: Provide LINQPad Example + description: | + Please provide a LINQPad example of what you are trying to do. LINQPad can be downloaded here: https://www.linqpad.net/. + placeholder: "LINQPad can be downloaded here: https://www.linqpad.net/" + validations: + required: true + + - type: textarea + id: support-alternatives + attributes: + label: What other possible solutions or alternatives have you considered? + description: Are there any workarounds or alternatives? + placeholder: + validations: + required: true \ No newline at end of file