Skip to content

Commit

Permalink
🔧 Update github issue template (#903)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaiJingLong authored Mar 22, 2023
1 parent be38a5d commit 36e4c07
Show file tree
Hide file tree
Showing 7 changed files with 184 additions and 78 deletions.
43 changes: 0 additions & 43 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

76 changes: 76 additions & 0 deletions .github/ISSUE_TEMPLATE/flutter_bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Flutter plugin bug report
description: bug report
title: "[Bug report] "
body:
- type: input
id: version
attributes:
label: Version
description: Version of the plugin
placeholder: ex. 2.5.2
validations:
required: true
- type: dropdown
id: platforms
attributes:
label: Platforms
description: Check all that apply
multiple: true
options:
- dart
- Android
- iOS
- macOS
validations:
required: true
- type: input
id: device-model
attributes:
label: Device Model
description: "Device Model (ex. iPhone 12(iOS 14), Galaxy S21(Android 11))"
placeholder: ex. iPhone 12 (iOS 14)
validations:
required: true
- type: textarea
id: flutter-doctor
attributes:
label: flutter info
description: "flutter doctor -v in your terminal"
placeholder: ex. flutter doctor -v
render: sh
validations:
required: true
- type: textarea
id: what-happened
attributes:
label: "How to reproduce?"
description: "How to reproduce the problem?"
placeholder: "ex. I found a bug when I call the PhotoManager.getAssetPathList method."
validations:
required: true
- type: textarea
id: log
attributes:
label: Logs
description: "Error log"
placeholder: ex. flutter run --verbose
render: sh
validations:
required: false
- type: textarea
id: example-code
attributes:
label: "Example code (optional)"
description: "If you can, please provide a minimal example to reproduce the problem."
placeholder: "ex. PhotoManager.editor.saveImageWithId(id, quality: 100)"
render: Dart
validations:
required: false
- type: input
id: contact
attributes:
label: Contact
description: Your contace (no requird)
placeholder: ex. [email protected] / twitter / github
validations:
required: false
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/flutter_discussions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Discussions
description: Discussions
title: "[Discussions] "
body:
- type: markdown
attributes:
value: |
First check whether the project has Discussions enabled.
If so, it is recommended to use Discussions to create discussions.
The discussions is here:
[Discussions](https://github.com/FlutterCandies/flutter_photo_manager/discussions)
51 changes: 51 additions & 0 deletions .github/ISSUE_TEMPLATE/flutter_how_to_use.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: How to use
description: How to use the Flutter plugin
title: "[How to use] "
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this issue!
You need read document before you ask question.
If you can, search the issue list
or [StackOverflow](https://stackoverflow.com/questions/tagged/flutter)
to see if someone has asked the same question.
- type: dropdown
id: platforms
attributes:
label: Platforms
description: Check all that apply
multiple: true
options:
- dart
- Android
- iOS
- macOS
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: "Describe the feature you want to be added"
placeholder: "ex. I want to add a new method to get the thumbnail of the asset."
validations:
required: true
- type: textarea
id: my-code
attributes:
label: My code
description: "I want to know how to use the method."
placeholder:
'ex. I want to get the thumbnail of the asset to display it in the list.'
validations:
required: false
- type: textarea
id: try-do-it
attributes:
label: Try do it
description: "I have tried to do it, but I don't know how to do it."
placeholder:
'ex. I want to get the thumbnail of the asset to display it in the list.'
validations:
required: false
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/flutter_new_feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "Flutter new feature request"
description: "Request a new feature for the Flutter plugin"
title: "[Feature request] "
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request!
Before submitting, make sure you read the document and search the issue list.
If you are not sure, you can run the example code
first to understand the example that may be your requirement.
- type: dropdown
id: platforms
attributes:
label: Platforms
description: Check all that apply
multiple: true
options:
- dart
- Android
- iOS
- macOS
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: "Describe the feature you want to be added"
placeholder: "ex. I want to add a new method to get the thumbnail of the asset."
validations:
required: true
- type: textarea
id: why
attributes:
label: Why
description: "Why do you want this feature to be added? What's the use case?"
placeholder:
ex. I want to get the thumbnail of the asset to display it in the list.
validations:
required: false
- type: markdown
attributes:
value: |
Add as many or as many reasons as possible,
which will give priority to feature request
15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE/how-to-use-it.md

This file was deleted.

0 comments on commit 36e4c07

Please sign in to comment.