From 1825f9f994cc87e725a701ed1f93720d4ff8f43a Mon Sep 17 00:00:00 2001 From: German Date: Thu, 13 Oct 2022 22:05:15 +0200 Subject: [PATCH] Improvements to template --- .github/ISSUE_TEMPLATE/bug.yml | 45 +++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 24bd017c468..d729033d46b 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -27,7 +27,8 @@ body: id: bug-description attributes: label: Description of the bug - placeholder: Describe what bug you encountered and what should have happened + placeholder: Describe what bug you encountered and what should have happened. + value: "A bug happened!" validations: required: true @@ -35,7 +36,7 @@ body: id: steps-to-reproduce attributes: label: Steps To Reproduce - placeholder: | + description: | Please write the steps in a list form e.g.: * Install this package... * Run this input file (attached) @@ -47,6 +48,22 @@ body: ``` * Check obtained error... + value: | + Steps: + * First I did... + * ... + + And I ran the following code: + + ```py + + from ansys.mapdl.core import launch_mapdl + mapdl = launch_mapdl() + + # Insert your code here + + ``` + validations: required: true @@ -85,10 +102,18 @@ body: attributes: label: PyMAPDL Report description: Run `python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())"` to get the PyMAPDL Report - placeholder: | + value: | +
+ Show the Report! + + ```text - Paste the output of `python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())"` here + + # PASTE HERE THE OUTPUT OF `python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())"` here + ``` +
+ validations: required: true @@ -97,9 +122,17 @@ body: attributes: label: Installed packages description: Run `python -m pip freeze` to list installed packages - placeholder: | + value: | +
+ Show the installed packages! + + ```text - Paste the output of `python -m pip freeze` here + + # PASTE HERE THE OUTPUT OF `python -m pip freeze` here + ``` +
+ validations: required: true \ No newline at end of file