Skip to content

Commit 08e7698

Browse files
committed
build: use issue forms for issue creation
1 parent 44ba424 commit 08e7698

File tree

9 files changed

+165
-114
lines changed

9 files changed

+165
-114
lines changed

.github/ISSUE_TEMPLATE/bug.md

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

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Bug Report
2+
description: Report a bug in Angular Material or the CDK
3+
title: "bug(COMPONENT): TITLE"
4+
labels: ["needs triage"]
5+
body:
6+
- type: checkboxes
7+
id: is-regression
8+
attributes:
9+
label: Is this a regression?
10+
description: Did this behavior use to work in the previous version?
11+
options:
12+
- label: Yes, this behavior used to work in the previous version
13+
- type: input
14+
id: version-bug-was-not-present
15+
attributes:
16+
label: The previous version in which this bug was not present was
17+
validations:
18+
required: false
19+
- type: textarea
20+
id: description
21+
attributes:
22+
label: Description
23+
description: A clear and concise description of the problem.
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: reproduction
28+
attributes:
29+
label: Reproduction
30+
description: |
31+
**Use StackBlitz to reproduce your issue:**
32+
- [Components](https://stackblitz.com/fork/components-issue)
33+
- [Harnesses](https://stackblitz.com/fork/harness-issue)
34+
value: |
35+
Steps to reproduce:
36+
1.
37+
2.
38+
validations:
39+
required: true
40+
- type: textarea
41+
id: expected-behavior
42+
attributes:
43+
label: Expected Behavior
44+
description: What behavior were you expecting to see?
45+
validations:
46+
required: true
47+
- type: textarea
48+
id: actual-behavior
49+
attributes:
50+
label: Actual Behavior
51+
description: What behavior did you actually see?
52+
validations:
53+
required: true
54+
- type: textarea
55+
id: environment
56+
attributes:
57+
label: Environment
58+
description: You can use `ng version` command.
59+
value: |
60+
- Angular:
61+
- CDK/Material:
62+
- Browser(s):
63+
- Operating System (e.g. Windows, macOS, Ubuntu):
64+
validations:
65+
required: true

.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: false
2+
contact_links:
3+
- name: Angular Framework
4+
url: https://github.com/angular/angular/issues/new
5+
about: Issues and feature requests for Angular Framework

.github/ISSUE_TEMPLATE/docs.md

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

.github/ISSUE_TEMPLATE/docs.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Documentation
2+
description: Suggest an improvement to our documentation at material.angular.io
3+
title: "docs-bug(COMPONENT): TITLE"
4+
labels: ["docs", "needs triage"]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Documentation Feedback
10+
description: |
11+
Provide a brief summary of what you would like to see changed in our documentation at [material.angular.io](https://material.angular.io/).
12+
Feel free to provide any suggestions of content or examples you’d like us to include.
13+
validations:
14+
required: true
15+
- type: input
16+
id: affected-documentation-page
17+
attributes:
18+
label: Affected documentation page
19+
description: Insert a link to the affected page on [material.angular.io](https://material.angular.io/).
20+
validations:
21+
required: true

.github/ISSUE_TEMPLATE/feature.md

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

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Feature
2+
description: Propose a new feature for Angular Material or the CDK
3+
title: "feat(COMPONENT): TITLE"
4+
labels: ["feature", "needs triage"]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Feature Description
10+
description: Provide a brief summary of the feature you would like to see.
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: use-case
15+
attributes:
16+
label: Use Case
17+
description: Describe the use case(s) that the proposed feature would enable.
18+
validations:
19+
required: false

.github/ISSUE_TEMPLATE/troubleshooting.md

Lines changed: 0 additions & 51 deletions
This file was deleted.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Troubleshooting
2+
description: Request for help on an issue you are facing with Angular Material or the CDK
3+
title: "help(COMPONENT): TITLE"
4+
labels: ["troubleshooting", "needs triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
The Angular team can't provide general troubleshooting help. However, the extended community of users can provide more help:
10+
- [StackOverflow](https://stackoverflow.com/questions/tagged/angular-material2)
11+
- [Gitter](https://gitter.im/angular/material2)
12+
- [Google Groups](https://groups.google.com/forum/#!forum/angular-material2)
13+
14+
Issues should capture only bug reports and feature requests. However, we understand that it is not always clear whether an issue is caused by a bug or incorrect usage of a feature/component.
15+
Most support requests will be automatically closed. If the answer is quickly obvious, though, we might be able to provide a brief answer.
16+
- type: textarea
17+
id: description
18+
attributes:
19+
label: What are you trying to do?
20+
validations:
21+
required: true
22+
- type: textarea
23+
id: troubleshooting-steps
24+
attributes:
25+
label: What troubleshooting steps have you tried?
26+
description: What are you seeing that does not match your expectations?
27+
validations:
28+
required: true
29+
- type: textarea
30+
id: reproduction
31+
attributes:
32+
label: Reproduction
33+
description: |
34+
We can only help if we can reproduce the problem ourselves.
35+
**Use StackBlitz to demonstrate what you are trying to do:**
36+
- [Components](https://stackblitz.com/fork/components-issue)
37+
- [Harnesses](https://stackblitz.com/fork/harness-issue)
38+
value: |
39+
Steps to reproduce:
40+
1.
41+
2.
42+
validations:
43+
required: true
44+
- type: textarea
45+
id: environment
46+
attributes:
47+
label: Environment
48+
description: You can use `ng version` command.
49+
value: |
50+
- Angular:
51+
- CDK/Material:
52+
- Browser(s):
53+
- Operating System (e.g. Windows, macOS, Ubuntu):
54+
validations:
55+
required: true

0 commit comments

Comments
 (0)