github: update issue_template

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald
2024-10-25 23:50:17 +02:00
parent ba530891d5
commit 0df7955d37
5 changed files with 166 additions and 40 deletions

120
.github/ISSUE_TEMPLATE/01-bug.yml vendored Normal file
View File

@@ -0,0 +1,120 @@
name: 🐛 Bug Report 🧰
description: File a bug 🐛 report.
title: "<package-name>: <summary>"
# labels: ["bug", "triage"]
# projects: ["octo-org/1", "octo-org/44"]
# assignees:
# - octocat
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: textarea
id: screenshots-or-captures
attributes:
label: screenshots or captures
description: Screenshots or captures which illustrate the problem
placeholder: |
An mp4 screen capture is also possible
value:
validations:
required: false
- type: textarea
id: what-happened
attributes:
label: Actual behaviour
description: Describe what happened
placeholder: |
Describe what happened
1. option ra_mtu '1500' is set correctly in /etc/config/dhcp
2. In LuCI though, RA MTU and RA Hop Limit are still displaying the default values in light gray font color.
value:
validations:
required: true
- type: textarea
id: expect-to-happen
attributes:
label: Expected behaviour
description: Describe what should happen
placeholder: |
Tell us what you you think should happen
1. option ra_mtu '1500' is set correctly in /etc/config/dhcp
2. In LuCI though, RA MTU and RA Hop Limit display correctly.
value:
validations:
required: true
- type: textarea
id: what-you-did
attributes:
label: Steps to reproduce
placeholder: |
1. go to: Network → Interfaces → LAN (an interface with a static address) → DHCP server tab → IPv6 RA settings tab
2. set RA MTU and RA Hop Limit to arbitrary non-default value
3. Save & Apply
4. go to: IPv6 RA settings tab again
value:
validations:
required: true
- type: textarea
id: version
attributes:
label: Additional Information
description: |
What version of openwrt/luci are you running? <br/>
```
cat /etc/os-release
```
<br/>
or copy/paste the luci and/or module version from the main status page
render: shell
value:
placeholder: |
e.g.
NAME="OpenWrt"
VERSION="23.05.5"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 23.05.5"
VERSION_ID="23.05.5"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r24106-10cc5fcd00"
OPENWRT_BOARD="mediatek/filogic"
OPENWRT_ARCH="aarch64_cortex-a53"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 23.05.5 r24106-10cc5fcd00"
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What browsers do you see the problem on?
multiple: true
options:
- Firefox
- Chrome
- Safari
- Microsoft Edge
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output from your browser (web developer tools) console. This will be automatically formatted into code, so no need for backticks.
render: shell

17
.github/ISSUE_TEMPLATE/02-feature.yaml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: 🪄 Feature request 🧙 🦄
description: Ask for something nice
title: "Feature request: <summary>"
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to ask for something nice!
- type: textarea
id: what-i-want
attributes:
label: What would you like to see in luci?
description: feature request
placeholder: Describe away
value:
validations:
required: true

View File

@@ -0,0 +1,16 @@
name: Something else❓
description: Some other topic
title: Subject
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to contact us!
- type: textarea
id: issue
attributes:
label: How can we otherwise help?
placeholder: Describe away
value:
validations:
required: true

13
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
blank_issues_enabled: true
contact_links:
- name: Our forum 💬
url: https://forum.openwrt.org/
about: Ask and answer questions here.
- name: Our website 🌐🔗
url: https://openwrt.org/
about: The main website.
- name: Table of hardware 💻⚙️
url: https://openwrt.org/toh/start
about: Find your hardware platform here.
- name: JS API docs 📝♨️
url: https://openwrt.github.io/luci/jsapi/

View File

@@ -1,40 +0,0 @@
# Issue template:
1. Please make sure that the issue subject starts with `<package-name>:`
2. Issues related to end of life (EOL) releases are not supported or maintained and will be closed
3. Remove lines from top till here and fill in the following questions
***
## Steps to reproduce:
**Example: Replace the following lines and remove this**
1. go to: Network → Interfaces → LAN (an interface with a static address) → DHCP server tab → IPv6 RA settings tab
2. set RA MTU and RA Hop Limit to arbitrary non-default value
3. Save & Apply
4. go to: IPv6 RA settings tab again
## Actual behavior:
**Example: Replace the following lines and remove this**
1. option ra_mtu '1500' is set correctly in /etc/config/dhcp
2. In LuCI though, RA MTU and RA Hop Limit are still displaying the default values in light gray font color.
## Expected behavior:
**Example: Replace the following lines and remove this**
```
RA MTU and RA Hop Limit are displaying the correct values found in /etc/config/dhcp in black font color.
```
## Additional Information:
OpenWrt version information from system `/etc/openwrt_release`
**Example: Replace the following lines and remove this**
```
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='21.02.0-rc4'
DISTRIB_REVISION='r16256-2d5ee43dc6'
DISTRIB_TARGET='x86/64'
DISTRIB_ARCH='x86_64'
DISTRIB_DESCRIPTION='OpenWrt 21.02.0-rc4 r16256-2d5ee43dc6'
DISTRIB_TAINTS=''
```