Subject of the issue
GitHub have publicly enabled the 'new issues experience' preview feature. This preview feature is not compatible with the current implementation of the issue template.
The 'new issues experience' feature appears to be toggleable on an account basis rather than at an organisation level.
As such, to ensure all audiences are covered, it is proposed to retain the existing implementation and add in support for the 'new issues experience' feature.
Steps to reproduce
When selecting 'New issue' on a repo, the issue title and body fields are blank.
Navigating to the .github/ISSUE_TEMPLATE.md file you're met with the following error message:
The learn more link as per the screenshot.
Proposed fix
- Copy the current
ISSUE_TEMPLATE.md from .github/ and paste it .github/ISSUE_TEMPLATE/
- Add YAML frontmatter to
.github/ISSUE_TEMPLATE/issue_template.md
- Add
config.yml file to .github/ISSUE_TEMPLATE/
- Update
config.yml to remove the blank issue option when creating an issue
Example of YAML frontmatter:
---
name: Issue
about: Use this template for reporting issues
title: ""
labels: ""
assignees: ""
---
Core repos
Lesser used repos
Archived / deprecated / unused repos
Subject of the issue
GitHub have publicly enabled the 'new issues experience' preview feature. This preview feature is not compatible with the current implementation of the issue template.
The 'new issues experience' feature appears to be toggleable on an account basis rather than at an organisation level.
As such, to ensure all audiences are covered, it is proposed to retain the existing implementation and add in support for the 'new issues experience' feature.
Steps to reproduce
When selecting 'New issue' on a repo, the issue title and body fields are blank.
Navigating to the
.github/ISSUE_TEMPLATE.mdfile you're met with the following error message:The learn more link as per the screenshot.
Proposed fix
ISSUE_TEMPLATE.mdfrom.github/and paste it.github/ISSUE_TEMPLATE/.github/ISSUE_TEMPLATE/issue_template.mdconfig.ymlfile to.github/ISSUE_TEMPLATE/config.ymlto remove the blank issue option when creating an issueExample of YAML frontmatter:
Core repos
Lesser used repos
Archived / deprecated / unused repos