Skip to content

Commit

Permalink
Convert GH Issue template to YML files (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
scannillo authored Feb 1, 2023
1 parent 13800b0 commit 34448ae
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 50 deletions.
37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

69 changes: 69 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Bug report
description: Create a report to help us improve
body:
- type: input
attributes:
label: Braintree SDK Version
placeholder: "e.g. 4.24.0"
validations:
required: true
- type: dropdown
attributes:
label: Environment
options:
- Sandbox
- Production
- Both
validations:
required: true
- type: input
attributes:
label: Android Version & Device
placeholder: "e.g Google Pixel 6a - Android 12.0"
validations:
required: false
- type: textarea
attributes:
label: Braintree dependencies
placeholder: |
<!-- Examples -->
<!-- - com.braintreepayments.api:braintree:x.y.z -->
<!-- - compile 'com.braintreepayments.api:data-collector:2.+' -->
<!-- - com.braintreepayments.api:visa-checkout:x.y.z-SNAPSHOT -->
<!-- - com.braintreepayments.api:drop-in:x.y.z -->
validations:
required: true
- type: textarea
attributes:
label: Describe the bug
description: Description of what the bug is. Please include as many details as possible.
validations:
required: true
- type: textarea
attributes:
label: To reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Go to '...'
2. Click on '....'
3. See error
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: Description of what you expected to happen.
validations:
required: true
- type: textarea
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
placeholder: |
Do not reveal sensitive data. For example, credit card numbers & customer credentials.
validations:
required: false
- type: markdown
attributes:
value: |
Note - Please do not open an issue for translation requests for new languages. We support the same languages that are supported by PayPal, and have a dedicated localization team to provide translations. If there is an error in a specific translation, you may open an issue here and we will escalate it to our localization team.
13 changes: 0 additions & 13 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Feature request
description: Suggest an idea for our SDK
body:
- type: textarea
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is.
validations:
required: false
- type: textarea
attributes:
label: Describe the solution you'd like.
description: Description of what you want to happen.
placeholder: |
Follow the [user story](https://en.wikipedia.org/wiki/User_story) format to clearly describe the use case.
validations:
required: false

0 comments on commit 34448ae

Please sign in to comment.