Skip to content

Make blank issue a more prominent option - #9860

Merged
GMNGeoffrey merged 7 commits into
iree-org:mainfrom
GMNGeoffrey:blank-issue
Jul 20, 2022
Merged

GMNGeoffrey merged 7 commits into
iree-org:mainfrom
GMNGeoffrey:blank-issue

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Jul 20, 2022 •

Copy link
Copy Markdown
Member

Collaborators keep creating issues with the templates when they really
should be doing triage and stuff themselves and we end up with a bunch
of boilerplate, incorrect labels, etc.

@GMNGeoffrey

Copy link
Copy Markdown
Member Author

This demonstrates two different options for making the blank issue more
prominent:

  1. An "external link" that just points to the blank issue URL
  2. A template that barely modifies the blank issue URL

External link:

  • Pros:
    • less configuration
    • blank issue is still sorted at the bottom (apparently there's no
      way to sort issue templates lower, though I could probably make
      blank the last issue template by adding a "z" prefix)
  • Cons:
    • it's not really external, so having it as an external link looks
      a bit weird.
    • It's hard-coded to this specific repository URL
    • ? Opens issue template in a new tab

Issue template:

  • Pros:
    • We can add reminders for people to triage their issues
  • Cons:
    • Has to be sorted above external links
    • Sorting below other templates requires naming shenanigans
    • More configuration

Thoughts?

Demo of both on my fork: https://github.com/GMNGeoffrey/iree/issues/new/choose

Issue chooser:
issue_chooser

Blank issue custom template:
blank_issue_template

A real blank issue:
regular_blank_issue

@GMNGeoffrey
GMNGeoffrey marked this pull request as ready for review July 20, 2022 22:43
@GMNGeoffrey
GMNGeoffrey requested a review from ScottTodd as a code owner July 20, 2022 22:43
Comment thread .github/ISSUE_TEMPLATE/blank_issue.yml Resolved
Comment thread .github/ISSUE_TEMPLATE/config.yml Resolved
@GMNGeoffrey
GMNGeoffrey merged commit c04f613 into iree-org:main Jul 20, 2022
@GMNGeoffrey
GMNGeoffrey deleted the blank-issue branch July 20, 2022 22:54
GMNGeoffrey added a commit that referenced this pull request Aug 9, 2022
In #9860 I tried this approach as
well as a custom template and we decided we liked the template better,
but *apparently* that inserts "Issue body", the label for the textarea
field into the issue body, which is totally unhelpful and impossible to
disable:
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema#attributes-1

Going back to this approach, since avoiding random crap in the issue
body was most of the point of doing this in the first place.

Screenshot from demo on my fork:

![new_issue_page](https://user-images.githubusercontent.com/5732088/183776108-74014ceb-3863-41fe-8325-c700ecee4a4e.png)
@GMNGeoffrey GMNGeoffrey added the infrastructure Relating to build systems, CI, or testing label Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants