♻️ refactor: use yaml for issue templates

This commit is contained in:
Inter 2024-06-10 20:49:16 +01:00
parent a8dc40f4f7
commit 85bf72f5bc
4 changed files with 62 additions and 32 deletions

View file

@ -0,0 +1,30 @@
name: Badge Request
description: Request a badge that you would like to see be added to the current badge list.
title: "[Badge Request]: "
labels: ["📛 badge request"]
projects: ["inttter/md-badges"]
assignees:
- inttter
body:
- type: markdown
attributes:
value: |
⚠️ **Make sure your badge is not a duplicate of one that already exists.** You can check this by searching the badge list using <kbd>Ctrl</kbd> <kbd>F</kbd> or <kbd>⌘</kbd> <kbd>F</kbd> and entering the name of the badge.
> If you are looking to add a badge to this repository yourself, view the contributing guidelines [here](https://github.com/inttter/md-badges/blob/main/CONTRIBUTING.md) and make a pull request.
- type: input
id: name
attributes:
label: Badge Name
description: What is the name of the badge?
placeholder: eg. ChatGPT
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: Give a bit of detail about the badge, such as a URL to a website.
placeholder: This badge is for [NAME], which/who...
validations:
required: true

View file

@ -0,0 +1,32 @@
name: Issue Report
description: Report something that is bugged or incorrect.
title: "[Bug]: "
labels: ["🐛 bug"]
projects: ["inttter/md-badges"]
body:
- type: markdown
attributes:
value: |
Check the issues page [here](https://github.com/inttter/md-badges/issues) to make sure your issue is not a duplicate.
- type: dropdown
attributes:
label: Type of Issue
description: Where does this issue occur?
options:
- Badge Display
- Badge Syntax
- Formatting
- Other
- type: textarea
attributes:
label: Description
description: Describe the issue you have and give any additional details.
placeholder: The issue is...
validations:
required: true
- type: textarea
attributes:
label: Screenshots/Videos
description: If applicable, drag a screenshot or video into this box that shows this issue.
validations:
required: false

View file

@ -1,14 +0,0 @@
---
name: Badge Request
about: Request a badge that you would like to see be added to the current badge list.
title: '[Request]:'
labels: '📛 badge request'
---
## Name
<!-- Name of badge goes here -->
## Description
<!-- Short description of the badge goes here. !-->

View file

@ -1,18 +0,0 @@
---
name: Report an issue
about: Report something which is bugged or not right within the repository.
title: '[Bug]:'
labels: '🐛 bug'
---
## Description
<!-- Enter a short description of what the problem is here. -->
## Example
<!-- Leave any code examples here. If this is not applicable for the issue, you can delete this section. -->
## Additional Context
<!-- Leave anything else, such as screenshots, in this area. If this is not applicable for this issue, you can delete this section. !-->