Skip to content

Commit 8bcacf3

Browse files
Update template.yaml
1 parent 301a7f8 commit 8bcacf3

File tree

1 file changed

+47
-7
lines changed

1 file changed

+47
-7
lines changed

.github/TEMPLATES/template.yaml

Lines changed: 47 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,51 @@
1-
name: Feedback / Bugs / Questions
2-
description: none
1+
name: Report a problem 🐛
2+
description: Problem reports are for when something behaves incorrectly, or differently from how you'd expect.
3+
labels: ["bug"]
34
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
- type: dropdown
10+
id: version
11+
attributes:
12+
label: Magpylib version
13+
description: What version of Magpylib are you running?
14+
options:
15+
- 5.x (Latest)
16+
- 5.x (Unreleased)
17+
- 4.x
18+
- 3.x
19+
- 2.x
20+
- 1.x
21+
validations:
22+
required: true
423
- type: textarea
5-
id: Feedback / Bugs / Questions
24+
id: what-happened
625
attributes:
7-
label: Feedback / Bugs / Questions
8-
placeholder: |
9-
For Bugs, if possible reduce to minimal example, post code, and Magpylib version.
26+
label: What happened?
27+
placeholder: Tell us what you see! Also tell us, what did you expect to happen?
1028
validations:
11-
required: true
29+
required: true
30+
- type: textarea
31+
id: code-example
32+
attributes:
33+
label: Code example
34+
description: |
35+
A complete, minimal, self-contained example code that reproduces the issue.
36+
This will be automatically formatted into code, so no need for backticks.
37+
placeholder: |
38+
import numpy as np
39+
import magpylib as magpy
40+
41+
cuboid = magpy.magnet.Cuboid(polarization=(0.,0.,1.), dimension=(1.,1.,1.))
42+
cuboid.move(np.linspace((0,0,0), (0,0,10), 11), start=0)
43+
cuboid.show()
44+
render: Python
45+
- type: textarea
46+
id: addition-context
47+
attributes:
48+
label: Additional context
49+
placeholder: |
50+
OS: [e.g. Linux 32bit, MacOs Monterey, Windows 10 64bit]
51+
IDE: [e.g. Spyder, PyCharm, VSCode, Jupyterlab]

0 commit comments

Comments
 (0)