chore: add issue form templates (#32)

This commit is contained in:
Bryan Lee 2023-01-04 17:43:11 +08:00 committed by GitHub
parent fdd80a15bf
commit 6a095ccd5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 121 additions and 0 deletions

71
.github/ISSUE_TEMPLATE/bug-report.yml vendored Normal file
View File

@ -0,0 +1,71 @@
name: Bug report
description: Problems with the software
title: "[Bug] "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thank you very much for your feedback!
For suggestions or help, please consider using [Github Discussion](https://github.com/Brooooooklyn/Image/discussions) instead.
- type: checkboxes
attributes:
label: Search before asking
description: >
Please search [issues](https://github.com/Brooooooklyn/Image/issues) to check if your issue has already been reported.
options:
- label: >
I searched in the [issues](https://github.com/Brooooooklyn/Image/issues) and found nothing similar.
required: true
- type: textarea
attributes:
label: Image version
description: >
Please provide the version of Image you are using. If you are using the main branch, please provide the commit id.
validations:
required: true
- type: textarea
attributes:
label: System version
description: >
Please provide the version of System you are using.
validations:
required: true
- type: textarea
attributes:
label: Node.js version
description: >
Please provide the Node.js version.
validations:
required: true
- type: textarea
attributes:
label: Minimal reproduce step
description: Please try to give reproducing steps to facilitate quick location of the problem.
validations:
required: true
- type: textarea
attributes:
label: What did you expect to see?
validations:
required: true
- type: textarea
attributes:
label: What did you see instead?
validations:
required: true
- type: textarea
attributes:
label: Anything else?
- type: checkboxes
attributes:
label: Are you willing to submit a PR?
description: >
We look forward to the community of developers or users helping solve Image problems together. If you are willing to submit a PR to fix this problem, please check the box.
options:
- label: I'm willing to submit a PR!
- type: markdown
attributes:
value: "Thanks for completing our form!"

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Ask a question or get support
url: https://github.com/Brooooooklyn/Image/discussions/categories/q-a
about: Ask a question or request support for Image

45
.github/ISSUE_TEMPLATE/feature.yml vendored Normal file
View File

@ -0,0 +1,45 @@
name: Feature
description: Add new feature, improve code, and more
labels: [ "enhancement" ]
body:
- type: markdown
attributes:
value: |
Thank you very much for your feature proposal!
- type: checkboxes
attributes:
label: Search before asking
description: >
Please search [issues](https://github.com/Brooooooklyn/Image/issues) to check if your issue has already been reported.
options:
- label: >
I searched in the [issues](https://github.com/Brooooooklyn/Image/issues) and found nothing similar.
required: true
- type: textarea
attributes:
label: Motivation
description: Describe the motivations for this feature, like how it fixes the problem you meet.
validations:
required: true
- type: textarea
attributes:
label: Solution
description: Describe the proposed solution and add related materials like links if any.
- type: textarea
attributes:
label: Alternatives
description: Describe other alternative solutions or features you considered, but rejected.
- type: textarea
attributes:
label: Anything else?
- type: checkboxes
attributes:
label: Are you willing to submit a PR?
description: >
We look forward to the community of developers or users helping develop Image features together. If you are willing to submit a PR to implement the feature, please check the box.
options:
- label: I'm willing to submit a PR!
- type: markdown
attributes:
value: "Thanks for completing our form!"