Skip to content

Commit

Permalink
use bug/feature form templates for issue creation
Browse files Browse the repository at this point in the history
  • Loading branch information
fwbrasil committed Jan 21, 2025
1 parent 9db2aff commit bed9e88
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 28 deletions.
27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
PRs require an approval from any of the core contributors, other than the PR author.
Include if applicable:
Include this header if applicable:
Fixes #issue1, #issue2, ...
-->

Expand Down
54 changes: 54 additions & 0 deletions .github/workflows/ISSUE_TEMPLATE/01-bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Bug Report
description: File a bug report
title: "[BUG]: "
labels: ["bug"]
body:
- type: input
id: version
attributes:
label: Version
description: What version of Kyo are you using?
placeholder: e.g. 0.16.0
validations:
required: true

- type: input
id: scala-version
attributes:
label: Scala Version
description: What version of Scala are you using?
placeholder: e.g. 3.6.2
validations:
required: true

- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What should happen? Be specific about the expected outcome.
validations:
required: false

- type: textarea
id: actual
attributes:
label: Actual Behavior
description: What went wrong? Include error messages, stack traces, or logs if relevant.
validations:
required: true

- type: textarea
id: reproduction
attributes:
label: Steps to Reproduce
description: Please provide a step by step guide to reproduce the issue. Include minimal code examples and any specific configuration or environment details needed.
validations:
required: false

- type: textarea
id: workaround
attributes:
label: Current Workaround
description: If you've found a temporary solution, describe it here to help others encountering the same issue.
validations:
required: false
44 changes: 44 additions & 0 deletions .github/workflows/ISSUE_TEMPLATE/02-feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Feature Request
description: Suggest a new feature or enhancement
title: "[feature]: "
labels: ["feature"]
body:
- type: textarea
id: problem
attributes:
label: Problem Statement
description: What problem does this feature solve? Please describe the use case.
validations:
required: false

- type: textarea
id: proposed-solution
attributes:
label: Proposed Solution
description: Describe the solution you'd like to see. Include example API usage if possible.
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: Alternative Solutions
description: Describe any alternative solutions or features you've considered.
validations:
required: false

- type: textarea
id: current-workaround
attributes:
label: Current Workaround
description: How are you currently working around this limitation?
validations:
required: false

- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context, examples, or references about the feature request here.
validations:
required: false

0 comments on commit bed9e88

Please sign in to comment.