From 5f6485d4298dfed17d744018074155481fdcc118 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 25 Jul 2021 18:52:36 +0200 Subject: [PATCH] Add optional additional context in question/support --- .github/ISSUE_TEMPLATE/BUG-REPORT.yml | 6 +++++- .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml | 9 ++++++--- .github/ISSUE_TEMPLATE/QUESTION.yml | 18 ++++++++++++------ 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml index cd985b2b61..5118cd5b8a 100644 --- a/.github/ISSUE_TEMPLATE/BUG-REPORT.yml +++ b/.github/ISSUE_TEMPLATE/BUG-REPORT.yml @@ -7,7 +7,11 @@ body: value: | **Thank you for wanting to report a bug in pylint!** - ⚠ Please make sure that this issue wasn't already requested, or already implemented in the main branch. + ⚠ Please make sure that this [issue wasn't already requested][issue search], or already implemented in the main branch. + + + [issue search]: https://github.com/PyCQA/pylint/issues?q=is%3Aissue+is%3Aopen+ + - type: textarea id: what-happened attributes: diff --git a/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml b/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml index 00a73e4241..59257ba0d0 100644 --- a/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml +++ b/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml @@ -7,8 +7,11 @@ body: value: | **Thank you for wanting to make a suggestion for pylint!** - ⚠ - Please make sure that this feature wasn't already requested or already implemented in the main branch. + ⚠ Please make sure that [this feature wasn't already requested][issue search] or already implemented in the main branch. + + + [issue search]: https://github.com/PyCQA/pylint/issues?q=is%3Aissue+is%3Aopen+ + - type: textarea id: current-problem attributes: @@ -31,7 +34,7 @@ body: required: true - type: textarea attributes: - label: Additional context + label: (Additional context) description: > Add any other context, links, etc. about the feature here. Describe how the feature would be used, why it is needed and what it would solve. diff --git a/.github/ISSUE_TEMPLATE/QUESTION.yml b/.github/ISSUE_TEMPLATE/QUESTION.yml index a46ec0a8b0..b01f526039 100644 --- a/.github/ISSUE_TEMPLATE/QUESTION.yml +++ b/.github/ISSUE_TEMPLATE/QUESTION.yml @@ -15,17 +15,14 @@ body: ⚠ Verify first that your issue is not [already reported on GitHub][issue search]. - - If you are seeking community support, please consider [starting a - discussion][Discussions]. - - - Thank you for your collaboration! + 💬 If you are seeking community support, please consider [starting a discussion + on Discord][Discussions]. [issue search]: https://github.com/PyCQA/pylint/issues?q=is%3Aissue+is%3Aopen+ [Discussions]: https://discord.gg/Egy6P8AMB5 + - type: textarea id: question attributes: @@ -41,3 +38,12 @@ body: we need to reorganize ? validations: required: true + - type: textarea + attributes: + label: (Additional context) + description: > + Add any other context, links, etc. about the question here. + + placeholder: >- + I asked on https://stackoverflow.com/... and the community advised me to do X, Y + and Z.