Applying new issue templates.

This commit is contained in:
clsty 2025-02-09 14:47:56 +08:00
parent 49fd0a8ccf
commit ffd32c08e2
7 changed files with 46 additions and 61 deletions

View file

@ -1,32 +0,0 @@
---
name: Issue
about: for reporting any issue
title: "[Issue]"
labels: ''
assignees: ''
---
- I have read the Usage and Troubleshooting pages of the wiki: https://end-4.github.io/dots-hyprland-wiki/en/i-i/04troubleshooting/
- I have made sure that both my config and system packages are up to date
- Linux distro:
---
## The issue
<!-- Describe your problem here. -->
<!-- 1. Use `LANG=C LC_ALL=C` to get the output of a command in English, eg. `LANG=C LC_ALL=C date` displays time in English. -->
<!-- 2. If it throws errors, **PLEASE**, attach logs and describe in detail if possible. -->
<details>
<summary>Logs</summary>
<!-- ↓↓ DO NOT IGNORE THIS. NO HELP CAN BE GIVEN WITHOUT SUFFICIENT LOGS -->
<!-- Bar and widgets not showing? run `pkill ags; ags` for logs -->
<!-- Installation failed? Run installation again for logs -->
<!-- Optionally also run `./diagnose` inside the repo for logs -->
```plain
Paste logs here
```
</details>

View file

@ -1,17 +1,22 @@
name: Issue.
name: Issue
description: for reporting any issue
title: "[Issue] "
labels: ["ISSUE"]
body:
- type: markdown
attributes:
value: |
**Tip:**
If your issue is not a feature request, and it does not fit into the following form, for example "how can I edit some widget", please use [discussions](https://github.com/end-4/dots-hyprland/discussions) instead.
- type: checkboxes
attributes:
label: Before you submit
options:
- label: I have read the [Troubleshooting](https://end-4.github.io/dots-hyprland-wiki/en/i-i/04troubleshooting/) and [Usage](https://end-4.github.io/dots-hyprland-wiki/en/i-i/02usage/) pages.
required: true
- label: I've updated to the latest version following the [guidance](https://end-4.github.io/dots-hyprland-wiki/en/i-i/01setup/#updating).
- label: I've successfully updated to the latest version following the [guidance](https://end-4.github.io/dots-hyprland-wiki/en/i-i/01setup/#updating).
required: false # Not required cuz user may have failed to do so
- label: I've had the system packages up to date.
- label: I've successfully updated the system packages to the latest.
required: false # Not required cuz user may have failed to do so
- type: textarea
@ -34,6 +39,13 @@ body:
- type: textarea
attributes:
label: The issue
value: "\n<!-- Describe your issue here! -->\n\n<details><summary>Logs</summary>\n\n```\n<!-- Put your log content here!-->\n```\n\n</details>"
value: "\n<!-- Describe your issue here! -->\n\n<details><summary>Click to toggle folding</summary>\n\n```\n<!-- Put your log content here!-->\n<!-- You may use more code blocks when needed.-->\n```\n\n</details>"
validations:
required: true
- type: checkboxes
attributes:
label: Last check
options:
- label: I agree that it's usually impossible for others to help me without my logs.
required: true

View file

@ -1,19 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[Feature] "
labels: ''
assignees: ''
---
<!-- NOTE: Please write in **English**. -->
**What would you like to be added?**
<!-- Can be a suggestion for an existing feature. You can suggest a widget, minor user interaction changes.. whatever -->
**How will it help**
<!-- It's helpful to include examples (like in your use case) -->
**Extra info**
<!-- If ya want a new widget, a pic of the inspiration (if available) would be awesome -->

View file

@ -0,0 +1,23 @@
name: Feature request
description: Suggest an idea for this project
title: "[Feature] "
labels: ["FEATURE"]
body:
- type: markdown
attributes:
value: "NOTE: Please write in **English**."
- type: textarea
attributes:
label: "What would you like to be added?"
description: "Can be a suggestion for an existing feature. You can suggest a widget, minor user interaction changes.. whatever."
- type: textarea
attributes:
label: "How will it help?"
description: "It's helpful to include examples (like in your use case)."
- type: textarea
attributes:
label: "Extra info"
description: "If you want a new widget, a pic of the inspiration (if available) would be awesome."

1
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View file

@ -0,0 +1 @@
blank_issues_enabled: false

2
.gitignore vendored
View file

@ -2,7 +2,7 @@
.config/ags/scss/_musicmaterial.scss
.config/ags/scss/_musicwal.scss
.config/ags/scss/_material.scss
/diagnose.log
/diagnose.result
/cache
# Ignore Python cache files
__pycache__/

View file

@ -1,14 +1,14 @@
#!/usr/bin/env bash
#
# This script is for quickly generate helpful logs
# This script is for quickly generate helpful info
#
cd "$(dirname "$0")";export base="$(pwd)"
logfile=diagnose.log;rm $logfile
output_file=diagnose.result;rm $output_file
export LANG=C;export LC_ALL=C
x() { ii_exec "$@" 2>&1 | tee -a $logfile ; }
e() { ii_box "$@" | tee -a $logfile ; }
x() { ii_exec "$@" 2>&1 | tee -a $output_file ; }
e() { ii_box "$@" | tee -a $output_file ; }
ii_box() {
length=$(echo "$1" | wc -L);total_width=$((length + 2))
#line=$(printf "═%.0s" $(seq 1 $total_width))
@ -70,4 +70,4 @@ x ags --version
e "Checking python venv"
e "Finished. Output saved as \"dianose.log\"."
e "Finished. Output saved as \"$output_file\"."