aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Gadola <giusgadola@gmail.com>2023-02-24 23:31:55 +0100
committerGiuseppe Gadola <giusgadola@gmail.com>2023-02-24 23:31:55 +0100
commit6978dcd53869c5c4f17fe3a86aa467a9c078d3c7 (patch)
tree518c3890391ce359b2192a115803924d0edeac47
parentchore: bug report templates (diff)
chore: update bug report issue
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md30
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.yml34
2 files changed, 34 insertions, 30 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index 695ed62..0000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,30 +0,0 @@
----
-name: Bug report
-about: Report an issue or bug
-title: ''
-labels: bug
-assignees: ''
-
----
-
-**Description**
-A clear and concise description of what the bug is.
-
-**To Reproduce**
-Steps to reproduce (commands used if any):
-1. Open nvim
-2. Run `:PetsNew`
-3. ...
-4. See error
-
-**Expected behavior**
-A clear and concise description of what you expected to happen (leave empty if self-explanatory)
-
-**Screenshots**
-If applicable, add screenshots to help explain your problem.
-
-**Your options:**
-Paste the options you use in the `setup` function, if any,
-
-**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 0000000..8a1a87c
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,34 @@
+name: Bug report
+about: Report an issue or bug
+title: ''
+labels: bug
+assignees: ''
+body:
+ - type: textarea
+ attributes:
+ label: "Description"
+ placeholder: "When I do this, this happens"
+ - type: textarea
+ attributes:
+ label: "Steps to reproduce"
+ placeholder: |
+ 1. Open nvim
+ 2. Run `:PetsNew`
+ 3. ...
+ - type: textarea
+ attributes:
+ label: "Description"
+ placeholder: "When I do this, this happens"
+ - type: textarea
+ attributes:
+ label: "Screenshots"
+ placeholder: "Insert screeenshots if necessary"
+ - type: textarea
+ attributes:
+ label: "Your options"
+ placeholder: "The options you use in the setup function"
+ render: "lua"
+ - type: textarea
+ attributes:
+ label: "Extra"
+ placeholder: "Any extra information"