Skip to content

Commit

Permalink
feat: add global labels definition (#141)
Browse files Browse the repository at this point in the history
* feat: add global labels definition

* chore: update issue templates to new labels
  • Loading branch information
Th3S4mur41 authored Nov 25, 2024
1 parent ac48394 commit 616dd5e
Show file tree
Hide file tree
Showing 10 changed files with 242 additions and 117 deletions.
40 changes: 0 additions & 40 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

27 changes: 23 additions & 4 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: '🐛 Bug report'
description: Report a bug/problem
labels: ['🐛 bug', '👀 needs triage']
labels: ['🐛 bug', '👀 triage']

body:
- type: markdown
Expand All @@ -11,17 +11,36 @@ body:
- type: dropdown
id: package
validations:
required: true
required: false
attributes:
label: Affected package
description: Which package is affected?
description: Which packages are affected?
multiple: true
options:
- Core
- Components
- Icons
- Docs
- Bootstrap

- type: dropdown
validations:
required: false
attributes:
multiple: true
label: In what areas does this bug report apply?
options:
- '♿ Accessibility'
- '🤖 Build'
- '🔁 CI/CD'
- '📦 Components'
- '📄 Documentation'
- '🔥 Performance'
- '🔐 Security'
- '🎨 Styles'
- '✅ Tests'
- '🤷 Other'

- type: textarea
id: what-happened
validations:
Expand Down Expand Up @@ -51,7 +70,7 @@ body:
- type: dropdown
id: platforms
validations:
required: true
required: false
attributes:
label: What platforms does this bug report apply to?
description: You may select more than one.
Expand Down
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/enhancement.md

This file was deleted.

19 changes: 10 additions & 9 deletions .github/ISSUE_TEMPLATE/enhancement.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: '📈 Enhancement'
description: Suggest an idea to improve this project
labels: ['📈 enhancement', '👀 needs triage']
labels: ['💡 feature', '👀 triage']

body:
- type: markdown
Expand All @@ -24,19 +24,20 @@ body:

- type: dropdown
validations:
required: true
required: false
attributes:
multiple: false
label: Type of feature
description: Select the type of feature request, the lowercase should also be the PR prefix.
multiple: true
label: What area would this enhancement affect?
options:
- '♿ Accessibility'
- '🤖 Build'
- '🔁 CI'
- '🔁 CI/CD'
- '📦 Components'
- '📄 Documentation'
- '🔥 Performance'
- '🧑‍💻 Refactor'
- '🎨 Style'
- 'Test'
- '🔐 Security'
- '🎨 Styles'
- 'Tests'
- '🤷 Other'

- type: textarea
Expand Down
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

24 changes: 14 additions & 10 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: '🙏 Feature request'
description: Suggest a new feature for this project
labels: ['💡 feature', '👀 needs triage']
labels: ['💡 feature', '👀 triage']

body:
- type: markdown
Expand All @@ -9,18 +9,22 @@ body:
Thanks for taking the time to fill out this feature request!
- type: dropdown
id: package
validations:
required: true
required: false
attributes:
label: Affected package
description: Which package is affected?
multiple: true
label: What area would this new feature affect?
options:
- Core
- Components
- Icons
- Docs
- Bootstrap
- '♿ Accessibility'
- '🤖 Build'
- '🔁 CI/CD'
- '📦 Components'
- '📄 Documentation'
- '🔥 Performance'
- '🔐 Security'
- '🎨 Styles'
- '✅ Tests'
- '🤷 Other'

- type: textarea
id: what-happened
Expand Down
7 changes: 0 additions & 7 deletions .github/ISSUE_TEMPLATE/other.md

This file was deleted.

28 changes: 19 additions & 9 deletions .github/ISSUE_TEMPLATE/other.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: '🤷 Other'
description: Everything that doesn't fit in the other categories
labels: ['👀 needs triage']
labels: ['👀 triage']

body:
- type: markdown
Expand All @@ -22,21 +22,31 @@ body:
- Docs
- Bootstrap

- type: textarea
id: what-happened
- type: dropdown
validations:
required: true
required: false
attributes:
label: Current behavior
description: Is your feature request related to a problem? Please describe.
multiple: true
label: What area is affected?
options:
- '♿ Accessibility'
- '🤖 Build'
- '🔁 CI/CD'
- '📦 Components'
- '📄 Documentation'
- '🔥 Performance'
- '🔐 Security'
- '🎨 Styles'
- '✅ Tests'
- '🤷 Other'

- type: textarea
id: suggested-solution
validations:
required: false
required: true
attributes:
label: Suggested enhancement
description: Describe the enhancement you'd like.
label: Desciption
description: Describe what you'd like to change.

- type: input
id: context
Expand Down
Loading

0 comments on commit 616dd5e

Please sign in to comment.