Skip to content

Commit 3703021

Browse files
committed
add bug report
1 parent e9bf422 commit 3703021

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
name: Bug Report
2+
description: Help us improve react-native-date-picker
3+
title: ''
4+
labels: []
5+
assignees: []
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for taking the time to fill out this bug report!
11+
- type: textarea
12+
id: bug-description
13+
attributes:
14+
label: Describe the bug
15+
description: A clear and concise description of what the bug is.
16+
placeholder: Tell us what happened...
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: expected-behavior
21+
attributes:
22+
label: Expected behavior
23+
description: A clear and concise description of what you expected to happen.
24+
placeholder: Tell us what should have happened...
25+
validations:
26+
required: true
27+
- type: textarea
28+
id: reproduction
29+
attributes:
30+
label: To Reproduce
31+
description: Add example code that reproduces the behavior.
32+
placeholder: |
33+
```javascript
34+
export default class App extends Component {
35+
state = { date: new Date() }
36+
37+
render = () =>
38+
<DatePicker
39+
date={this.state.date}
40+
onDateChange={date => this.setState({ date })}
41+
/>
42+
}
43+
```
44+
render: javascript
45+
validations:
46+
required: true
47+
- type: checkboxes
48+
id: os
49+
attributes:
50+
label: Operating System
51+
description: Which operating system(s) are you seeing this issue on?
52+
options:
53+
- label: Android
54+
- label: iOS
55+
validations:
56+
required: true
57+
- type: input
58+
id: rn-version
59+
attributes:
60+
label: React Native Version
61+
description: What version of React Native are you using?
62+
placeholder: e.g. 0.69.4
63+
validations:
64+
required: true
65+
- type: input
66+
id: expo-version
67+
attributes:
68+
label: Expo Version (if applicable)
69+
description: If you're using Expo, what version are you using?
70+
placeholder: e.g. 48.0.0
71+
validations:
72+
required: false
73+
- type: input
74+
id: package-version
75+
attributes:
76+
label: react-native-date-picker version
77+
description: What version of react-native-date-picker are you using?
78+
placeholder: e.g. 4.2.6
79+
validations:
80+
required: true
81+
- type: checkboxes
82+
id: architecture
83+
attributes:
84+
label: React Native Architecture
85+
description: Which React Native architecture are you using?
86+
options:
87+
- label: Old Architecture (Paper)
88+
- label: New Architecture (Fabric)
89+
validations:
90+
required: true
91+
- type: textarea
92+
id: logs
93+
attributes:
94+
label: Relevant log output
95+
description: Please copy and paste any relevant log output. This will be automatically formatted into code.
96+
render: shell

0 commit comments

Comments
 (0)