Skip to content

Commit 1a786e4

Browse files
BashamegaHolgerJerominsaschanaz
authored
Added github issues templates (microsoft#1952)
Co-authored-by: Holger Jeromin <[email protected]> Co-authored-by: Kagami Sascha Rosylight <[email protected]>
1 parent 103f724 commit 1a786e4

File tree

2 files changed

+63
-0
lines changed

2 files changed

+63
-0
lines changed

.github/ISSUE_TEMPLATE/config.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
blank_issues_enabled: true
2+
issue_templates:
3+
- name: Web API type definition issue
4+
description: Report inconsistencies between TypeScript's web API typings and browser behavior.
5+
labels: [lib.d.ts bug]
6+
file: web_api_type_definition_issue.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: "Web API type definition issue"
2+
title: "[Web API type definition issue] "
3+
labels: [lib.d.ts bug]
4+
assignees: []
5+
description: "Report inconsistencies between TypeScript's web API typings and browser behavior."
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
## Web API Type Definition Issue
11+
Provide details of the issue.
12+
- type: input
13+
id: issue_summary
14+
attributes:
15+
label: "Summary"
16+
description: "Brief summary of the issue"
17+
placeholder: "e.g., Mismatch in event handling..."
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: expected_vs_actual
22+
attributes:
23+
label: "Expected vs. Actual Behavior"
24+
description: "Describe what you expected and what actually happened"
25+
placeholder: "Expected: ...\nActual: ..."
26+
validations:
27+
required: true
28+
- type: input
29+
id: playground_link
30+
attributes:
31+
label: "Playground Link"
32+
description: "Paste the TypeScript playground link"
33+
placeholder: "https://www.typescriptlang.org/play/..."
34+
- type: checkboxes
35+
id: browser_support
36+
attributes:
37+
label: "Browser Support"
38+
description: "Ensure that the API is supported in at least two major browser engines (not two Chromium-based browsers)."
39+
options:
40+
- label: "This API is supported in at least two major browser engines (not two Chromium-based browsers)."
41+
required: true
42+
- type: checkboxes
43+
id: tried_latest_releases
44+
attributes:
45+
label: "Have Tried The Latest Releases"
46+
description: "Make sure your problem is still reproducible on the latest releases."
47+
options:
48+
- label: "This issue applies to the latest release of TypeScript."
49+
required: true
50+
- label: "This issue applies to the latest release of `@types/web`."
51+
required: true
52+
- type: textarea
53+
id: additional_context
54+
attributes:
55+
label: "Additional Context"
56+
description: "Any extra information, logs, or references."
57+
placeholder: "Optional details..."

0 commit comments

Comments
 (0)