Skip to content

Commit

Permalink
new issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
broofa committed Apr 2, 2024
1 parent b4c1dee commit 67e0eef
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,34 @@
name: Bug report
description: '`mime` support'

body:
- type: checkboxes
attributes:
label: Idiot Checks&tm;
options:
- label: This is NOT about a specific MIME type ↔ extension. If it is, please search [the mime-project issues](https://github.com/jshttp/mime-db/issues). That's what this project uses, and there's a 99% chance your issue has already been raised there.
required: true
- label: The issue title is descriptive and specific to your problem (i.e. search-engine friendly)
required: true
- label: I know what an "MRE" is. If not, (read this)[https://stackoverflow.com/help/minimal-reproducible-example]"
required: true

- type: input
attributes:
label: MRE (link)
description: URL to an MRE demonstrating your problem. This should be a project on StackBlitz, Codepen, or maybe CodeSandbox. A github repo is also acceptable, but not ideal. If you need a starting point, here's (a forkable-project on StackBlitz)[https://stackblitz.com/edit/mime-sample-mre?file=index.js]
placeholder: E.g. https://stackblitz.com/edit/mime-sample-mre?file=index.js

- type: textarea
attributes:
label: MRE (supporting details)
description: Okay, I've opened your MRE link. Now what?
value: |
Actual behavior: ...
Expected behavior: ...
- type: textarea
attributes:
label: 'Actually, let me just tell you about my problem ...'
description: |
This is a trap. If you need to use this field you're doing it wrong and this issue will be closed without comment.

0 comments on commit 67e0eef

Please sign in to comment.