Skip to content

Commit c109000

Browse files
committed
Auto merge of #4243 - Turbo87:issue-templates, r=Turbo87
Update issue templates As the commit messages say, this PR replaces the "Feature request" issue template with a link to the "Discussions" tab and the "Bug report" issue template with an issue form (see https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms)
2 parents f070929 + 6cba992 commit c109000

File tree

4 files changed

+57
-58
lines changed

4 files changed

+57
-58
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

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

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Bug report
2+
description: Create a report to help us improve
3+
labels: ['C-bug']
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Current Behavior
8+
description: A concise description of what you're experiencing.
9+
validations:
10+
required: true
11+
12+
- type: textarea
13+
attributes:
14+
label: Expected Behavior
15+
description: A concise description of what you expected to happen.
16+
validations:
17+
required: true
18+
19+
- type: textarea
20+
attributes:
21+
label: Steps To Reproduce
22+
description: Steps to reproduce the behavior.
23+
placeholder: |
24+
1. Go to '...'
25+
2. Click on '....'
26+
3. Scroll down to '....'
27+
4. See error
28+
validations:
29+
required: false
30+
31+
- type: textarea
32+
attributes:
33+
label: Environment
34+
description: |
35+
examples:
36+
- **Browser**: Safari 15.1
37+
- **OS**: macOS 11.6.1
38+
value: |
39+
- Browser:
40+
- OS:
41+
validations:
42+
required: false
43+
44+
- type: textarea
45+
attributes:
46+
label: Anything else?
47+
description: |
48+
Links? References? Anything that will give us more context about the issue you are encountering!
49+
50+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
51+
validations:
52+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Feature request
4+
about: Suggest an idea for this project
5+
url: https://github.com/rust-lang/crates.io/discussions/new

.github/ISSUE_TEMPLATE/feature_request.md

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

0 commit comments

Comments
 (0)