Skip to content

Commit cf565a3

Browse files
committed
feat: add issue templates for bug reports and feature requests
1 parent c8a4e3c commit cf565a3

3 files changed

Lines changed: 161 additions & 0 deletions

File tree

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
name: Bug Report
2+
description: Report a bug or unexpected behaviour
3+
labels: ["bug", "triage"]
4+
body:
5+
- type: dropdown
6+
id: component
7+
attributes:
8+
label: Component
9+
description: Which component is affected?
10+
options:
11+
- CodeGeneration
12+
- Serialization
13+
- Models (generated)
14+
- FHIRPath
15+
- FHIRBundle (Symfony)
16+
- Other / Unsure
17+
validations:
18+
required: true
19+
20+
- type: dropdown
21+
id: fhir-version
22+
attributes:
23+
label: FHIR Version
24+
description: Which FHIR version are you working with?
25+
options:
26+
- R4
27+
- R4B
28+
- R5
29+
- Not applicable
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
id: description
35+
attributes:
36+
label: Description
37+
description: A clear and concise description of the bug.
38+
placeholder: What happened?
39+
validations:
40+
required: true
41+
42+
- type: textarea
43+
id: steps
44+
attributes:
45+
label: Steps to Reproduce
46+
description: Minimal steps to reproduce the behaviour.
47+
placeholder: |
48+
1. Run command '...'
49+
2. Pass this input '...'
50+
3. See error
51+
validations:
52+
required: true
53+
54+
- type: textarea
55+
id: expected
56+
attributes:
57+
label: Expected Behaviour
58+
description: What did you expect to happen?
59+
validations:
60+
required: true
61+
62+
- type: textarea
63+
id: actual
64+
attributes:
65+
label: Actual Behaviour
66+
description: What actually happened? Include error messages or stack traces if applicable.
67+
validations:
68+
required: true
69+
70+
- type: textarea
71+
id: environment
72+
attributes:
73+
label: Environment
74+
description: |
75+
Please provide your environment details.
76+
value: |
77+
- PHP version:
78+
- Symfony version:
79+
- Package version:
80+
- OS:
81+
validations:
82+
required: true
83+
84+
- type: textarea
85+
id: additional
86+
attributes:
87+
label: Additional Context
88+
description: Any other context, screenshots, or log output that might help.
89+
validations:
90+
required: false

.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: Questions & Discussions
4+
url: https://github.com/ardenexal/FHIR-Structure-Definition-php-generator/discussions
5+
about: Ask questions and discuss ideas in GitHub Discussions
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Feature Request
2+
description: Suggest a new feature or improvement
3+
labels: ["enhancement", "triage"]
4+
body:
5+
- type: dropdown
6+
id: component
7+
attributes:
8+
label: Component
9+
description: Which component does this relate to?
10+
options:
11+
- CodeGeneration
12+
- Serialization
13+
- Models (generated)
14+
- FHIRPath
15+
- FHIRBundle (Symfony)
16+
- New component
17+
- Other / Unsure
18+
validations:
19+
required: true
20+
21+
- type: dropdown
22+
id: fhir-version
23+
attributes:
24+
label: FHIR Version
25+
description: Which FHIR version does this relate to, if any?
26+
options:
27+
- R4
28+
- R4B
29+
- R5
30+
- All versions
31+
- Not applicable
32+
validations:
33+
required: true
34+
35+
- type: textarea
36+
id: problem
37+
attributes:
38+
label: Problem Statement
39+
description: What problem does this feature solve? Describe the use case or pain point.
40+
placeholder: I'm trying to ... but currently ...
41+
validations:
42+
required: true
43+
44+
- type: textarea
45+
id: solution
46+
attributes:
47+
label: Proposed Solution
48+
description: Describe what you'd like to happen. Include code examples or API sketches if relevant.
49+
validations:
50+
required: true
51+
52+
- type: textarea
53+
id: alternatives
54+
attributes:
55+
label: Alternatives Considered
56+
description: Any alternative solutions or workarounds you've considered.
57+
validations:
58+
required: false
59+
60+
- type: textarea
61+
id: additional
62+
attributes:
63+
label: Additional Context
64+
description: Any other context, mockups, or references that might help.
65+
validations:
66+
required: false

0 commit comments

Comments
 (0)