Skip to content

Commit

Permalink
Better issues forms
Browse files Browse the repository at this point in the history
issue templates with html inputs
  • Loading branch information
SebSept committed Dec 9, 2021
2 parents 70903c2 + 10274bb commit c190cf8
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 35 deletions.
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

51 changes: 51 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Bug report
description: Report a bug, something unexpected.
labels: ['bug']
body:
- type: markdown
attributes:
value: |
# Oops !
Something went wrong, we're sorry to ear it.
Please provide the maximum informations you can to help us reproduce the bug.
- type: input
attributes:
label: PrestaShop version(s)
value: 1.7.
validations:
required: true
- type: dropdown
attributes:
label: Php version
multiple: true
options:
- "7.2"
- "7.3"
- "7.4"
- "8.0 (not yet supported)"
- "8.1 (not yet supported)"
- type: dropdown
attributes:
label: Fop Console version
multiple: true
options:
- before 1.4 (please specify below)
- "1.4"
- dev
- type: dropdown
attributes:
label: Operating system
options:
- linux
- macos
- windows
- type: input
attributes:
label: command
value: "fop:"
- type: textarea
attributes:
label: Describe the bug
description: Provide information to reproduce the bug
15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: New Command request
description: Ask for a new command
title: 'New Command : '
labels: ['feature']
body:
- type: markdown
attributes:
value: |
# Submit a new command request
Thanks for taking time to request a new command.
If you want to implement this command, you are welcome, we'll be pleased to help you in our spare time.
Otherwise, if anyone think it deserves to be implemented, we'll write it.
- type: input
attributes:
label: Domain
placeholder: modules, configuration, etc
validations:
required: false
- type: input
attributes:
label: Command
placeholder: disable, list, etc
validations:
required: true
- type: input
attributes:
label: parameters
description: describe each parameter.
validations:
required: false
- type: textarea
attributes:
label: Command description
description: What does the command do ?
placeholder: With this command you can ...

0 comments on commit c190cf8

Please sign in to comment.