Skip to content

Commit

Permalink
Closes #5102 - Introduce Github Issue Forms for issue reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Moc committed Nov 13, 2023
1 parent 75eb350 commit 801752c
Show file tree
Hide file tree
Showing 7 changed files with 130 additions and 124 deletions.
74 changes: 0 additions & 74 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md

This file was deleted.

60 changes: 60 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Bug Report
description: Create a report for a problem that shouldn't be happening
title: "[Bug]: "
labels: ["type: bug"]
body:
- type: dropdown
id: e107version
attributes:
label: What e107 version are you using?
multiple: true
options:
- v2.3.2
- Latest Github version (just updated)
validations:
required: true
- type: textarea
id: bug-description
attributes:
label: Bug description
description: A clear and concise description of what the bug is.
placeholder: Tell us what you see. Feel free to include screenshots!
validations:
required: true
- type: textarea
id: how-to-reproduce
attributes:
label: How to reproduce
description: Steps to reproduce the behavior.
placeholder: "1. Go to '...', 2. Click on '....', 3. Scroll down to '....', 4. See error"
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: What did you expect to happen instead?
placeholder: I expected to ...
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What browser(s) are you seeing the problem on?
multiple: true
options:
- Firefox
- Chrome / Brave
- Safari
- Microsoft Edge
- Other (please specify in bug description)
validations:
required: true
- type: input
id: php-version
attributes:
label: PHP Version
description: Which PHP version do you use? Can be found in Admin Area > About > PHP Info (/e107_admin/phpinfo.php)
placeholder: eg. PHP 8.1
validations:
required: true
21 changes: 0 additions & 21 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Feature Request
description: Suggest an idea for this project
title: "[Feature request]: "
labels: ["type: enhancement"]
body:
- type: textarea
id: motivation
attributes:
label: Motivation
description: Why are you making this feature request? Which problem is this feature request solving?
placeholder: When I ...
validations:
required: true
- type: textarea
id: proposed-solution
attributes:
label: Proposed Solution
description: A clear and concise description of what you want to happen, or of which functionality you would like to see
placeholder: I would like ...
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives
description: Describe which alternative solutions or features you've considered and why they are insufficient.
placeholder: I tried ...
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context or screenshots about the feature request here.
placeholder:

29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/QUESTION.md

This file was deleted.

33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/QUESTION.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Question
description: Ask about behavior that you cannot find documented anywhere
title: "[Question]: "
labels: ["type: question"]
body:
- type: markdown
attributes:
value: |
If you know that something isn't working the way it should, please file a bug report instead.
If you know that what you're trying to do is not implemented, please make a feature request instead.
- type: textarea
id: question
attributes:
label: Question
description: What are you confused or uncertain about? What are you trying to accomplish?
placeholder:
validations:
required: true
- type: textarea
id: expected-source
attributes:
label: Expected Source
description: Where did you look to try to find the answer to your question? Your answer helps us improve the documentation.
placeholder: I looked ...
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context or screenshots about the feature request here.
placeholder:

1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false

0 comments on commit 801752c

Please sign in to comment.