Skip to content

Commit 59a1283

Browse files
update issue template (#367)
Co-authored-by: alex chow <zhouchuanglin@gmail.com>
1 parent 4ea7b9e commit 59a1283

6 files changed

Lines changed: 123 additions & 42 deletions

File tree

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: 🐞 Bug Report
2+
description: File a bug/issue
3+
title: "[BUG] <title>"
4+
labels: [bug]
5+
body:
6+
- type: checkboxes
7+
attributes:
8+
label: Is there an existing issue for this?
9+
description: Please search to see if an issue already exists for the bug you encountered ([BootstrapBlazor/issues](https://github.com/dotnetcore/BootstrapBlazor/issues?q=is%3Aissue)).
10+
options:
11+
- label: I have searched the existing issues
12+
required: true
13+
- type: textarea
14+
attributes:
15+
label: Describe the bug
16+
description: A clear and concise description of what the bug is.
17+
validations:
18+
required: true
19+
- type: textarea
20+
attributes:
21+
label: Expected Behavior
22+
description: A clear and concise description of what you expected to happen.
23+
validations:
24+
required: false
25+
- type: textarea
26+
attributes:
27+
label: Steps To Reproduce
28+
description: |
29+
We ❤ code! Point us to a [minimalistic project which reproduces this issue (repro)](https://github.com/dotnet/aspnetcore/blob/main/docs/repro.md) hosted in a public GitHub repo.
30+
31+
We will close this issue if:
32+
- The repro project you share with us is complex. We can't investigate custom projects, so don't point us to such, please.
33+
- If we will not be able to repro the behavior you're reporting.
34+
- If the repro project is attached as a `.zip` file.
35+
- If the GitHub repro project is set to `Private`.
36+
validations:
37+
required: false
38+
- type: textarea
39+
attributes:
40+
label: Exceptions (if any)
41+
description: Include the exception you get when facing this issue.
42+
placeholder:
43+
validations:
44+
required: false
45+
- type: input
46+
attributes:
47+
label: .NET Version
48+
description: |
49+
Run `dotnet --version`
50+
validations:
51+
required: false
52+
- type: textarea
53+
attributes:
54+
label: Anything else?
55+
description: |
56+
- ASP.NET Core version:
57+
- The IDE (VS / VS Code/ VS4Mac) you're running on, and its version:
58+
- Include the output of `dotnet --info`:
59+
60+
Links? References? Anything that will give us more context about the issue you are encountering!
61+
62+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
63+
validations:
64+
required: false
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: 💡 Feature Request
2+
description: Suggest an idea for this project
3+
body:
4+
- type: checkboxes
5+
attributes:
6+
label: Is there an existing issue for this?
7+
description: Please search to see if an issue already exists for the feature you are requesting. (https://github.com/dotnetcore/BootstrapBlazor/issues).
8+
options:
9+
- label: I have searched the existing issues
10+
required: true
11+
- type: textarea
12+
attributes:
13+
label: Is your feature request related to a problem? Please describe the problem.
14+
description: A clear and concise description of what the problem is.
15+
placeholder: I am trying to do [...] but [...]
16+
validations:
17+
required: false
18+
- type: textarea
19+
attributes:
20+
label: Describe the solution you'd like
21+
description: |
22+
A clear and concise description of what you want to happen. Include any alternative solutions you've considered.
23+
validations:
24+
required: true
25+
- type: textarea
26+
attributes:
27+
label: Additional context
28+
description: |
29+
Add any other context or screenshots about the feature request here.
30+
validations:
31+
required: false
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: 🧪 Test
2+
description: Unit test for this project
3+
title: "test: <title>"
4+
labels: [test]
5+
assignees:
6+
- argozhang
7+
body:
8+
- type: textarea
9+
attributes:
10+
label: Which class is this unit test associated with?
11+
description: Add unit test for code coverage.
12+
validations:
13+
required: false

.github/ISSUE_TEMPLATE/bug_report.md

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

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: 'Auto Milestone Assign'
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
7+
jobs:
8+
assign-milestone:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: zoispag/action-assign-milestone@v1.1.0
13+
with:
14+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
15+
milestone: "${{ secrets.MILESTONE_VERSION }}"

0 commit comments

Comments
 (0)