Skip to content

Commit aa52283

Browse files
authored
Add GitHub issue forms (#292)
1 parent b241a22 commit aa52283

File tree

5 files changed

+141
-50
lines changed

5 files changed

+141
-50
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

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

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
name: Bug report
2+
description: Report a bug or issue. See closed issues before reporting to confirm issue has not been reported or resolved.
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
assignees: []
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: "#### Thank you for reporting this issue. Please provide all the required information to help us understand and resolve the issue."
10+
11+
- type: input
12+
id: bug-description
13+
attributes:
14+
label: "Description"
15+
description: "Provide a summary of the issue."
16+
placeholder: "Example: Adyen Checkout API returns an unexpected error when..."
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: reproduce-steps
22+
attributes:
23+
label: "Steps to reproduce"
24+
description: "List necessary steps to help us reproduce the issue."
25+
placeholder: |
26+
1. Install the Adyen API'...'
27+
2. Create '...'
28+
3. Import and use the NotificationRequest object '...'
29+
3. Run '...'
30+
4. Observer error '...'
31+
validations:
32+
required: true
33+
34+
- type: textarea
35+
id: actual-behavior
36+
attributes:
37+
label: "Actual behavior"
38+
description: "Describe what happened - the error or unexpected behaviour you see."
39+
placeholder: "Example: The API returns a 500 internal server error."
40+
41+
- type: textarea
42+
id: expected-behavior
43+
attributes:
44+
label: "Expected behavior"
45+
description: "Describe what you expected to happen."
46+
placeholder: "Example: The Adyen Checkout API should return a 200 status with the correct response payload."
47+
validations:
48+
required: true
49+
50+
- type: textarea
51+
id: code-snippet
52+
attributes:
53+
label: "Code snippet or screenshots (if applicable)"
54+
description: "Provide relevant code snippets or screenshots to illustrate the issue."
55+
placeholder: "```ruby\n// Your code here\n```"
56+
57+
- type: input
58+
id: adyen-api-version
59+
attributes:
60+
label: "Adyen Ruby API Library version"
61+
description: "Specify the version of the Adyen API library you're using."
62+
placeholder: "Example: 13.4.0"
63+
validations:
64+
required: true
65+
66+
- type: input
67+
id: ruby-version
68+
attributes:
69+
label: "Ruby language version"
70+
description: "Specify the Ruby version you're using."
71+
placeholder: "Example: Ruby 3.42"
72+
validations:
73+
required: true
74+
75+
- type: dropdown
76+
id: operating-system
77+
attributes:
78+
label: "Operating System"
79+
description: "Select your operating system."
80+
options:
81+
- Windows
82+
- macOS
83+
- Linux
84+
- Other
85+
validations:
86+
required: true
87+
88+
- type: textarea
89+
id: additional-context
90+
attributes:
91+
label: "Additional context"
92+
description: "Provide any other relevant details."
93+
placeholder: "Example: This issue started after updating to version X."

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Feature request
2+
description: Request a new feature or improvement. See open issues before requesting.
3+
title: "[Feature]: "
4+
labels: ["Feature"]
5+
assignees: []
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: "#### Is your feature request related to a problem? Please describe."
10+
11+
- type: input
12+
id: feature-summary
13+
attributes:
14+
label: "Feature summary"
15+
description: "Provide a short description of the feature request."
16+
placeholder: "Example: Add support for donation event."
17+
18+
- type: textarea
19+
id: problem-statement
20+
attributes:
21+
label: "Problem statement"
22+
description: "Explain the problem this feature aims to solve."
23+
placeholder: "Example: I have an issue with consuming the donations webhook."
24+
validations:
25+
required: true
26+
27+
- type: textarea
28+
id: proposed-solution
29+
attributes:
30+
label: "Proposed solution"
31+
description: "Describe how you want this feature to work."
32+
placeholder: "Example: Add Donation enum to ..."
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
id: alternatives
38+
attributes:
39+
label: "Alternatives considered"
40+
description: "Describe any alternative solutions you've explored."
41+
placeholder: "Example: I tried to extend the current namespace but ..."
42+
43+
- type: textarea
44+
id: additional-context
45+
attributes:
46+
label: "Additional context"
47+
description: "Provide any extra details, references, or screenshots."

0 commit comments

Comments
 (0)