diff --git a/.github/ISSUE_TEMPLATE/01-bug_report.yaml b/.github/ISSUE_TEMPLATE/01-bug_report.yaml index f5a529c76..1b11c5557 100644 --- a/.github/ISSUE_TEMPLATE/01-bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/01-bug_report.yaml @@ -1,18 +1,14 @@ name: 🐛 Bug report description: Create a report to help us improve -title: '🐛 ' +title: '🐛 ' labels: ['bug'] body: - type: markdown attributes: value: | - Use common sense and provide the necessary information that helps us to - help you. + Use common sense and provide the necessary information that helps us to help you. - A minimal reproduction is required: only the code and configuration - required to demonstrate the issue. - - Please make sure you've read https://knip.dev/guides/issue-reproduction. + A minimal reproduction is mandatory: only the code and configuration required to demonstrate the issue. - type: checkboxes attributes: label: Prerequisites @@ -27,10 +23,12 @@ body: issues](https://github.com/webpro-nl/knip/issues?q=is%3Aissue) required: true - label: - I've checked the list of [known + I've checked the [list of known issues](https://knip.dev/reference/known-issues) required: true - - label: I've read https://knip.dev/guides/issue-reproduction + - label: + I've read the [issue reproduction + guide](https://knip.dev/guides/issue-reproduction) required: true - type: input id: reproduction @@ -39,6 +37,13 @@ body: description: Please link to the location of the issue reproduction validations: required: true + - type: checkboxes + attributes: + label: Reproduction access + description: For instance, a CodeSandbox seems private by default + options: + - label: I've made sure the reproduction is publicly accessible + required: true - type: textarea id: description attributes: diff --git a/.github/ISSUE_TEMPLATE/02-regression.yaml b/.github/ISSUE_TEMPLATE/02-regression.yaml index 4055d039b..cd896df35 100644 --- a/.github/ISSUE_TEMPLATE/02-regression.yaml +++ b/.github/ISSUE_TEMPLATE/02-regression.yaml @@ -1,19 +1,29 @@ name: 🔄 Regression description: Something that worked a certain way before, but no longer does -title: '🔄 <TITLE>' +title: '🔄 ' labels: ['regression'] body: - type: markdown attributes: value: | - Please make sure you have read the docs and are using the latest version - of Knip. Use common sense and provide the necessary information that - helps me or others to help you. + Please make sure you have read the docs and are using the latest version of Knip. Use common sense and provide the necessary information that helps me or others to help you. - A minimal reproduction is required: only the code and configuration - required to demonstrate the issue. - - Please make sure you've read https://knip.dev/guides/issue-reproduction. + A minimal reproduction is mandatory: only the code and configuration required to demonstrate the issue. + - type: checkboxes + attributes: + label: Prerequisites + description: Please check existing information about your issue + options: + - label: I've read the relevant [documentation](https://knip.dev) + required: true + - label: + I've searched for [existing + issues](https://github.com/webpro-nl/knip/issues?q=is%3Aissue) + required: true + - label: + I've read the [issue reproduction + guide](https://knip.dev/guides/issue-reproduction) + required: true - type: input id: reproduction attributes: @@ -21,6 +31,13 @@ body: description: Please link to the location of the issue reproduction validations: required: true + - type: checkboxes + attributes: + label: Reproduction access + description: For instance, a CodeSandbox seems private by default + options: + - label: I've made sure the reproduction is publicly accessible + required: true - type: input id: good-version attributes: diff --git a/.github/ISSUE_TEMPLATE/03-feature_request.yaml b/.github/ISSUE_TEMPLATE/03-feature_request.yaml index 2a0c2dbea..ac37a5a3b 100644 --- a/.github/ISSUE_TEMPLATE/03-feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/03-feature_request.yaml @@ -1,12 +1,16 @@ -name: 💡 Feature Request +name: 💡 Feature Request (RFC) description: Suggest an idea for this project -title: '💡 <TITLE>' +title: '💡 ' labels: ['feature request'] body: - type: markdown attributes: - value: | - <!-- - Use common sense and provide the necessary information to explain why - the feature is useful to you and to others. Thanks! - --> + value: + Use common sense and provide the necessary information to explain why + the feature is useful to you and to others. Thanks! + - type: textarea + id: description + attributes: + label: Suggest an idea for this project + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/04-everything-else.yaml b/.github/ISSUE_TEMPLATE/04-everything-else.yaml index 9c5590775..645f4405a 100644 --- a/.github/ISSUE_TEMPLATE/04-everything-else.yaml +++ b/.github/ISSUE_TEMPLATE/04-everything-else.yaml @@ -1,12 +1,16 @@ name: 🧩 Everything Else description: Discuss anything related to Knip -title: '🧩 <TITLE>' +title: '🧩 ' labels: ['discussion'] body: - type: markdown attributes: - value: | - <!-- - Feel free to discuss anything related to Knip. - Just saying, there's also a Discord channel: https://discord.gg/r5uXTtbTpc - --> + value: + Feel free to discuss anything related to Knip. By the way, there's also + a [Discord channel](https://discord.gg/r5uXTtbTpc). + - type: textarea + id: description + attributes: + label: Discuss anything related to Knip + validations: + required: true diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 5b6c689c7..41d738e58 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -108,7 +108,7 @@ jobs: - run: | cd TypeScript npm ci - knip --tags=+internal,-knipignore --exclude=duplicates,enumMembers,unlisted + knip --tags=+internal,-knipignore --exclude=duplicates,enumMembers - name: Test Knip against InvokeAI uses: actions/checkout@v4