Skip to content

Commit 7615520

Browse files
authored
Merge pull request #34 from noi-techpark/Issue_Templates
Add issue templates (bug report and feature request)
2 parents 2f39ab4 + 6e98e4b commit 7615520

2 files changed

Lines changed: 118 additions & 0 deletions

File tree

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
name: Bug report
2+
description: Report something that is not working as expected.
3+
labels: ["bug"]
4+
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for reporting a problem with this project.
10+
Please answer the questions below as clearly as you can.
11+
12+
- type: textarea
13+
id: problem
14+
attributes:
15+
label: Problem description
16+
description: Clearly describe the problem you encountered.
17+
placeholder: What went wrong?
18+
validations:
19+
required: true
20+
21+
- type: input
22+
id: where
23+
attributes:
24+
label: Where did it happen?
25+
description: Page, module, API endpoint, or part of the system.
26+
placeholder: Station detail page, API /v2/stations, mobile app
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
id: how
32+
attributes:
33+
label: How did it happen?
34+
description: What were you doing when the issue occurred?
35+
placeholder: Steps or actions before the issue appeared
36+
validations:
37+
required: true
38+
39+
- type: textarea
40+
id: steps
41+
attributes:
42+
label: Steps to reproduce
43+
description: What do we need to do to reproduce the problem?
44+
placeholder: |
45+
1. Go to ...
46+
2. Click on ...
47+
3. See error ...
48+
validations:
49+
required: true
50+
51+
- type: textarea
52+
id: expected
53+
attributes:
54+
label: Expected behavior
55+
description: What did you expect to happen?
56+
validations:
57+
required: true
58+
59+
- type: textarea
60+
id: actual
61+
attributes:
62+
label: Actual behavior
63+
description: What actually happened?
64+
validations:
65+
required: true
66+
67+
- type: input
68+
id: reproduce
69+
attributes:
70+
label: Where can we reproduce it?
71+
description: URL, environment, or setup needed to reproduce the issue.
72+
placeholder: https://…, staging environment, mobile app vX.Y
73+
validations:
74+
required: true
75+
76+
- type: input
77+
id: environment
78+
attributes:
79+
label: Environment
80+
description: OS, browser, version, or other relevant details.
81+
placeholder: Windows 11, Chrome 129, API dev environment
82+
validations:
83+
required: false
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Feature request
2+
description: Suggest an idea or improvement for Open Data Hub.
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Thanks for taking the time to suggest a feature or improvement.
8+
Please provide as much detail as possible below.
9+
10+
- type: textarea
11+
id: problem
12+
attributes:
13+
label: Problem or use case
14+
description: Clearly describe the problem you are trying to solve or the use case.
15+
placeholder: What problem are you facing?
16+
validations:
17+
required: true
18+
19+
- type: textarea
20+
id: solution
21+
attributes:
22+
label: Proposed solution
23+
description: Describe the solution or feature you would like to see.
24+
placeholder: What would you like to happen?
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
id: alternatives
30+
attributes:
31+
label: Alternatives considered
32+
description: Describe any alternative solutions or features you have considered.
33+
placeholder: Any alternatives you thought about?
34+
validations:
35+
required: false

0 commit comments

Comments
 (0)