Skip to content

Commit

Permalink
chore: add issue and pr templates (#41)
Browse files Browse the repository at this point in the history
* Add pull request template

* Add CC link and issue linking example

* Add issue templates
  • Loading branch information
raducristianpopa authored Dec 11, 2023
1 parent 1d62ca2 commit bfc0ea4
Show file tree
Hide file tree
Showing 5 changed files with 177 additions and 0 deletions.
99 changes: 99 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: Bug report
description: File a bug report
title: '[BUG] '
labels: ['bug', 'triage']
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: Explain how the behavior can be reproduced.
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. Click on '...'
validations:
required: true

- type: textarea
id: expected
attributes:
label: Expected result
description: A clear and concise description of what you expected to happen.
validations:
required: true

- type: textarea
id: actual
attributes:
label: Actual result
description: A clear and concise description of what is happening.
validations:
required: true

- type: textarea
id: screenshots
attributes:
label: Screenshots or videos
description: If applicable, add screenshots and/or a short video to help explain your problem.

- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context about the problem here.

- type: dropdown
id: os
attributes:
label: Operating system
description: What operating system are you seeing the problem on?
multiple: true
options:
- Windows
- macOS
- Linux
- Android
- iOS
validations:
required: true

- type: input
id: os-version
attributes:
label: Operating system version
description: What version of the operating system(s) are you seeing the problem on?

- type: dropdown
id: browsers
attributes:
label: Browsers
description: What browser(s) are you seeing the problem on?
multiple: true
options:
- Chrome
- Microsoft Edge
- Firefox
- Opera
validations:
required: true

- type: input
id: browser-version
attributes:
label: Browser version
description: What version of the browser(s) are you seeing the problem on?

- type: input
id: version
attributes:
label: Extension version
description: What version of our extension are you running?
validations:
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: true
contact_links:
- name: Ask a question
url: https://github.com/interledger/web-monetization-extension/discussions
about: Ask questions and discuss with other community members
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Feature request
description: Submit a feature request
title: '[FEATURE REQUEST] '
labels: ['discussion: idea', 'triage']
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request! Please fill out this form as completely as possible. If this issue has a `needs approval` label, please do not start coding yet. Wait until a core member approves the feature request by removing this label.
- type: textarea
id: describe
attributes:
label: Describe the feature you would like to request
description: A clear and concise description of what you want and what your use case is.
validations:
required: true

- type: textarea
id: solution
attributes:
label: Describe the solution you would like
description: A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Feature
description: Scope out a feature implementation
body:
- type: textarea
id: context
attributes:
label: Context
description: A clear and concise description of the feature.
validations:
required: true

- type: textarea
id: todos
attributes:
label: Todos
description: List of todos to complete the feature.
validations:
required: true
24 changes: 24 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!--
Pull request titles should follow conventional commit format.
https://www.conventionalcommits.org/en/v1.0.0/
-->

## Context

<!--
What were you trying to do?
Provide further details about how the feature should be tested/reviewed if necessary.
If the PR is related to an open issue(s) please provide a list of them.
Example:
- closes (or fixes) #<issue number>
- closes (or fixes) #<issue number>
-->

Closes #<issue number>.

## Changes proposed in this pull request

<!--
Provide a succinct description of what this pull request entails.
-->

0 comments on commit bfc0ea4

Please sign in to comment.