Skip to content

Commit

Permalink
Use issue types and forms (#1579)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinMind committed Mar 22, 2024
1 parent 263881e commit ed00a48
Show file tree
Hide file tree
Showing 5 changed files with 117 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: ["type:bug", "needs:info"]
projects: []
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Include in detailed steps how to reproduce the bug you encountered
placeholder: Tell us what you see!
validations:
required: true

- type: textarea
id: what-expected
attributes:
label: What did you expect to happen?
description: Include details
placeholder: Tell us what you see!
validations:
required: true

- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: AMO Matrix channel
url: https://matrix.to/#/#amo:mozilla.org
about: Please ask and answer questions here.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/task-addons-frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Task (addons-frontend)
description: Filing a task (contributors only)
title: "[Task]: "
labels: ["type:feature", "needs:info", "repository:addons-frontend"]
projects: []
body:
- type: textarea
id: description
attributes:
label: Description
description: |
A few sentences describing what the task aims to achieve. It can be a simple sentence or a story formatted paragraph.
Be concise and detailed. Avoid vague terms and include relevant links.
placeholder: |
As a <blank>, I want to <blank, so that I can <blank>
validations:
required: true
- type: textarea
id: acceptance
attributes:
label: Acceptance Criteria
description: List of milestones or checkpoints that if met verify the task has been completed.
value: |
```[tasklist]
### Acceptance Criteria
- [ ]
```
validations:
required: true
- type: checkboxes
id: checks
attributes:
label: Checks
description: Checks before submitting the issue
options:
-
label: If the issue is ready to work on, I have removed the "needs:info" label and added an assignee.
required: true
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/task-addons-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Task (addons-server)
description: Filing a task (contributors only)
title: "[Task]: "
labels: ["type:feature", "needs:info", "repository:addons-server"]
projects: []
body:
- type: textarea
id: description
attributes:
label: Description
description: |
A few sentences describing what the task aims to achieve. It can be a simple sentence or a story formatted paragraph.
Be concise and detailed. Avoid vague terms and include relevant links.
placeholder: |
As a <blank>, I want to <blank, so that I can <blank>
validations:
required: true
- type: textarea
id: acceptance
attributes:
label: Acceptance Criteria
description: List of milestones or checkpoints that if met verify the task has been completed.
value: |
```[tasklist]
### Acceptance Criteria
- [ ]
```
validations:
required: true
- type: checkboxes
id: checks
attributes:
label: Checks
description: Checks before submitting the issue
options:
-
label: If the issue is ready to work on, I have removed the "needs:info" label and added an assignee.
required: true

0 comments on commit ed00a48

Please sign in to comment.