Skip to content

Commit c9a9970

Browse files
authored
Merge pull request docker#17331 from dvdksn/chore/issue-tpl-form-schema
chore: update issue template to use forms
2 parents 56f7618 + 4460c0c commit c9a9970

File tree

4 files changed

+100
-41
lines changed

4 files changed

+100
-41
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
2+
name: Broken link
3+
description: Four-oh-four!
4+
title: '[404]: <link text>'
5+
labels:
6+
- status/triage
7+
8+
body:
9+
- type: input
10+
id: location
11+
attributes:
12+
label: Location
13+
description: Where did you find the broken link?
14+
placeholder: https://docs.docker.com/
15+
validations:
16+
required: true
17+
- type: input
18+
id: target
19+
attributes:
20+
label: Broken link
21+
description: Where does the broken link point to?
22+
placeholder: https://docs.docker.com/
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: comment
27+
attributes:
28+
label: Comment
29+
description: Do you have any additional information to share?
30+
placeholder: "I think this points to the wrong page..."
31+
validations:
32+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- Name: Slack
4+
url: https://dockr.ly/comm-slack
5+
about: Ask questions in the Docker Community Slack
6+
- name: Moby
7+
url: https://github.com/moby/moby
8+
about: Bug reports for Docker Engine
9+
- name: Docker Desktop for Windows
10+
url: https://github.com/docker/for-win
11+
about: Bug reports for Docker Desktop for Windows
12+
- name: Docker Desktop for Mac
13+
url: https://github.com/docker/for-mac
14+
about: Bug reports for Docker Desktop for Mac
15+
- name: Docker Desktop for Linux
16+
url: https://github.com/docker/for-linux
17+
about: Bug reports for Docker Desktop for Linux
18+
- name: Docker Compose
19+
url: https://github.com/docker/compose
20+
about: Bug reports for Docker Compose

.github/ISSUE_TEMPLATE/doc_issue.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
2+
name: Docs issue
3+
description: Report incorrect or missing content in docs, or a website issue
4+
labels:
5+
- status/triage
6+
7+
body:
8+
- type: checkboxes
9+
attributes:
10+
label: Is this a docs issue?
11+
description: |
12+
Use this issue for reporting issues related to Docker documentation.
13+
For product issues, refer to the corresponding product repository.
14+
options:
15+
- label: My issue is about the documentation content or website
16+
required: true
17+
- type: dropdown
18+
attributes:
19+
label: Type of issue
20+
description: What type of problem are you reporting?
21+
multiple: false
22+
options:
23+
- Information is incorrect
24+
- I can't find what I'm looking for
25+
- There's a problem with the website
26+
- Other
27+
validations:
28+
required: true
29+
- type: textarea
30+
attributes:
31+
label: Description
32+
description: |
33+
Briefly describe the problem that you found.
34+
validations:
35+
required: true
36+
- type: input
37+
id: location
38+
attributes:
39+
label: Location
40+
description: Where did you find the problem?
41+
placeholder: "https://docs.docker.com/"
42+
validations:
43+
required: true
44+
- type: textarea
45+
attributes:
46+
label: Suggestion
47+
description: >
48+
Let us know if you have specific ideas on how we can fix the issue.

0 commit comments

Comments
 (0)