Skip to content
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

GitHub New Issue template appears empty / current template is deprecated #15135

Open
Avasam opened this issue Dec 24, 2024 · 3 comments · May be fixed by #15163
Open

GitHub New Issue template appears empty / current template is deprecated #15135

Avasam opened this issue Dec 24, 2024 · 3 comments · May be fixed by #15163
Labels
help wanted Contributions especially welcome

Comments

@Avasam
Copy link
Contributor

Avasam commented Dec 24, 2024

With the new GitHub issue view,
Image
this is what I get when creating a new issue:
Image

Likely related to the fact that the current template is deprecated
Image

(I made sure to disable Refined GitHub extension in case that was messing with it)

@Avasam Avasam changed the title GitHub New Issue template appears empty GitHub New Issue template appears empty / current template is deprecated Dec 24, 2024
@MichaReiser
Copy link
Member

Thanks. I didn't know we had an issue template 😆

@MichaReiser MichaReiser added the help wanted Contributions especially welcome label Dec 26, 2024
@InSyncWithFoo
Copy link
Contributor

The new YAML-based format has one minor problem:

  • Each issue template must have a body of "form items". These items define how the issue is rendered.
  • Each form item must be of one of the following types: checkboxes, dropdown, input, markdown, textarea. All of these, except for markdown, require that a label attribute be defined. The value of this attribute is then used as a header.
  • The body must contain at least one non-markdown block. This means, even for the simplest of issues, an extraneous header will be added.

On the positive side, the form looks quite nice:

By default (no user modifications), the new issue will be created with the following Markdown content:

### This is an input

_No response_

### These are a couple of checkboxes

- [ ] Option 1
- [ ] Option 2

### This is a dropdown menu

None

### This is a multiline textarea

Default value

@InSyncWithFoo InSyncWithFoo linked a pull request Dec 27, 2024 that will close this issue
@MichaReiser
Copy link
Member

I posted in the feedback discussion to understand if removing support for the legacy issue templates is intentional or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Contributions especially welcome
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants