Skip to content

Commit

Permalink
chore: update ISSUE_TEMPLATE (#250)
Browse files Browse the repository at this point in the history
fix: #249 

# Overview

<!--
    A clear and concise description of what this pr is about.
 -->

I left comments as intention

## PR Checklist

- [x] I did below actions if need

1. I read the [Contributing
Guide](https://github.com/suspensive/react/blob/main/CONTRIBUTING.md)
2. I added documents and tests.
  • Loading branch information
manudeli authored Oct 21, 2023
1 parent 5dc826f commit 880c096
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 53 deletions.
29 changes: 9 additions & 20 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,33 @@
name: Bug Report
description: Report a bug
labels: [bug]
title: '[BUG]: Tell us a clear and concise description of what the bug is'
title: "[Bug]:"
body:
- type: markdown
attributes:
value: |
Thank you for contributing to the bug report! As you fill in the following items, the issue will be complete.
- type: dropdown
id: package
attributes:
label: Package Scope
description: Is this issue related to a specific package?
multiple: true
options:
- react
- react-query
- "@suspensive/react"
- "@suspensive/react-query"
- "@suspensive/react-await"
- etc

validations:
required: true

- type: textarea
id: description
attributes:
description: A clear and concise description of what the bug is.
label: Describe the bug

description: Description what bug we need to fix
label: Bug description
validations:
required: true

- type: textarea
id: expected
attributes:
description: A clear and concise description of what you expected to happen
label: Expected behavior

- type: textarea
Expand All @@ -43,23 +36,19 @@ body:
label: To Reproduce
description: Please tell me in detail how to reproduce it. If it seems to occur only in a specific environment, please also provide information about the OS and the environment
placeholder: |
Minimal reproducible code or describe steps to reproduce. Optional, but recommended.
Minimal reproducible code or describe steps to reproduce. Optional, but recommended
- type: textarea
id: possible-solution
attributes:
label: Possible Solution
description: If you have suggestions on a fix for the bug
placeholder: I think this is probably...

validations:
required: false

- type: textarea
id: additional-context
id: etc
attributes:
label: Additional context
description: Add any other context about the problem here.

label: etc.
validations:
required: false
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

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: Suggest an idea
labels: [feature]
title: "[Feature]:"
body:
- type: dropdown
id: package
attributes:
label: Package Scope
description: Is this issue related to a specific package?
multiple: true
options:
- "@suspensive/react"
- "@suspensive/react-query"
- "@suspensive/react-await"
- etc
validations:
required: true

- type: textarea
id: description
attributes:
description: Description what feature you want
label: Description
validations:
required: true

- type: textarea
id: possible-solution
attributes:
label: Possible Solution
description: If you have suggestions on a fix for the bug
placeholder: I think this is probably...
validations:
required: false

- type: textarea
id: etc
attributes:
label: etc.
validations:
required: false

0 comments on commit 880c096

Please sign in to comment.