From f064d484a9691594ac698ad0fd7939c073e4327f Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Fri, 26 Jan 2024 09:15:59 +0100 Subject: [PATCH] chore: move issue templates to the correct folder --- .github/ISSUE_TEMPLATE/bug_report.yml | 54 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 +++ .github/ISSUE_TEMPLATE/feature_request.md | 19 ++++++++ 3 files changed, 78 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..d8fa0cd8d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,54 @@ +name: Bug report +description: Template for bug reports +title: '[Bug]: ' +labels: + - bug +body: + - type: input + attributes: + label: MQTTjs Version + validations: + required: true + - type: input + attributes: + label: Broker + description: >- + The broker you are using (Aedes, Mosca, mosquitto, RabbitMQ, HiveMQ + etc...) + validations: + required: true + - type: dropdown + attributes: + label: Environment + options: + - NodeJS + - Browser + validations: + required: true + - type: textarea + attributes: + label: Description + description: A clear and concise description of the problem + validations: + required: true + - type: textarea + attributes: + label: Minimal Reproduction + description: provide steps to reproduce the problem + validations: + required: true + - type: textarea + attributes: + label: Debug logs + description: Provide logs to help diagnose your issue + placeholder: >- + On NodeJS simply run your application using `DEBUG=mqttjs*` env var, on + browsers you should enable `verbose` level in console or you can set + `log` option to `console.log.bind(console)` + validations: + required: true + - type: markdown + attributes: + value: >- + This template was generated with [Issue Forms + Creator](https://issue-forms-creator.netlify.app) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..de342be72 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: ❓ Ask a Question + url: https://github.com/mqttjs/MQTT.js/discussions/new + about: If you have any other questions, ask them here. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..fa5aec55f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,19 @@ +--- +name: Feature request +about: Suggest an idea for this project +labels: enhancement +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here.