github: update issue_template
authorPaul Donald <newtwen+github@gmail.com>
Fri, 25 Oct 2024 21:50:17 +0000 (23:50 +0200)
committerPaul Donald <newtwen+github@gmail.com>
Fri, 25 Oct 2024 23:29:11 +0000 (01:29 +0200)
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
.github/ISSUE_TEMPLATE/01-bug.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/02-feature.yaml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/03-something-else.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/config.yml [new file with mode: 0644]
.github/issue_template [deleted file]

diff --git a/.github/ISSUE_TEMPLATE/01-bug.yml b/.github/ISSUE_TEMPLATE/01-bug.yml
new file mode 100644 (file)
index 0000000..174d192
--- /dev/null
@@ -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
diff --git a/.github/ISSUE_TEMPLATE/02-feature.yaml b/.github/ISSUE_TEMPLATE/02-feature.yaml
new file mode 100644 (file)
index 0000000..e020b15
--- /dev/null
@@ -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
diff --git a/.github/ISSUE_TEMPLATE/03-something-else.yml b/.github/ISSUE_TEMPLATE/03-something-else.yml
new file mode 100644 (file)
index 0000000..16fa2f1
--- /dev/null
@@ -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
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644 (file)
index 0000000..1df6e51
--- /dev/null
@@ -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/
diff --git a/.github/issue_template b/.github/issue_template
deleted file mode 100644 (file)
index 2d2aef2..0000000
+++ /dev/null
@@ -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=''
-```