|
1 | 1 | name: Bug |
2 | 2 | description: Report an issue to help improve the project. |
| 3 | +title: '[BUG] <short-description-here>' |
3 | 4 | labels: bug |
4 | | -title: '[BUG] <description>' |
| 5 | + |
5 | 6 | body: |
| 7 | +- type: markdown |
| 8 | + id: preamble |
| 9 | + attributes: |
| 10 | + value: | |
| 11 | + **Thank you for reporting a problem about Manim Slides!** |
| 12 | +
|
| 13 | + If you know how to solve your problem, feel free to submit a PR too! |
| 14 | +
|
| 15 | + > ![WARNING] |
| 16 | + > Before reporting your bug, please make sure to: |
| 17 | + > |
| 18 | + > 1. create and activate virtual environment (venv); |
| 19 | + > 2. install `manim-slides` and the necessary dependencies; |
| 20 | + > 3. and reduce your Python to a minimal working example (MWE). |
| 21 | + > |
| 22 | + > You can skip the last step if your issue occurs during installation. |
| 23 | +
|
| 24 | +- type: checkboxes |
| 25 | + id: terms |
| 26 | + attributes: |
| 27 | + label: Terms |
| 28 | + description: 'By submitting this issue, I have:' |
| 29 | + options: |
| 30 | + - label: Checked the [existing issues](https://github.com/jeertmans/manim-slides/issues?q=is%3Aissue+label%3Adocumentation+) and [discussions](https://github.com/jeertmans/manim-slides/discussions) to see if my issue had not already been reported; |
| 31 | + required: true |
| 32 | + - label: Read the [installation instructions](https://manim-slides.eertmans.be/latest/installation.html); |
| 33 | + required: true |
| 34 | + - label: Created a virtual environment in which I can reproduce my bug; |
| 35 | + |
6 | 36 | - type: textarea |
7 | 37 | id: description |
8 | 38 | attributes: |
9 | | - label: Description |
10 | | - description: A brief description of the question or issue, also include what you tried and what didn't work |
| 39 | + label: Describe the issue |
| 40 | + description: A description of the issue, also include what you tried and what didn't work. |
11 | 41 | validations: |
12 | 42 | required: true |
| 43 | + |
13 | 44 | - type: textarea |
14 | | - id: version |
| 45 | + id: command |
15 | 46 | attributes: |
16 | | - label: Version |
17 | | - description: Which version of Manim Slides are you using? You can use `manim-slides --version` to get that information. |
| 47 | + label: Command |
| 48 | + description: | |
| 49 | + Enter the command that failed. |
| 50 | + This will be automatically formatted into code, so no need for backticks. |
| 51 | + render: shell |
18 | 52 | validations: |
19 | 53 | required: true |
| 54 | + |
| 55 | +- type: dropdown |
| 56 | + id: issue-type |
| 57 | + attributes: |
| 58 | + label: Issue Type |
| 59 | + description: > |
| 60 | + Please select the option in the drop-down. |
| 61 | + options: |
| 62 | + - Installation issue |
| 63 | + - Visual bug when presenting (`manim-slides present`) |
| 64 | + - Bug when presenting with HTML/PowerPoint/... format (`manim-slides convert`) |
| 65 | + - Other |
| 66 | + validations: |
| 67 | + required: true |
| 68 | + |
| 69 | +- type: textarea |
| 70 | + id: py-version |
| 71 | + attributes: |
| 72 | + label: Python version |
| 73 | + description: | |
| 74 | + Please copy and paste the output of `python --version`. |
| 75 | + Make sure to activate your virtual environment first (if any). |
| 76 | + This will be automatically formatted into code, so no need for backticks. |
| 77 | + placeholder: Python 3.11.8 |
| 78 | + render: shell |
| 79 | + validations: |
| 80 | + required: false |
| 81 | + |
20 | 82 | - type: textarea |
| 83 | + id: venv |
| 84 | + attributes: |
| 85 | + label: Python environment |
| 86 | + description: | |
| 87 | + Please copy and paste the output of `pip freeze`. |
| 88 | + Make sure to activate your virtual environment first (if any). |
| 89 | + This will be automatically formatted into code, so no need for backticks. |
| 90 | + placeholder: manim-slides render mwe.py MWE |
| 91 | + render: shell |
| 92 | + validations: |
| 93 | + required: false |
| 94 | + |
| 95 | +- type: dropdown |
21 | 96 | id: platform |
22 | 97 | attributes: |
23 | | - label: Platform |
24 | | - description: What is your platform. Linux, macOS, or Windows? |
| 98 | + label: What is your platform? |
| 99 | + multiple: true |
| 100 | + options: |
| 101 | + - Linux |
| 102 | + - macOS |
| 103 | + - Windows |
| 104 | + - Other (please precises below) |
25 | 105 | validations: |
26 | 106 | required: true |
| 107 | + |
| 108 | +- type: textarea |
| 109 | + id: platform-other |
| 110 | + attributes: |
| 111 | + label: Other platform |
| 112 | + description: Please answer if you have replied *Other* above. |
| 113 | + validations: |
| 114 | + required: false |
| 115 | + |
| 116 | +- type: textarea |
| 117 | + id: code |
| 118 | + attributes: |
| 119 | + label: Manim Slides Python code |
| 120 | + description: | |
| 121 | + Please copy and paste a minimal working example (MWE) of your Python code that can reproduce your bug. |
| 122 | + This will be automatically formatted into code, so no need for backticks. |
| 123 | + placeholder: | |
| 124 | + from manim import * |
| 125 | + from manim_slides.slide import Slide |
| 126 | +
|
| 127 | +
|
| 128 | + class MWE(Slide): |
| 129 | + def construct(self): |
| 130 | + circle = Circle(radius=2, color=RED) |
| 131 | + dot = Dot() |
| 132 | +
|
| 133 | + self.play(GrowFromCenter(circle)) |
| 134 | +
|
| 135 | + self.next_slide(loop=True) |
| 136 | + self.play(MoveAlongPath(dot, circle), run_time=0.5) |
| 137 | + self.next_slide() |
| 138 | +
|
| 139 | + self.play(dot.animate.move_to(ORIGIN)) |
| 140 | + render: python |
| 141 | + validations: |
| 142 | + required: false |
| 143 | + |
| 144 | +- type: textarea |
| 145 | + id: logs |
| 146 | + attributes: |
| 147 | + label: Relevant log output |
| 148 | + description: | |
| 149 | + Please copy and paste any relevant log output. |
| 150 | + This will be automatically formatted into code, so no need for backticks. |
| 151 | + render: shell |
| 152 | + validations: |
| 153 | + required: false |
| 154 | + |
27 | 155 | - type: textarea |
28 | 156 | id: screenshots |
29 | 157 | attributes: |
30 | 158 | label: Screenshots |
31 | | - description: Please add screenshots if applicable |
| 159 | + description: Please add screenshots if applicable. |
32 | 160 | validations: |
33 | 161 | required: false |
| 162 | + |
34 | 163 | - type: textarea |
35 | | - id: extrainfo |
| 164 | + id: extra-info |
36 | 165 | attributes: |
37 | 166 | label: Additional information |
38 | 167 | description: Is there anything else we should know about this bug? |
39 | 168 | validations: |
40 | 169 | required: false |
| 170 | + |
| 171 | +- type: textarea |
| 172 | + id: suggested-fix |
| 173 | + attributes: |
| 174 | + label: Recommended fix or suggestions |
| 175 | + description: A clear and concise description of how you want to update it. |
| 176 | + validations: |
| 177 | + required: false |
0 commit comments