Skip to content

Commit afad3a7

Browse files
committed
Switch from issue templates to issue forms
1 parent 084db0c commit afad3a7

4 files changed

Lines changed: 71 additions & 42 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Bug report
2+
description: Report issues affecting the framework or the documentation
3+
body:
4+
- type: checkboxes
5+
attributes:
6+
label: Checklist
7+
options:
8+
- label: I am sure the error is coming from Pyrogram's code and not elsewhere
9+
required: true
10+
- label: I have searched in the issue tracker for similar bug reports, including closed ones
11+
required: true
12+
- label: I ran `pip3 install -U https://github.com/pyrogram/pyrogram/archive/master.zip` and reproduced the issue using the latest development version
13+
required: true
14+
15+
- type: textarea
16+
attributes:
17+
label: Description
18+
description: Provide a clear and concise description of the issue
19+
placeholder: Description...
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
attributes:
25+
label: Steps to reproduce
26+
description: Explain precisely how to reproduce the issue
27+
placeholder: |
28+
1.
29+
2.
30+
3.
31+
validations:
32+
required: true
33+
34+
- type: textarea
35+
attributes:
36+
label: Code example
37+
description: Provide a [minimal, reproducible](https://stackoverflow.com/help/minimal-reproducible-example) and properly formatted example (if applicable)
38+
placeholder: |
39+
from pyrogram import Client
40+
...
41+
render: python
42+
43+
- type: textarea
44+
attributes:
45+
label: Logs
46+
description: Provide the complete traceback (if applicable)
47+
placeholder: |
48+
Traceback (most recent call last):
49+
File "main.py", line 1, in <module>
50+
...
51+
render: shell

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Feature request
2+
description: Suggest ideas, new features or enhancements
3+
labels: [enhancement]
4+
body:
5+
- type: checkboxes
6+
attributes:
7+
label: Checklist
8+
options:
9+
- label: I believe the idea is awesome and would benefit the framework
10+
required: true
11+
- label: I have searched in the issue tracker for similar requests, including closed ones
12+
required: true
13+
14+
- type: textarea
15+
attributes:
16+
label: Description
17+
description: Provide a detailed description of the request
18+
placeholder: Description...
19+
validations:
20+
required: true

0 commit comments

Comments
 (0)