Skip to content

Commit 566cc8c

Browse files
Lamparter0x5bfayaira2
authored
GitHub: Improved issue templates (#16354)
Co-authored-by: 0x5BFA <[email protected]> Co-authored-by: Yair <[email protected]>
1 parent 8f46dea commit 566cc8c

File tree

3 files changed

+41
-11
lines changed

3 files changed

+41
-11
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ type: 'Bug'
44
title: 'Bug: '
55
body:
66

7+
# Tip to warn of checking for existing issues
8+
- type: markdown
9+
attributes:
10+
value: |
11+
> [!TIP]
12+
> Have you checked for similar issues? There's a possibility the bug you are experiencing has already been reported. Please do a thorough search before creating a new issue.
13+
714
# Description
815
- type: textarea
916
attributes:
@@ -24,16 +31,6 @@ body:
2431
validations:
2532
required: true
2633

27-
# Requirements
28-
- type: textarea
29-
attributes:
30-
label: Requirements
31-
description: describe the expected behavior (eg. Fix crash that occurs when...). If left blank, the issue will likely be closed without discussion.
32-
value: |
33-
- e.g. Fix crash that occurs when...
34-
validations:
35-
required: true
36-
3734
# Files Version
3835
- type: input
3936
id: files_version
@@ -54,7 +51,7 @@ body:
5451
validations:
5552
required: true
5653

57-
# User ID
54+
# User ID
5855
- type: input
5956
id: user_id
6057
attributes:
@@ -64,6 +61,15 @@ body:
6461
validations:
6562
required: false
6663

64+
# Note that the user should always upload the report rather than pasting it.
65+
- type: markdown
66+
attributes:
67+
value: |
68+
> [!IMPORTANT]
69+
> Please **upload** the log file rather than pasting it here.
70+
>
71+
> Feel free to remove sensitive information such as your usernames or drive names.
72+
6773
# Log File
6874
- type: textarea
6975
attributes:

.github/ISSUE_TEMPLATE/code_quality_issue.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,31 @@ description: Create a code quality issue to help Files keep a clean codebase
33
type: 'Code quality'
44
title: 'Code Quality: '
55
body:
6+
7+
# Tip to warn of checking for existing issues
8+
- type: markdown
9+
attributes:
10+
value: |
11+
> [!TIP]
12+
> Have you checked for similar code quality issues? There's a possibility your suggestion is already being tracked. Please do a thorough search before creating a new issue.
13+
14+
# Issue body
615
- type: textarea
716
attributes:
817
label: Description
918
description: A clear and concise description of what the code quality issue is.
1019
validations:
1120
required: true
21+
22+
# Related code
1223
- type: textarea
1324
attributes:
1425
label: Concerned code
1526
description: A list of the different files and/or areas of the code concerned by the issue.
1627
validations:
1728
required: true
29+
30+
# Gains
1831
- type: textarea
1932
attributes:
2033
label: Gains
@@ -25,6 +38,8 @@ body:
2538
- eg. Clarifying the responsibility of class C.
2639
validations:
2740
required: true
41+
42+
# Requirements
2843
- type: textarea
2944
attributes:
3045
label: Requirements
@@ -33,6 +48,8 @@ body:
3348
- eg. Using a specific design pattern.
3449
- eg. Separating Interface I into three new interfaces I1, I2 and I3.
3550
- eg. Regrouping the duplicated process into a new helper.
51+
52+
# Remarks
3653
- type: textarea
3754
attributes:
3855
label: Comments

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ type: 'Feature request'
44
title: 'Feature: '
55
body:
66

7+
# Tip to warn of checking for existing issues
8+
- type: markdown
9+
attributes:
10+
value: |
11+
> [!TIP]
12+
>Have you checked for similar feature requests? There's a possibility your suggestion is already being tracked. Please do a thorough search before creating a new issue.
13+
714
# Description
815
- type: textarea
916
attributes:

0 commit comments

Comments
 (0)