mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-08-23 04:20:56 +08:00
chore(ci): rework issue templates (#456)
* chore(ci): rework issue templates Closes #406 * chore(ci): small fixes * up * add changelog entry
This commit is contained in:
157
.github/ISSUE_TEMPLATE/bug.yml
vendored
157
.github/ISSUE_TEMPLATE/bug.yml
vendored
@ -1,40 +1,177 @@
|
|||||||
name: Bug
|
name: Bug
|
||||||
description: Report an issue to help improve the project.
|
description: Report an issue to help improve the project.
|
||||||
|
title: '[BUG] <short-description-here>'
|
||||||
labels: bug
|
labels: bug
|
||||||
title: '[BUG] <description>'
|
|
||||||
body:
|
body:
|
||||||
|
- type: markdown
|
||||||
|
id: preamble
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
**Thank you for reporting a problem about Manim Slides!**
|
||||||
|
|
||||||
|
If you know how to solve your problem, feel free to submit a PR too!
|
||||||
|
|
||||||
|
> ![WARNING]
|
||||||
|
> Before reporting your bug, please make sure to:
|
||||||
|
>
|
||||||
|
> 1. create and activate virtual environment (venv);
|
||||||
|
> 2. install `manim-slides` and the necessary dependencies;
|
||||||
|
> 3. and reduce your Python to a minimal working example (MWE).
|
||||||
|
>
|
||||||
|
> You can skip the last step if your issue occurs during installation.
|
||||||
|
|
||||||
|
- type: checkboxes
|
||||||
|
id: terms
|
||||||
|
attributes:
|
||||||
|
label: Terms
|
||||||
|
description: 'By submitting this issue, I have:'
|
||||||
|
options:
|
||||||
|
- 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;
|
||||||
|
required: true
|
||||||
|
- label: Read the [installation instructions](https://manim-slides.eertmans.be/latest/installation.html);
|
||||||
|
required: true
|
||||||
|
- label: Created a virtual environment in which I can reproduce my bug;
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: description
|
id: description
|
||||||
attributes:
|
attributes:
|
||||||
label: Description
|
label: Describe the issue
|
||||||
description: A brief description of the question or issue, also include what you tried and what didn't work
|
description: A description of the issue, also include what you tried and what didn't work.
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: version
|
id: command
|
||||||
attributes:
|
attributes:
|
||||||
label: Version
|
label: Command
|
||||||
description: Which version of Manim Slides are you using? You can use `manim-slides --version` to get that information.
|
description: |
|
||||||
|
Enter the command that failed.
|
||||||
|
This will be automatically formatted into code, so no need for backticks.
|
||||||
|
render: shell
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
- type: dropdown
|
||||||
|
id: issue-type
|
||||||
|
attributes:
|
||||||
|
label: Issue Type
|
||||||
|
description: >
|
||||||
|
Please select the option in the drop-down.
|
||||||
|
options:
|
||||||
|
- Installation issue
|
||||||
|
- Visual bug when presenting (`manim-slides present`)
|
||||||
|
- Bug when presenting with HTML/PowerPoint/... format (`manim-slides convert`)
|
||||||
|
- Other
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
id: py-version
|
||||||
|
attributes:
|
||||||
|
label: Python version
|
||||||
|
description: |
|
||||||
|
Please copy and paste the output of `python --version`.
|
||||||
|
Make sure to activate your virtual environment first (if any).
|
||||||
|
This will be automatically formatted into code, so no need for backticks.
|
||||||
|
placeholder: Python 3.11.8
|
||||||
|
render: shell
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: venv
|
||||||
|
attributes:
|
||||||
|
label: Python environment
|
||||||
|
description: |
|
||||||
|
Please copy and paste the output of `pip freeze`.
|
||||||
|
Make sure to activate your virtual environment first (if any).
|
||||||
|
This will be automatically formatted into code, so no need for backticks.
|
||||||
|
placeholder: manim-slides render mwe.py MWE
|
||||||
|
render: shell
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|
||||||
|
- type: dropdown
|
||||||
id: platform
|
id: platform
|
||||||
attributes:
|
attributes:
|
||||||
label: Platform
|
label: What is your platform?
|
||||||
description: What is your platform. Linux, macOS, or Windows?
|
multiple: true
|
||||||
|
options:
|
||||||
|
- Linux
|
||||||
|
- macOS
|
||||||
|
- Windows
|
||||||
|
- Other (please precises below)
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: platform-other
|
||||||
|
attributes:
|
||||||
|
label: Other platform
|
||||||
|
description: Please answer if you have replied *Other* above.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: code
|
||||||
|
attributes:
|
||||||
|
label: Manim Slides Python code
|
||||||
|
description: |
|
||||||
|
Please copy and paste a minimal working example (MWE) of your Python code that can reproduce your bug.
|
||||||
|
This will be automatically formatted into code, so no need for backticks.
|
||||||
|
placeholder: |
|
||||||
|
from manim import *
|
||||||
|
from manim_slides.slide import Slide
|
||||||
|
|
||||||
|
|
||||||
|
class MWE(Slide):
|
||||||
|
def construct(self):
|
||||||
|
circle = Circle(radius=2, color=RED)
|
||||||
|
dot = Dot()
|
||||||
|
|
||||||
|
self.play(GrowFromCenter(circle))
|
||||||
|
|
||||||
|
self.next_slide(loop=True)
|
||||||
|
self.play(MoveAlongPath(dot, circle), run_time=0.5)
|
||||||
|
self.next_slide()
|
||||||
|
|
||||||
|
self.play(dot.animate.move_to(ORIGIN))
|
||||||
|
render: python
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: logs
|
||||||
|
attributes:
|
||||||
|
label: Relevant log output
|
||||||
|
description: |
|
||||||
|
Please copy and paste any relevant log output.
|
||||||
|
This will be automatically formatted into code, so no need for backticks.
|
||||||
|
render: shell
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: screenshots
|
id: screenshots
|
||||||
attributes:
|
attributes:
|
||||||
label: Screenshots
|
label: Screenshots
|
||||||
description: Please add screenshots if applicable
|
description: Please add screenshots if applicable.
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: extrainfo
|
id: extra-info
|
||||||
attributes:
|
attributes:
|
||||||
label: Additional information
|
label: Additional information
|
||||||
description: Is there anything else we should know about this bug?
|
description: Is there anything else we should know about this bug?
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: suggested-fix
|
||||||
|
attributes:
|
||||||
|
label: Recommended fix or suggestions
|
||||||
|
description: A clear and concise description of how you want to update it.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
56
.github/ISSUE_TEMPLATE/documentation.yml
vendored
56
.github/ISSUE_TEMPLATE/documentation.yml
vendored
@ -1,57 +1,61 @@
|
|||||||
name: Documentation
|
name: Documentation
|
||||||
description: Ask / Report an issue related to the documentation.
|
description: Ask / Report an issue related to the documentation.
|
||||||
title: 'DOC: <description>'
|
title: '[DOC] <short-description-here>'
|
||||||
labels: [bug, docs]
|
labels: docs
|
||||||
|
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
|
id: preamble
|
||||||
attributes:
|
attributes:
|
||||||
value: >
|
value: |
|
||||||
**Thank you for wanting to report a problem with manim-slides docs!**
|
**Thank you for reporting a problem about Manim Slides' documentation!**
|
||||||
|
|
||||||
|
If you know how to solve your problem, feel free to submit a PR too!
|
||||||
|
|
||||||
If the problem seems straightforward, feel free to submit a PR instead!
|
- type: checkboxes
|
||||||
|
id: terms
|
||||||
|
attributes:
|
||||||
⚠
|
label: Terms
|
||||||
Verify first that your issue is not already reported on GitHub [Issues].
|
description: 'By submitting this issue, I have:'
|
||||||
|
options:
|
||||||
|
- 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;
|
||||||
[Issues]:
|
required: true
|
||||||
https://github.com/jeertmans/manim-slides/issues
|
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
id: description
|
||||||
attributes:
|
attributes:
|
||||||
label: Describe the Issue
|
label: Describe the issue
|
||||||
description: A clear and concise description of the issue you encountered.
|
description: A clear and concise description of the issue you encountered.
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: input
|
- type: textarea
|
||||||
|
id: pages
|
||||||
attributes:
|
attributes:
|
||||||
label: Affected Page
|
label: Affected page(s)
|
||||||
description: Add a link to page with the problem.
|
description: Link to page(s) with the problem.
|
||||||
|
placeholder: |
|
||||||
|
+ https://manim-slides.eertmans.be/latest/installation.html
|
||||||
|
+ https://manim-slides.eertmans.be/latest/features_table.html
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
|
id: issue-type
|
||||||
attributes:
|
attributes:
|
||||||
label: Issue Type
|
label: Issue type
|
||||||
description: >
|
description: >
|
||||||
Please select the option in the drop-down.
|
Please select the option in the drop-down.
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>
|
|
||||||
<em>Issue?</em>
|
|
||||||
</summary>
|
|
||||||
</details>
|
|
||||||
options:
|
options:
|
||||||
- Documentation Enhancement
|
- Typo, spelling mistake, broken link, etc.
|
||||||
- Documentation Report
|
- Something is missing
|
||||||
|
- Documentation enhancement
|
||||||
|
- Other
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
id: suggested-fix
|
||||||
attributes:
|
attributes:
|
||||||
label: Recommended fix or suggestions
|
label: Recommended fix or suggestions
|
||||||
description: A clear and concise description of how you want to update it.
|
description: A clear and concise description of how you want to update it.
|
||||||
|
24
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
24
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
@ -1,8 +1,26 @@
|
|||||||
name: Feature Request
|
name: Feature request
|
||||||
description: Have a new idea/feature? Please suggest!
|
description: Have a new idea/feature? Please suggest!
|
||||||
|
title: '[FEATURE] <short-description-here>'
|
||||||
labels: enhancement
|
labels: enhancement
|
||||||
title: '[FEATURE] <description>'
|
|
||||||
body:
|
body:
|
||||||
|
- type: markdown
|
||||||
|
id: preamble
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
**Thank you for suggesting a new feature!**
|
||||||
|
|
||||||
|
If you know how to implement it, feel free to submit a PR too!
|
||||||
|
|
||||||
|
- type: checkboxes
|
||||||
|
id: terms
|
||||||
|
attributes:
|
||||||
|
label: Terms
|
||||||
|
description: 'By submitting this issue, I have:'
|
||||||
|
options:
|
||||||
|
- 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;
|
||||||
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: description
|
id: description
|
||||||
attributes:
|
attributes:
|
||||||
@ -10,6 +28,7 @@ body:
|
|||||||
description: A brief description of the enhancement you propose, also include what you tried and what worked.
|
description: A brief description of the enhancement you propose, also include what you tried and what worked.
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: screenshots
|
id: screenshots
|
||||||
attributes:
|
attributes:
|
||||||
@ -17,6 +36,7 @@ body:
|
|||||||
description: Please add screenshots if applicable
|
description: Please add screenshots if applicable
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: extrainfo
|
id: extrainfo
|
||||||
attributes:
|
attributes:
|
||||||
|
7
.github/ISSUE_TEMPLATE/issue_template.md
vendored
Normal file
7
.github/ISSUE_TEMPLATE/issue_template.md
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
name: Tracking issue
|
||||||
|
about: Use this template for issue not covered by other templates.
|
||||||
|
title: "[TRIAGE] <put-description-here>"
|
||||||
|
labels: tracking issue, needs triage
|
||||||
|
assignees: octocat
|
||||||
|
---
|
14
.github/ISSUE_TEMPLATE/support.yml
vendored
14
.github/ISSUE_TEMPLATE/support.yml
vendored
@ -1,14 +0,0 @@
|
|||||||
name: Question/Help/Support
|
|
||||||
description: Ask us about Manim Slides
|
|
||||||
title: 'Support: Ask us anything'
|
|
||||||
labels: [help, question]
|
|
||||||
|
|
||||||
body:
|
|
||||||
- type: textarea
|
|
||||||
attributes:
|
|
||||||
label: "Please explain the issue you're experiencing (with as much detail as possible):"
|
|
||||||
description: >
|
|
||||||
Please make sure to leave a reference to the document/code you're
|
|
||||||
referring to.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
10
.github/pull_request_template.md
vendored
10
.github/pull_request_template.md
vendored
@ -10,11 +10,13 @@
|
|||||||
|
|
||||||
<!-- Describe all the proposed changes in your PR -->
|
<!-- Describe all the proposed changes in your PR -->
|
||||||
|
|
||||||
## Check List (Check all the applicable boxes)
|
## Check List
|
||||||
|
|
||||||
- [ ] I understand that my contributions needs to pass the checks.
|
Check all the applicable boxes:
|
||||||
- [ ] If I created new functions / methods, I documented them and add type hints.
|
|
||||||
- [ ] If I modified already existing code, I updated the documentation accordingly.
|
- [ ] I understand that my contributions needs to pass the checks;
|
||||||
|
- [ ] If I created new functions / methods, I documented them and add type hints;
|
||||||
|
- [ ] If I modified already existing code, I updated the documentation accordingly;
|
||||||
- [ ] The title of my pull request is a short description of the requested changes.
|
- [ ] The title of my pull request is a short description of the requested changes.
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
Reference in New Issue
Block a user