Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug issue template improvements #8894

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rszyma
Copy link
Contributor

@rszyma rszyma commented Dec 30, 2024

Describe your PR, what does it fix/add?

Attempts to remedy #8893 by bringing back attaching as primary way of sending text files (logs, crashes, config).

Just so everbody reading this know, we used to have bug template that incentivized attaching instead of pasting, but it was not really effective. Anyway it was changed in #6160 so that user always pastes full config in plain text, and the issue search clutter began because of that.

Compared to before #6160, hopefully now it's clearer that before that every text file must be attached.

Also added more variants to "is it regression" dropdown, now I feel like response from that field will be more useful.

rendered issue looks like this:

template looks like this:

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

nope

Is it ready for merging, or does it need work?

potentially needs more discussion, but I went a couple of iterations myself and now I feel like it's good now as is

@rszyma rszyma changed the title wip bug issue template improvements Dec 30, 2024
@rszyma rszyma force-pushed the improve-bug-template branch from 8a3e524 to 46dc48f Compare December 30, 2024 05:09
.github/ISSUE_TEMPLATE/bug.yml Outdated Show resolved Hide resolved
.github/ISSUE_TEMPLATE/bug.yml Outdated Show resolved Hide resolved
- type: markdown
attributes:
value: >-
Please be sure to upload the following files below:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if they are relevant to the issue. Not all bugs are crashes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

value: >-
Please be sure to upload the following files below:
- Logs can be found in $XDG_RUNTIME_DIR/hypr
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can add a hint to (sort by date to grab the latest)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

When including text files (such as logs or config), please **always ATTACH** them, and not paste them directly.
<u>This is important</u> because pasting text directly clutters the issue with unnecessary keywords, making github issue search useless.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too long. "This is important to avoid clutter, spam, and make the issues more readable".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really wanted to include this line explaining why exactly it's a problem, and not just say "it's better trust me bro". Otherwise someone will question it "I'm too lazy to put it in file first, how is copy-pasting a spam anyway? If it's too long I'll put it in dropdown" you get the idea

description: |
Paste the output of `hyprctl systeminfo -c` here. If you can't
Paste the output of `hyprctl systeminfo` here. If you can't
launch Hyprland, paste the output of `Hyprland --systeminfo`.
If `Hyprland --systeminfo` errors out (added in 0.44.0), find
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove this line by now. 0.44 is mega old

Copy link
Contributor Author

@rszyma rszyma Jan 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes chef fbb4c58

@@ -5,10 +5,10 @@ body:
- type: checkboxes
attributes:
label: Already reported ? *
description: Before opening a new bug report, please take a moment to search through the current open and closed issues to check if it already exists.
description: Before opening a new bug report, please take a moment to search through the current open issues. If same bug is already reported, don't open new issue - instead go upvote/comment on existing one.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the same bug ...

comment on an existing one

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants