Skip to content

Commit

Permalink
Update GitHub Bug Template. //skipci
Browse files Browse the repository at this point in the history
  • Loading branch information
bchavez committed Dec 22, 2023
1 parent c20f163 commit 0b65acc
Show file tree
Hide file tree
Showing 7 changed files with 254 additions and 91 deletions.
28 changes: 0 additions & 28 deletions .github/ISSUE_TEMPLATE/01_support.md

This file was deleted.

29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/02_feature_request.md

This file was deleted.

34 changes: 0 additions & 34 deletions .github/ISSUE_TEMPLATE/03_bug_report.md

This file was deleted.

124 changes: 124 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -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


2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
blank_issues_enabled: true

42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -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
86 changes: 86 additions & 0 deletions .github/ISSUE_TEMPLATE/support.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0b65acc

Please sign in to comment.