Skip to content

Commit 26e1576

Browse files
authored
update issue templates
1 parent ddbe3a0 commit 26e1576

5 files changed

Lines changed: 113 additions & 44 deletions

File tree

‎.github/ISSUE_TEMPLATE/bug_report.md‎

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: Bug report
2+
description: Something doesn't behave as expected
3+
type: Bug
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for reporting this! A short script that shows the problem helps us a lot. For questions about using ImageScript, our [Discord](https://discord.gg/8hPrwAH) is a great place.
9+
10+
- type: dropdown
11+
id: area
12+
attributes:
13+
label: What is affected?
14+
options:
15+
- Decoding or encoding an image format
16+
- Image manipulation (resize, crop, rotate, filters, color)
17+
- Compositing or drawing
18+
- Animation (GIF, APNG, WebP)
19+
- Text rendering
20+
- SVG rendering
21+
- Performance or memory usage
22+
- Something else
23+
validations:
24+
required: true
25+
26+
- type: input
27+
id: version
28+
attributes:
29+
label: ImageScript version
30+
placeholder: "3.13.1"
31+
validations:
32+
required: true
33+
34+
- type: input
35+
id: runtime
36+
attributes:
37+
label: Runtime and version
38+
placeholder: "Node.js 22.13, Deno 2.1, Bun 1.2, Chrome 130, Cloudflare Workers, ..."
39+
validations:
40+
required: true
41+
42+
- type: textarea
43+
id: what-happened
44+
attributes:
45+
label: What happened, and what did you expect?
46+
description: Screenshots of the result are welcome.
47+
validations:
48+
required: true
49+
50+
- type: textarea
51+
id: reproduction
52+
attributes:
53+
label: Code to reproduce
54+
render: javascript
55+
placeholder: |
56+
import { Image } from 'imagescript';
57+
58+
const image = new Image(64, 64);
59+
// ...
60+
validations:
61+
required: true
62+
63+
- type: textarea
64+
id: files
65+
attributes:
66+
label: Files
67+
description: |
68+
Input images, fonts or SVGs that are needed to reproduce the problem. You can drag and drop them here.
69+
GitHub doesn't accept every format (for example AVIF, JPEG XL or TIFF), so those work best inside a `.zip`.
70+
71+
- type: textarea
72+
id: logs
73+
attributes:
74+
label: Error output
75+
description: Stack trace or console output, if there is any.
76+
render: shell

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Questions and help
4+
url: https://discord.gg/8hPrwAH
5+
about: Ask about using ImageScript in our Discord server.
6+
- name: Security vulnerability
7+
url: https://github.com/imagescript/ImageScript/security/advisories/new
8+
about: Report security issues privately through a GitHub security advisory.

‎.github/ISSUE_TEMPLATE/feature_request.md‎

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Feature request
2+
description: Suggest a new function, option or format
3+
type: Feature
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for sharing your idea! Knowing what you're trying to build helps us find the best way to support it.
9+
10+
- type: textarea
11+
id: use-case
12+
attributes:
13+
label: What are you trying to do?
14+
description: Describe your use case and where ImageScript doesn't cover it yet.
15+
validations:
16+
required: true
17+
18+
- type: textarea
19+
id: proposal
20+
attributes:
21+
label: What could the solution look like?
22+
description: A short code sketch of the API you have in mind is perfect, but a description works too.
23+
render: typescript
24+
25+
- type: textarea
26+
id: alternatives
27+
attributes:
28+
label: What do you do today?
29+
description: Workarounds or other libraries you've used for this.

0 commit comments

Comments
 (0)