2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 10:35:40 +00:00

chore: make issue template clearer (#9753)

* make template more clear regarding reproduction

* use dropdown for deployment method

* add stable ref

* fix syntax
This commit is contained in:
Matthias Mair
2025-06-10 12:30:32 +02:00
committed by GitHub
parent ff508348e4
commit 13b185e66f
2 changed files with 24 additions and 11 deletions

View File

@ -6,7 +6,7 @@ body:
id: no-duplicate-issues id: no-duplicate-issues
attributes: attributes:
label: "Please verify that this bug has NOT been raised before." label: "Please verify that this bug has NOT been raised before."
description: "Search in the issues sections by clicking [HERE](https://github.com/inventree/inventree/issues?q=) and read the [Frequently Asked Questions](https://docs.inventree.org/en/latest/faq/)!" description: "Search in the issues sections by clicking [HERE](https://github.com/inventree/inventree/issues?q=) and read the [Frequently Asked Questions](https://docs.inventree.org/en/latest/sref/faq)!"
options: options:
- label: "I checked and didn't find a similar issue" - label: "I checked and didn't find a similar issue"
required: true required: true
@ -37,15 +37,15 @@ body:
label: "Expected behaviour" label: "Expected behaviour"
description: "A clear and concise description of what you expected to happen." description: "A clear and concise description of what you expected to happen."
placeholder: "..." placeholder: "..."
- type: checkboxes - type: dropdown
id: deployment id: deployment
attributes: attributes:
label: "Deployment Method" label: "Deployment Method"
options: options:
- label: "Docker" - Docker
- label: "Package" - Package
- label: "Bare metal" - Bare metal
- label: "Other - added info in Steps to Reproduce" - Other - added info in Steps to Reproduce
- type: textarea - type: textarea
id: version-info id: version-info
validations: validations:
@ -54,13 +54,25 @@ body:
label: "Version Information" label: "Version Information"
description: "The version info block." description: "The version info block."
placeholder: "You can get this by going to the `About InvenTree` section in the upper right corner and clicking on the `copy version information` button" placeholder: "You can get this by going to the `About InvenTree` section in the upper right corner and clicking on the `copy version information` button"
- type: checkboxes - type: dropdown
id: can-reproduce id: tried-reproduce
attributes: attributes:
label: "Please verify if you can reproduce this bug on the demo site." label: Try to reproduce on the demo site
description: "You can sign in at [InvenTree Demo](https://demo.inventree.org) with admin:inventree. Note that this instance runs on the latest dev version, so your bug may be fixed there." description: You can sign in at [InvenTree Demo](https://demo.inventree.org) with admin:inventree. Note that this instance runs on the latest dev version, so your bug may be fixed there.
options: options:
- label: "I can reproduce this bug on the demo site." - I did not try to reproduce
- I tried to reproduce
validations:
required: true
- type: dropdown
id: result-reproduce
attributes:
label: Is the bug reproducible on the demo site?
options:
- Not reproducible
- Reproducible
validations:
required: true
- type: textarea - type: textarea
id: logs id: logs
attributes: attributes:

View File

@ -281,6 +281,7 @@ plugins:
show_root_toc_entry: false show_root_toc_entry: false
- redirects: - redirects:
redirect_maps: redirect_maps:
'sref/faq.md': 'faq.md' # https://docs.inventree.org/en/latest/faq/
'sref/contrib.md': 'develop/contributing.md' # https://github.com/inventree/InvenTree/blob/master/CONTRIBUTING.md. 'sref/contrib.md': 'develop/contributing.md' # https://github.com/inventree/InvenTree/blob/master/CONTRIBUTING.md.
'sref/docs.md': 'index.md' # https://docs.inventree.org/en/latest/ 'sref/docs.md': 'index.md' # https://docs.inventree.org/en/latest/
'sref/api.md': 'api/index.md' # https://demo.inventree.org/api-doc/ 'sref/api.md': 'api/index.md' # https://demo.inventree.org/api-doc/