-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Should issues be automatically labelled for the appropriate area of p5.js #5636
Comments
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already. |
I believe @stalgiag investigated using bots to label issues before but I think it didn't quite work at the time. Perhaps it would be possible now with the new issue templates? |
Yes! I love this idea. I wanted to do it a while back but it should be much easier now with actions and issue templates. |
I created a functional prototype that implements this idea in one of my repositories. It uses GitHub's RegEx Issue Labeler which is probably overkill but it works. It might not be elegant using both the bot and the GitHub Action, but they should be able to co-exist as long as they use separate YAML files which is possible. I have associated each issue and each checkbox in this fork which I will eventually use for a PR once finalised, but there is not a one-to-one relation. Maybe the labels or the check boxes should be renamed? These are the associations I am unsure about.
|
@stampyzfanz To me it sounds like we need to review the issue labels that we have and possibly the issue template checkboxes as well. We may need to consolidate some labels into one and split off some into multiple labels. If you like you can start there before we tackle auto labelling? Labels such as
The rest I think is a matter of renaming, removing, or adding new labels. Might be helpful to list everything out so we know what labels we aim to have. |
Thank you @stampyzfanz @stalgiag and @limzykenneth for the conversation. I went ahead and cleaned up the labels a bit based on @limzykenneth's suggestions. Below are some label updates:
Some questions:
|
I think this is fine to leave it as
This info should be available as the issue template is filled in so I don't think this is as necessary, and I don't think a scenario in which one would specifically filter by browser or OS comes up often.
👍 |
Thanks @limzykenneth! |
All the labels look good to me except maybe gif and dependencies which could be capitalized for consistency. Additionally friendly-errors is the only multi word issue using kebab case. I am interesting in working on this issue and have a working prototype with all the correct labels here which should be able to be added here. It uses GitHub's RegEx Issue Labeler like my previous prototype which is probably overkill but it works. |
Thanks @stampyzfanz for catching that! I have capitalized the
In the issue template, would it be possible to add |
This looks super cool! I love when we can automate these kind of things!! Also, @Qianqianye if you are worried about the GIF functionality, actually it is not used either in my PR, nor in the issue it references, so you might as well go ahead and remove it already! All good! Thanks for being so thoughtful! |
Thank you @jesi-rgb. I removed the |
The labels are much more standardised, thank you. I also assume that there is a good reason why some labels are prefixed with Area and others aren't.
I am just doing this right now and have noticed that User Documentation isn't on the issue template either. Should I add it too? |
The labels prefixed with
When you say |
Thanks @stampyzfanz for working on automating the labelling process. |
Topic
I am proposing a GitHub Action to be employed to automatically label new issues based on which checkboxes are checked in the "relevant part of p5.js" section. This section is included in all issue forms except for the discussion form.
The only reasons against this that I can think of are
The benefits are that
The text was updated successfully, but these errors were encountered: