Skip to content

Commit f064d48

Browse files
committed
chore: move issue templates to the correct folder
1 parent 903d0c5 commit f064d48

File tree

3 files changed

+78
-0
lines changed

3 files changed

+78
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Bug report
2+
description: Template for bug reports
3+
title: '[Bug]: '
4+
labels:
5+
- bug
6+
body:
7+
- type: input
8+
attributes:
9+
label: MQTTjs Version
10+
validations:
11+
required: true
12+
- type: input
13+
attributes:
14+
label: Broker
15+
description: >-
16+
The broker you are using (Aedes, Mosca, mosquitto, RabbitMQ, HiveMQ
17+
etc...)
18+
validations:
19+
required: true
20+
- type: dropdown
21+
attributes:
22+
label: Environment
23+
options:
24+
- NodeJS
25+
- Browser
26+
validations:
27+
required: true
28+
- type: textarea
29+
attributes:
30+
label: Description
31+
description: A clear and concise description of the problem
32+
validations:
33+
required: true
34+
- type: textarea
35+
attributes:
36+
label: Minimal Reproduction
37+
description: provide steps to reproduce the problem
38+
validations:
39+
required: true
40+
- type: textarea
41+
attributes:
42+
label: Debug logs
43+
description: Provide logs to help diagnose your issue
44+
placeholder: >-
45+
On NodeJS simply run your application using `DEBUG=mqttjs*` env var, on
46+
browsers you should enable `verbose` level in console or you can set
47+
`log` option to `console.log.bind(console)`
48+
validations:
49+
required: true
50+
- type: markdown
51+
attributes:
52+
value: >-
53+
This template was generated with [Issue Forms
54+
Creator](https://issue-forms-creator.netlify.app)

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: ❓ Ask a Question
4+
url: https://github.com/mqttjs/MQTT.js/discussions/new
5+
about: If you have any other questions, ask them here.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
labels: enhancement
5+
assignees: ''
6+
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
**Describe the solution you'd like**
13+
A clear and concise description of what you want to happen.
14+
15+
**Describe alternatives you've considered**
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
**Additional context**
19+
Add any other context or screenshots about the feature request here.

0 commit comments

Comments
 (0)