Skip to content

Commit e7d8b57

Browse files
committed
Convert issue templates to GitHub issue forms
Replace the old markdown bug report template with a structured YAML form and add a feature request template. Add config.yml with a link to search existing issues.
1 parent e99db49 commit e7d8b57

4 files changed

Lines changed: 101 additions & 39 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: Bug Report
2+
description: Report an issue with clojure-mode you've discovered.
3+
labels: [bug]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Please make sure you're running the latest stable clojure-mode and that the problem hasn't been reported already.
9+
- type: dropdown
10+
id: mode
11+
attributes:
12+
label: Affected mode
13+
options:
14+
- clojure-mode
15+
- clojurescript-mode
16+
- clojurec-mode
17+
- clojuredart-mode
18+
- edn-mode
19+
- jank-mode
20+
- joker-mode
21+
validations:
22+
required: true
23+
- type: textarea
24+
id: expected
25+
attributes:
26+
label: Expected behavior
27+
description: What did you expect to happen?
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: actual
32+
attributes:
33+
label: Actual behavior
34+
description: What happened instead?
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: steps
39+
attributes:
40+
label: Steps to reproduce
41+
description: Providing a reliable way to reproduce the problem will expedite its solution.
42+
validations:
43+
required: true
44+
- type: checkboxes
45+
id: emacs-q
46+
attributes:
47+
label: Reproducible with emacs -Q
48+
description: Start Emacs with `emacs -Q`, install clojure-mode, and try to reproduce. This rules out interference from your personal config.
49+
options:
50+
- label: I've reproduced this with `emacs -Q`
51+
- type: input
52+
id: clojure-mode-version
53+
attributes:
54+
label: clojure-mode version
55+
description: Run `M-x clojure-mode-display-version` to find this.
56+
placeholder: "e.g. 5.22.0"
57+
validations:
58+
required: true
59+
- type: input
60+
id: emacs-version
61+
attributes:
62+
label: Emacs version
63+
description: Use `C-h C-a` to find this.
64+
placeholder: "e.g. 30.1"
65+
validations:
66+
required: true
67+
- type: input
68+
id: os
69+
attributes:
70+
label: Operating system
71+
placeholder: "e.g. macOS 15, Ubuntu 24.04, Windows 11"
72+
validations:
73+
required: true

.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: true
2+
contact_links:
3+
- name: Search existing issues
4+
url: https://github.com/clojure-emacs/clojure-mode/issues?q=is%3Aissue
5+
about: Please check if your issue has already been reported before opening a new one.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Feature Request
2+
description: Suggest a new feature or enhancement for clojure-mode.
3+
labels: [enhancement]
4+
body:
5+
- type: textarea
6+
id: problem
7+
attributes:
8+
label: Problem
9+
description: What problem are you trying to solve? What's missing or frustrating?
10+
validations:
11+
required: true
12+
- type: textarea
13+
id: solution
14+
attributes:
15+
label: Proposed solution
16+
description: How would you like this to work? Include examples if possible.
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: alternatives
21+
attributes:
22+
label: Alternatives considered
23+
description: Any workarounds or alternative approaches you've tried or considered?

0 commit comments

Comments
 (0)