Skip to content

Collection of handy online tools for developers, with great UX.

chore(issues): improved bug issue template (#1046)

Corentin THOMASSETa7992340f705
diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md
deleted file mode 100644
index c4bf532b..00000000
--- a/.github/ISSUE_TEMPLATE/bug-report.md
+++ /dev/null
@@ -1,34 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve our tools
-title: '[BUG] '
-labels: bug
-assignees: CorentinTh
----
-
-**Which tool is impacted?**
-Example: the token generator
-
-**To Reproduce**
-Steps to reproduce the behavior:
-
-1. Go to '...'
-2. Click on '....'
-3. Scroll down to '....'
-4. See error
-
-**Expected behavior**
-A clear and concise description of what you expected to happen.
-
-**Screenshots**
-If applicable, add screenshots to help explain your problem.
-
-**Configuration (please complete the following information):**
-
-- Device: [e.g. iPhone6, ]
-- OS: [e.g. iOS]
-- Browser [e.g. chrome, safari]
-- Version [e.g. 22]
-
-**Additional context**
-Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
new file mode 100644
index 00000000..fb9964d1
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -0,0 +1,48 @@
+name: Bug Report
+description: File a bug report.
+labels: ['bug', 'triage']
+assignees:
+ - CorentinTh
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for taking the time to fill out this bug report!
+
+ - type: textarea
+ id: bug-description
+ attributes:
+ label: Describe the bug
+ description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
+ placeholder: Bug description
+ validations:
+ required: true
+
+ - type: textarea
+ id: what-happened
+ attributes:
+ label: What happened?
+ description: Also tell us, what did you expect to happen? If you have a screenshot, you can paste it here.
+ placeholder: Tell us what you see!
+ value: 'A bug happened!'
+ validations:
+ required: true
+
+ - type: textarea
+ id: version
+ attributes:
+ label: System information
+ description: What is you environment? You can use the `npx envinfo --system --browsers` command to get this information.
+ validations:
+ required: true
+
+ - type: dropdown
+ id: app-type
+ attributes:
+ label: Where did you encounter the bug?
+ options:
+ - Public app (it-tools.tech)
+ - Self hosting
+ - Other (installations, docker, etc.)
+ validations:
+ required: true