Skip to content

Commit dfe733f

Browse files
author
Debasish Biswas
authored
Convert Issue Template to Issue form (TheAlgorithms#3641)
1 parent 1a391c2 commit dfe733f

File tree

6 files changed

+104
-48
lines changed

6 files changed

+104
-48
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: "Bug report"
2+
description: "Create a report to help us improve"
3+
title: "[BUG]"
4+
labels: ["bug"]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: "Description"
10+
description: "A clear and concise description of what the bug is."
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: steps
15+
attributes:
16+
label: "Steps to reproduce"
17+
description: "Steps to reproduce the behavior (if applicable)"
18+
placeholder: |
19+
1. Go to '...'
20+
2. Click on '....'
21+
3. Scroll down to '....'
22+
4. See error
23+
validations:
24+
required: false
25+
- type: textarea
26+
id: exceptedbhv
27+
attributes:
28+
label: "Excepted behavior"
29+
description: "A clear and concise description of what you expected to happen."
30+
validations:
31+
required: true
32+
- type: textarea
33+
id: screenshots
34+
attributes:
35+
label: "Screenshots"
36+
description: "If applicable, add screenshots to help explain your problem."
37+
validations:
38+
required: false
39+
- type: textarea
40+
id: context
41+
attributes:
42+
label: "Additional context"
43+
description: "Add any other context about the problem here."
44+
validations:
45+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: "Feature Request"
2+
description: "Suggest an idea for this project"
3+
title: "[FEATURE REQUEST]"
4+
labels: ["feature_request"]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: What would you like to Propose?
10+
description: Provide a clear and concise explanation of your Proposal.
11+
validations:
12+
required: true
13+
- type: markdown
14+
attributes:
15+
value: |
16+
"
17+
For new implementations, please specify the name and problem statement for the algorithm.
18+
For algorithm enhancements, specify what needs to be changed and why. For example:
19+
- Adding tests.
20+
- Optimizing logic.
21+
- Refactoring the file and folders for better structure.
22+
"
23+
- type: textarea
24+
id: needdetails
25+
attributes:
26+
label: "Issue details"
27+
description: "Write down all the issue/algorithm details description mentioned above."
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: extrainfo
32+
attributes:
33+
label: "Additional Information"
34+
description: "Add any other Information or Screenshot about the request here."
35+
validations:
36+
required: false
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Other
2+
description: Use this for any other issues. Do NOT create blank issues
3+
title: "[OTHER]"
4+
labels: ["awaiting triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: "# Other issue"
9+
- type: textarea
10+
id: issuedescription
11+
attributes:
12+
label: What would you like to share?
13+
description: Provide a clear and concise explanation of your issue.
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: extrainfo
18+
attributes:
19+
label: Additional information
20+
description: Is there anything else we should know about this issue?
21+
validations:
22+
required: false

0 commit comments

Comments
 (0)