Skip to content

Commit

Permalink
chore: move issue templates to the correct folder
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Jan 26, 2024
1 parent 903d0c5 commit f064d48
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -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)
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -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.
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit f064d48

Please sign in to comment.