From 5a65b30b17fa4376f5e46003565ae4435e2e704a Mon Sep 17 00:00:00 2001 From: ozone10 Date: Wed, 10 Apr 2024 19:56:37 +0200 Subject: [PATCH] Add issue templates Fix #14969, close #14970 --- .../ISSUE_TEMPLATE.md | 2 +- .github/ISSUE_TEMPLATE/1-bug.yml | 66 +++++++++++++++++++ .github/ISSUE_TEMPLATE/2-feature-request.yml | 45 +++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + 4 files changed, 113 insertions(+), 1 deletion(-) rename ISSUE_TEMPLATE.md => .github/ISSUE_TEMPLATE.md (90%) create mode 100644 .github/ISSUE_TEMPLATE/1-bug.yml create mode 100644 .github/ISSUE_TEMPLATE/2-feature-request.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md similarity index 90% rename from ISSUE_TEMPLATE.md rename to .github/ISSUE_TEMPLATE.md index 6d5fb7b0c..19263efb6 100644 --- a/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -20,7 +20,7 @@ - + diff --git a/.github/ISSUE_TEMPLATE/1-bug.yml b/.github/ISSUE_TEMPLATE/1-bug.yml new file mode 100644 index 000000000..43eb23a84 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-bug.yml @@ -0,0 +1,66 @@ +name: Bug +description: File a bug/issue +title: "[BUG] " +#labels: ["bug"] +body: +- 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 +- type: textarea + attributes: + label: Description of the Issue + description: Provide a concise description to the issue itself. + validations: + required: true +- type: textarea + attributes: + label: Steps To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. + 2. + 3. + ... + value: | + 1. + 2. + 3. + validations: + required: true +- type: textarea + attributes: + label: Current Behavior + description: What you're experiencing. + validations: + required: true +- type: textarea + attributes: + label: Expected Behavior + description: What did you expect to happen. + validations: + required: true +- type: textarea + attributes: + label: Debug Information + description: | + In your Notepad++, click on the "?" menu (found to the right of "Window" in the menu bar). + In the menu that drops down, choose "Debug Info...". + A dialog will open detailing specifics about your Notepad++ version, plugins, etc. + CLICK ON THE BUTTON "Copy debug info into clipboard". + Do a PASTE HERE + render: shell + validations: + required: true +- type: textarea + attributes: + label: Anything else? + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or relevant text files by clicking this area to highlight it and then dragging files in. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/2-feature-request.yml b/.github/ISSUE_TEMPLATE/2-feature-request.yml new file mode 100644 index 000000000..512cc4bee --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2-feature-request.yml @@ -0,0 +1,45 @@ +name: Feature request +description: Suggest an idea for Notepad++ +title: "[Feature request] <title>" +#labels: ["feature"] +body: +- type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the feature you request. + options: + - label: I have searched the existing issues + required: true +- type: textarea + attributes: + label: Description of the Issue + description: A clear and concise description of what the problem is. + validations: + required: true +- type: textarea + attributes: + label: Describe the solution you'd like. + description: A clear and concise description of what you want to happen. + validations: + required: true +- type: textarea + attributes: + label: Debug Information + description: | + In your Notepad++, click on the "?" menu (found to the right of "Window" in the menu bar). + In the menu that drops down, choose "Debug Info...". + A dialog will open detailing specifics about your Notepad++ version, plugins, etc. + CLICK ON THE BUTTON "Copy debug info into clipboard". + Do a PASTE HERE + render: shell + validations: + required: false +- type: textarea + attributes: + label: Anything else? + description: | + Links? References? Anything that will give us more context about the feature you want! + + Tip: You can attach images by clicking this area to highlight it and then dragging files in. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..0086358db --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: true