Skip to content

Commit

Permalink
Convert issue templates to yaml.
Browse files Browse the repository at this point in the history
  • Loading branch information
sheabunge committed Nov 29, 2024
1 parent 3feeff6 commit 094b277
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 91 deletions.
67 changes: 67 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Bug report
about: Create a report to help us improve
title: ''
labels: [ 'bug' ]
assignees: ''
body:
- type: textarea
attributes:
label: Current behavior
description: A concise description of what you're experiencing.
validations:
required: true

- type: textarea
attributes:
label: Expected behavior
description: A concise description of what you expected to happen.
validations:
required: true

- type: textarea
id: to_reproduce
attributes:
label: Steps to reproduce
description: Outline the steps to reproduce the behavior.
placeholder: >
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: false

- type: input
attributes:
label: WordPress version
description: What version of WordPress was this tested on?
validations:
required: true

- type: input
attributes:
label: Code Snippets version
description: What version of Code Snippets was this tested on?
validations:
required: true

- type: dropdown
attributes:
label: Code Snippets license
description: Was this tested on the core free plugin, or with Code Snippets Pro?
multiple: true
options:
- Core (free)
- Pro
validations:
required: true

- type: textarea
attributes:
label: Anything else?
description: |
Links? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/delete_me

This file was deleted.

34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ['enhancement', 'suggestion']
assignees: ''
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.
placeholder: e.g. I'm always frustrated when…
validations:
required: false

- type: textarea
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false

- type: textarea
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
validations:
required: false
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

0 comments on commit 094b277

Please sign in to comment.