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

[GitHub] Automatically add issue-type in issue templates #5499

Merged
merged 2 commits into from
Mar 9, 2025

Conversation

SirzBenjie
Copy link
Member

What are the changes the user will see?

As a pokerogue player, none. As a user making a new issue on GitHub -- the pretty "type" label will automatically be added when using an issue template.

Why am I making these changes?

I like things being nice, neat, orderly, and in their place. GitHub introduced a wonderful feature called issue types somewhat recently. They are beautiful and make it easier to filter issues. They also reduce noise and clutter in issue titles that are overstimulating.

I don't like searching based on the title anyway.

I also really want to remove the title field from the issue template, because it is distracting to me. (I don't like verbosity, can't you tell?); you can easily discern the kind of issue from the colorful type field.
However, I will leave that for another PR as I assume, for the purposes of the discord webhook, that we still want to be able to easily discern the issue type.
This is possible with a properly configured webhook, and so I would still very much like to be able to remove the [type] clutter from issue titles in another PR.

What are the changes from a developer perspective?

Added the type: 'x' line to the issue templates to automatically add the corresponding issue type.

Screenshots/Videos

Look how nice these look:

image

How to test the changes?

Make a new issue? (no actually don't we don't need dummy issues)

Checklist

  • I'm using beta as my base branch
  • There is no overlap with another PR?
  • The PR is self-contained and cannot be split into smaller PRs?
  • Have I provided a clear explanation of the changes?
  • [ ] Have I tested the changes manually?
  • [ ] Are all unit tests still passing? (npm run test)
    • [ ] Have I created new automated tests (npm run create-test) or updated existing tests related to the PR's changes?
  • [ ] Have I provided screenshots/videos of the changes (if applicable)?
    • [ ] Have I made sure that any UI change works for both UI themes (default and legacy)?

Allows automatically marking the type of issues made with the template
@SirzBenjie SirzBenjie requested a review from a team as a code owner March 8, 2025 15:54
@Madmadness65 Madmadness65 added the GitHub Related to PokéRogue's GitHub (ie: PR or issue templates, workflows, etc) label Mar 8, 2025
@SirzBenjie SirzBenjie requested review from a team, damocleas, Xavion3, DayKev and Wlowscha and removed request for a team March 8, 2025 16:00
@damocleas damocleas enabled auto-merge (squash) March 9, 2025 21:23
@damocleas damocleas merged commit 7f226df into pagefaultgames:beta Mar 9, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GitHub Related to PokéRogue's GitHub (ie: PR or issue templates, workflows, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants