Skip to content

Commit edd9c23

Browse files
committed
chore: add issue templete
1 parent 336e2b5 commit edd9c23

File tree

4 files changed

+149
-0
lines changed

4 files changed

+149
-0
lines changed
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
name: Bug report
2+
description: Create a report to help us improve CodeIgniter Shield
3+
title: "Bug: "
4+
labels: ['bug']
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for taking the time to fill out this bug report!
11+
12+
Before you begin, **please ensure that there are no existing issues,
13+
whether still open or closed, related to your report**.
14+
If there is, your report will be closed promptly.
15+
16+
For example, if you get the error "*Can't find a route for 'post: login'*",
17+
you can search the GitHub repository with the keyword "[Can't find a route for](https://github.com/codeigniter4/shield/issues?q=Can%27t+find+a+route+for)".
18+
19+
---
20+
21+
- type: dropdown
22+
id: php-version
23+
attributes:
24+
label: PHP Version
25+
description: Which PHP versions did you run your code?
26+
multiple: true
27+
options:
28+
- '7.4'
29+
- '8.0'
30+
- '8.1'
31+
validations:
32+
required: true
33+
34+
- type: input
35+
id: codeigniter-version
36+
attributes:
37+
label: CodeIgniter4 Version
38+
description: |
39+
e.g. 4.2.2
40+
validations:
41+
required: true
42+
43+
- type: input
44+
id: shield-version
45+
attributes:
46+
label: Shield Version
47+
description: |
48+
e.g. 1.0.0-beta.2
49+
If you are not using the [latest version](https://github.com/codeigniter4/shield/releases), please
50+
check to see if the problem occurs with the latest version.
51+
validations:
52+
required: true
53+
54+
- type: dropdown
55+
id: operating-systems
56+
attributes:
57+
label: Which operating systems have you tested for this bug?
58+
description: You may select more than one.
59+
multiple: true
60+
options:
61+
- macOS
62+
- Windows
63+
- Linux
64+
validations:
65+
required: true
66+
67+
- type: dropdown
68+
id: server
69+
attributes:
70+
label: Which server did you use?
71+
options:
72+
- apache
73+
- cli
74+
- cli-server (PHP built-in webserver)
75+
- cgi-fcgi
76+
- fpm-fcgi
77+
- phpdbg
78+
validations:
79+
required: true
80+
81+
- type: input
82+
id: database
83+
attributes:
84+
label: Database
85+
description: e.g. MySQL 5.6, MariaDB 10.2, PostgreSQL 9.6
86+
validations:
87+
required: false
88+
89+
- type: textarea
90+
id: description
91+
attributes:
92+
label: What happened?
93+
placeholder: Tell us what you see!
94+
validations:
95+
required: true
96+
97+
- type: textarea
98+
attributes:
99+
label: Steps to Reproduce
100+
description: Steps to reproduce the behavior.
101+
validations:
102+
required: true
103+
104+
- type: textarea
105+
attributes:
106+
label: Expected Output
107+
description: What do you expect to happen instead of this filed bug?
108+
validations:
109+
required: true
110+
111+
- type: textarea
112+
attributes:
113+
label: Anything else?
114+
description: |
115+
Links? References? Anything that will give us more context about the issue you are encountering!
116+
117+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
118+
validations:
119+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: GitHub Discussions
4+
url: https://github.com/codeigniter4/shield/discussions
5+
about: Please ask your support questions in the Discussions. Thanks!
6+
7+
- name: CodeIgniter Slack channel
8+
url: https://codeigniterchat.slack.com
9+
about: Engage with other members of the community in our Slack channel.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Feature request
3+
about: How to submit a feature request
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
Please submit feature requests to [Discussions](https://github.com/codeigniter4/shield/discussions/categories/ideas).
11+
We use GitHub Issues to track bugs and planned work.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Planned work
3+
about: Approved work planning
4+
title: 'Dev: '
5+
labels: dev
6+
assignees: ''
7+
8+
---
9+
10+
Repo maintainers will create "issues" for planned work, so it can be tracked.

0 commit comments

Comments
 (0)