Skip to content

Commit 5d34de8

Browse files
Panquesito7github-actions
andauthored
feat: Convert all issue templates into issue forms (TheAlgorithms#1545)
* feat: Convert all issue templates into issue... ...forms. Also disables blank issues and adds an `Other` template for generic issues but no blank issues. * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parent f34f93e commit 5d34de8

File tree

7 files changed

+126
-53
lines changed

7 files changed

+126
-53
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

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

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Bug report
2+
description: Create a report to help us improve. Report bugs found while using the project
3+
title: "[BUG]"
4+
labels: [bug]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: "Provide a general summary of the issue in the Title above"
9+
- type: textarea
10+
id: description
11+
attributes:
12+
label: Description
13+
description: Provide a general summary of the issue in the Title above
14+
validations:
15+
required: true
16+
- type: input
17+
id: expectedbhv
18+
attributes:
19+
label: Expected behavior
20+
description: Tell us what should happen
21+
validations:
22+
required: true
23+
- type: input
24+
id: actualbhv
25+
attributes:
26+
label: Actual behavior
27+
description: Tell us what happens instead
28+
validations:
29+
required: true
30+
- type: input
31+
id: possiblefix
32+
attributes:
33+
label: Possible fix
34+
description: Not obligatory, but suggest a fix or reason for the bug
35+
validations:
36+
required: false
37+
- type: textarea
38+
id: steps
39+
attributes:
40+
label: Steps to reproduce
41+
description: |
42+
Provide a link to a live example, or an unambiguous set of steps to
43+
reproduce this bug. Include code to reproduce, if relevant
44+
placeholder: |
45+
1.
46+
2.
47+
3.
48+
4.
49+
validations:
50+
required: true
51+
- type: textarea
52+
id: context
53+
attributes:
54+
label: Context
55+
description: How has this bug affected you? What were you trying to accomplish?
56+
validations:
57+
required: true
58+
- type: textarea
59+
id: extrainformation
60+
attributes:
61+
label: Additional information
62+
description: Is there anything else we should know about this bug?
63+
validations:
64+
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 & 20 deletions
This file was deleted.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Feature request
2+
description: Suggest features, propose improvements, discuss new ideas.
3+
title: "[FEATURE]"
4+
labels: [enhancement]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: Provide a general summary of the issue in the Title above
9+
- type: textarea
10+
id: description
11+
attributes:
12+
label: Detailed description
13+
description: Provide a detailed description of the change or addition you are proposing
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: context
18+
attributes:
19+
label: Context
20+
description: |
21+
Why is this change important to you? How would you use it?
22+
How can it benefit other users?
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: possibleimpl
27+
attributes:
28+
label: Possible implementation
29+
description: Not obligatory, but suggest an idea for implementing addition or change
30+
validations:
31+
required: false
32+
- type: textarea
33+
id: extrainformation
34+
attributes:
35+
label: Additional information
36+
description: Is there anything else we should know about this feature?
37+
validations:
38+
required: false

.github/ISSUE_TEMPLATE/other.yml

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: [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

DIRECTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@
267267
* [Binary Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/search/binary_search.cpp)
268268
* [Exponential Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/search/exponential_search.cpp)
269269
* [Fibonacci Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/search/fibonacci_search.cpp)
270+
* [Floyd Cycle Detection Algo](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/search/floyd_cycle_detection_algo.cpp)
270271
* [Hash Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/search/hash_search.cpp)
271272
* [Interpolation Search](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/search/interpolation_search.cpp)
272273
* [Interpolation Search2](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/search/interpolation_search2.cpp)

0 commit comments

Comments
 (0)