From bfc0ea44b999f66ffc47c2e78abfab738954b90a Mon Sep 17 00:00:00 2001 From: Radu-Cristian Popa Date: Mon, 11 Dec 2023 15:15:05 +0200 Subject: [PATCH] chore: add issue and pr templates (#41) * Add pull request template * Add CC link and issue linking example * Add issue templates --- .github/ISSUE_TEMPLATE/bug.yml | 99 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++ .github/ISSUE_TEMPLATE/feature-request.yml | 31 +++++++ .github/ISSUE_TEMPLATE/feature.yml | 18 ++++ .github/PULL_REQUEST_TEMPLATE.md | 24 ++++++ 5 files changed, 177 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml create mode 100644 .github/ISSUE_TEMPLATE/feature.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000..23bfe678 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -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 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..bae03a67 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -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 diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 00000000..85b652bc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -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. diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 00000000..64866a43 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -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 diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..1d42acb7 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,24 @@ + + +## Context + + + +Closes #. + +## Changes proposed in this pull request + +