pip icon indicating copy to clipboard operation
pip copied to clipboard

In "choose a new issue type", selecting "Blank issue" goes back to the "choose an issue type" page

Open pfmoore opened this issue 7 months ago • 4 comments

Description

As it says in the title - if you select "Blank issue (maintainers only)", you don't get a blank issue, you get the "pick an issue type" page again.

Expected behavior

You get a blank "new issue" page to fill in.

pip version

N/A

Python version

N/A

OS

N/A

How to Reproduce

  1. Go to https://github.com/pypa/pip/issues/ and click the "New issue" button.
  2. Select "(Maintainers only) Blank Issue".
  3. A new tab opens, on the page https://github.com/pypa/pip/issues/new/choose

Presumably, this is because issues/new redirects to issues/new/choose if there's no template, but "Blank Issue" is intended to have no template...

Output

No response

Code of Conduct

pfmoore avatar Jun 05 '25 18:06 pfmoore

Can confirm, faced this today, it regressed at some point, presumably something on GitHub side changed

notatallshaw avatar Jun 05 '25 18:06 notatallshaw

This is a recent change as GitHub rolls out the new issues experience: https://github.com/orgs/community/discussions/14287#discussioncomment-12622212

The TL;DR is that GitHub is enforcing blank_issues_enabled: false in the issue template configuration strictly.

https://github.com/pypa/pip/blob/ab2a3f123a09c5d415283f564bd16387fe2b23af/.github/ISSUE_TEMPLATE/config.yml#L4-L8

While it would be easy to reenable blank issues, we trade one problem for another: the "create a blank issue" becomes a prominent option. For example, this is what it looks like the Black repository:

Image

This could be too enticing and too visible such that users will file blank issues (ignoring our templates) because they aren't paying attention or thinking.

Although we don't actually get that many issues these days, so perhaps the risk of inadvertent blank issues is negligible? I'd be fine with flipping the configuration setting and seeing if there's any fallout. If there is, we can reassess.

ichard26 avatar Jun 05 '25 21:06 ichard26

Oh wait, we already have a giant button for creating new blank issues. The difference is that only people with write access to the project are (or rather, were) actually able to use it. Removing blank_issues_enabled: false would let anyone file blank issues.

ichard26 avatar Jun 05 '25 21:06 ichard26

Could we simply have a template for "blank" issues that was, well..., blank?

pfmoore avatar Jun 05 '25 22:06 pfmoore

This has been fixed by toggliing blank_issues_enabled to true in our issue template configuration. Ideally, it would be the very last option in the template list, but at least the bug and feature templates come first ¯\_(ツ)_/¯

Image

ichard26 avatar Jul 08 '25 18:07 ichard26