Skip to content

Commit

Permalink
完善了issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
ComerLater committed May 30, 2024
1 parent e86caae commit ad39cb2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 49 deletions.
66 changes: 21 additions & 45 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,6 @@ body:
value: |
## Setup
- type: textarea
attributes:
label: Software Version
description: |
Which version of NextPilot are you using?
placeholder: |
# If you don't know the version, paste the output of `ver all` in the MAVLink Shell of QGC
validations:
required: true

- type: input
attributes:
label: Flight controller
description: Specify your flight controller model (what type is it, where was it bought from, ...).
validations:
required: true

- type: dropdown
attributes:
label: Vehicle type
Expand All @@ -39,45 +22,43 @@ body:
- Submarine
- Other

- type: markdown
attributes:
value: |
## Description
- type: textarea
- type: input
attributes:
label: Describe the bug
description: A clear and concise description of the bug.
label: Flight controller
description: Specify your flight controller model (what type is it, where was it bought from, ...).
validations:
required: true

- type: textarea
attributes:
label: How Reproduce
label: Firmware Version
description: |
Steps to reproduce the behavior.
1. Drone switched on '...'
2. Uploaded mission '....' (attach QGC mission file)
3. Took off '....'
4. See error
Which version of NextPilot are you using?
placeholder: |
# If you don't know the version, paste the output of `ver all` in the MAVLink Shell of QGC
validations:
required: true

- type: textarea
- type: markdown
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true
value: |
## Description
A clear and concise description of the bug and what you expected to happen.
- type: textarea
attributes:
label: Screenshot / Media
description: Add screenshot / media if you have them
label: Describe the bug
description: A clear and concise description of the bug.
placeholder: |
1. Steps to reproduce the behavior
2. Expected behavior
3. Add screenshot / media if you have them
validations:
required: true

- type: textarea
attributes:
label: Flight Log
label: Flight Log Link
description: |
*Always* provide a link to the flight log file:
- Download the flight log file from the vehicle ([tutorial](https://docs.px4.io/main/en/getting_started/flight_reporting.html)).
Expand All @@ -90,10 +71,5 @@ body:

- type: textarea
attributes:
label: How are the different components wired up (including port information)
description: Details about how all is wired.

- type: textarea
attributes:
label: Additional context
label: Other additional context
description: Add any other context about the problem here.
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Support Question
- name: Discuss Forum
url: https://github.com/nextpilot/nextpilot-flight-control/discussions
about: For questions about using NextPilot or related components, please use the discuss forum and discord server
- name: Help Document
about: For questions about NextPilot or related components, please use the discuss forum and discord server
- name: Document Center
url: https://docs.nextpilot.cn/
about: how to use or develop NextPilot, please visit our help document
about: How to use or develop NextPilot, please visit document center

0 comments on commit ad39cb2

Please sign in to comment.