diff --git a/.github/ISSUE_TEMPLATE/1-bug_report.yml b/.github/ISSUE_TEMPLATE/1-bug_report.yml new file mode 100644 index 0000000..5a01fed --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-bug_report.yml @@ -0,0 +1,60 @@ +name: 🐞 Bug Report +title: '🐞 Bug: ' +description: Do you believe you have found a bug? +labels: 'require-triage' +type: Bug + +body: + - type: markdown + attributes: + value: | + Thank you for reporting a bug! Please fill out the following sections to help us understand the issue. + + - type: checkboxes + attributes: + description: If any of these required steps are missed, we might not be able to review your issue. + label: Bug Report Checklist + options: + - label: I have read and agree to Express's [Code of Conduct](https://github.com/expressjs/.github/blob/master/CODE_OF_CONDUCT.md) + required: true + - label: I have searched for related issues but none matched my issue. + required: true + + - type: input + attributes: + label: Version + description: | + To check the installed version, you can use the following command: `npm ls name-of-package name-of-othe-package` + validations: + required: true + + - type: textarea + attributes: + label: Platform + description: | + UNIX: output of `uname -a` + Windows: output of `"$([Environment]::OSVersion.VersionString) $(('x86', 'x64')[[Environment]::Is64BitOperatingSystem])"` in PowerShell console + + - type: input + attributes: + label: Node.js version + description: | + Output of `node -v`. + + - type: textarea + attributes: + label: What is the current behavior? + description: | + Please describe the current behavior of the application, including any error messages or unexpected results. + validations: + required: true + + - type: textarea + attributes: + label: What steps will reproduce the bug? + description: | + Please provide detailed steps to reproduce the problem. + + To help us understand and fix the issue efficiently, please create a [MCVE](https://stackoverflow.com/help/mcve). + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/1question.md b/.github/ISSUE_TEMPLATE/1question.md deleted file mode 100644 index 50b0430..0000000 --- a/.github/ISSUE_TEMPLATE/1question.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -name: Question -about: Seeking help or have a question about usage? -labels: ["question", "require-triage"] ---- - - diff --git a/.github/ISSUE_TEMPLATE/2-feature_request.yml b/.github/ISSUE_TEMPLATE/2-feature_request.yml new file mode 100644 index 0000000..e736cc7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/2-feature_request.yml @@ -0,0 +1,36 @@ +name: 🚀 Feature Request +title: '🚀 feature: ' +description: 'Do you want to make a feature request?' +type: Feature +labels: + - "ideas" + - "require-triage" + +body: + - type: markdown + attributes: + value: | + Thank you for submitting a feature request! Please fill out the following sections to help us understand the request. + - type: checkboxes + attributes: + label: Feature Request Checklist + description: If any of these required steps are missed, we might not be able to review your issue. + options: + - label: I have read and agree to Express's [Code of Conduct](https://github.com/expressjs/.github/blob/master/CODE_OF_CONDUCT.md) + required: true + - label: I have searched for related issues but none matched my issue. + required: true + - type: textarea + attributes: + description: What is the feature gap or problem you'd like to address? + label: Overview + validations: + required: true + - type: textarea + attributes: + description: Please describe the feature you would like to see implemented. + label: How should this be implemented in your opinion? + - type: textarea + attributes: + description: Any additional info you'd like to provide. + label: Additional Info diff --git a/.github/ISSUE_TEMPLATE/2bug_report.md b/.github/ISSUE_TEMPLATE/2bug_report.md deleted file mode 100644 index 84df8e9..0000000 --- a/.github/ISSUE_TEMPLATE/2bug_report.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -name: 🐛 Bug Report -about: Do you believe you have found a bug? -labels: ["bug", "require-triage"] -type: Bug ---- - - - -## Environment information - -**Version**: - - -**Platform**: - - -**Node.js version**: - - -**Any other relevant information**: - -## What steps will reproduce the bug? diff --git a/.github/ISSUE_TEMPLATE/3-documentation.yml b/.github/ISSUE_TEMPLATE/3-documentation.yml new file mode 100644 index 0000000..0d15a1f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/3-documentation.yml @@ -0,0 +1,38 @@ +name: 📝 Documentation Issue +description: Report a possible issue in the documentation +title: '📝 docs: ' +labels: + - "docs" + - "require-triage" + +body: + - type: markdown + attributes: + value: | + Thank you for submitting this issue! We'll try to triage it ASAP! + + - type: checkboxes + attributes: + label: Documentation Issue Checklist + description: If any of these required steps are missed, we might not be able to review your issue. + options: + - label: I have read and agree to Express's [Code of Conduct](https://github.com/expressjs/.github/blob/master/CODE_OF_CONDUCT.md) + required: true + - label: I have searched for related issues but none matched my issue. + required: true + + - type: textarea + id: description + attributes: + label: Description + description: Please provide a description of the issue + validations: + required: true + + - type: textarea + id: expectations + attributes: + label: Expectations + description: Describe the expected behavior + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/3feature_request.md b/.github/ISSUE_TEMPLATE/3feature_request.md deleted file mode 100644 index 7460e1a..0000000 --- a/.github/ISSUE_TEMPLATE/3feature_request.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -name: Feature Request -about: Do you want to make a feature request? -labels: ["ideas", "require-triage"] ---- - - diff --git a/.github/ISSUE_TEMPLATE/4-question.yml b/.github/ISSUE_TEMPLATE/4-question.yml new file mode 100644 index 0000000..2dc9329 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/4-question.yml @@ -0,0 +1,40 @@ +name: ❓ Question +description: Seeking help or have a question about usage? +title: '❓ question: ' +labels: + - "question" + - "require-triage" + +body: + - type: markdown + attributes: + value: | + **Thank you for your question!** + To help us better understand and assist you, please fill out the following sections with the relevant details. + + Please note that we can't debug your entire application for you, but we're happy to help answer specific questions. + + You can also connect with the community in the OpenJS Slack workspace: + + * [Join Slack](https://slack-invite.openjsf.org/) + * [#express channel](https://openjs-foundation.slack.com/archives/C02QB1731FH) + + + - type: checkboxes + attributes: + label: Question Checklist + description: If any of these required steps are missed, we might not be able to review your issue. + options: + - label: I have read and agree to Express's [Code of Conduct](https://github.com/expressjs/.github/blob/master/CODE_OF_CONDUCT.md) + required: true + - label: I have searched for related issues but none matched my issue. + required: true + + - type: textarea + attributes: + label: Question + description: | + Please provide a clear and concise description of your question or the issue you're facing. + Include any relevant code snippets, error messages, or context that will help us understand your question better. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/4documentation.yml b/.github/ISSUE_TEMPLATE/4documentation.yml deleted file mode 100644 index d7a01fe..0000000 --- a/.github/ISSUE_TEMPLATE/4documentation.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Documentation issue -description: Report a possible issue in the documentation -labels: ["doc", "require-triage"] -body: - - type: markdown - attributes: - value: | - Thank you for submitting this issue! We'll try to triage it ASAP! - - type: textarea - id: description - attributes: - label: Description - description: Please provide a description of the issue - validations: - required: true - - type: textarea - id: expectations - attributes: - label: Expectations - description: Describe the expected behavior - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/5other.md b/.github/ISSUE_TEMPLATE/5-other.md similarity index 100% rename from .github/ISSUE_TEMPLATE/5other.md rename to .github/ISSUE_TEMPLATE/5-other.md diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..a11187c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: 🌐 Website issues + url: https://github.com/expressjs/expressjs.com/issues/new/choose + about: For website issues. \ No newline at end of file