-
Notifications
You must be signed in to change notification settings - Fork 40
Description
There are usage recommendations for GitHub labels. Should there be recommendations for issue and pull request titles? (editors on my CG was recently asking themselves this question)
Examples I've seen in the wild:
[module-name] Discussion specific to a single module
[module-name,other-module-name] Discussion related to multiple modules
General discussion or question
Ideally, we'd document the reasoning behind these recommendations (see draft below).
Curious to hear what other folks think.
DRAFT Proposal:
Benefit of prefixes
Why use prefixes, when labels can do the same job? Both are useful, here are a few reasons to use prefixes in issue titles:
[prefix]
is a useful visual hint when scanning a long list of issues- Facilitates plain text search
- Prevents duplicate titles across modules
- May be used by automations/bots
- When someone mentions an issue in a GitHub comment, issue, or PR, GitHub automatically expands the title, but labels aren't shown
Screen capture showing an issue without a prefix in its title. The user has to hover it to reveal the label, and understand that it has to do with the format
module. Had it been prefixed with [format]
, the user would have immediately known about what module this issue touches on.
Do
todo
Don’t
todo