Skip to content

Commit 56047ba

Browse files
atsansoneparlough
andauthored
Updates page templates and updates GitHub labels (#5279)
Updates page template formats and substitutes new GitHub labels. Fixes #5268 --------- Co-authored-by: Parker Lougheed <parlough@gmail.com>
1 parent 27c5221 commit 56047ba

File tree

4 files changed

+83
-22
lines changed

4 files changed

+83
-22
lines changed
+31-7
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,66 @@
11
name: Page issue
2-
description: Help improve a dart.dev page
2+
description: Help improve the content or quality of a dart.dev page
3+
labels: [from.page-issue]
34
body:
45
- type: markdown
56
attributes:
67
value: |
7-
_Found a typo? You can fix it yourself by going to the page source and clicking the pencil icon. Or finish creating this issue._
8+
Found a typo? You can fix it yourself!
9+
10+
1. Click the page icon to the left of the bug icon you clicked to come to this form. The GitHub page source should display.
11+
1. Click the pencil icon displayed above the source code.
12+
1. Fix the typo.
13+
1. Click **Commit changes...**.
14+
1. Update the commit message and add a description.
15+
1. Click **Propose changes**.
16+
17+
If you want another contributor to fix this issue, complete this form.
818
- type: input
919
id: page-url
1020
attributes:
1121
label: Page URL
12-
placeholder: "Example: https://dart.dev/guides"
22+
placeholder: "Add the address of this page. An example would be https://dart.dev/guides"
1323
validations:
1424
required: true
1525
- type: input
1626
id: page-source
1727
attributes:
1828
label: Page source
19-
placeholder: (Provided automatically by the in-page bug link)
29+
placeholder: The bug link provides this information.
2030
validations:
2131
required: false
2232
- type: textarea
2333
id: problem
2434
attributes:
2535
label: Describe the problem
26-
placeholder: A clear and concise description of what's wrong.
36+
placeholder: Provide a clear and concise description of you believe to be in error.
2737
validations:
2838
required: true
2939
- type: textarea
3040
id: fix
3141
attributes:
3242
label: Expected fix
33-
placeholder: A clear and concise description of how you think we should fix the problem.
43+
placeholder: Provide a clear and concise description of how you think this problem should be fixed.
3444
validations:
3545
required: false
3646
- type: textarea
3747
id: additional-info
3848
attributes:
3949
label: Additional context
40-
placeholder: Anything else we should know about the problem?
50+
placeholder: |
51+
Provide anything else that should be known about the problem.
52+
This could include:
53+
54+
* when in your workflow this occurred
55+
* what platform and browser you are using
56+
* other configuration or circumstantial information that you think could impact fixing your issue
4157
validations:
4258
required: false
59+
- type: checkboxes
60+
id: volunteer
61+
attributes:
62+
label: I would like to fix this problem.
63+
description: Let us know if you want to try fixing this yourself.
64+
options:
65+
- label: I will try and fix this problem on dart.dev.
66+
required: false
+13-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
11
name: Topic request
22
description: What information should be on dart.dev but isn't covered well (or at all)?
3-
labels: [new page/topic request]
3+
labels: [co.request, from.user]
44
body:
55
- type: textarea
66
id: problem
77
attributes:
8-
label: What information is missing?
9-
placeholder: A clear and concise description of what you expected to find on dart.dev, but didn't.
8+
label: What information needs to be added?
9+
placeholder: Provide a clear and concise description of what you expected to find on dart.dev, but didn't.
1010
validations:
1111
required: true
1212
- type: textarea
1313
id: fix
1414
attributes:
15-
label: How would you like us to fix this problem?
16-
placeholder: Let us know where you'd expect to see this missing information.
15+
label: Where should this new content appear?
16+
placeholder: Let us know where you'd expect to see this new information.
1717
validations:
1818
required: false
19+
- type: checkboxes
20+
id: volunteer
21+
attributes:
22+
label: I would like to fix this problem.
23+
description: Let us know if you want to try fixing this yourself.
24+
options:
25+
- label: I will try and fix this problem on dart.dev.
26+
required: false
+25-6
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,44 @@
1-
name: Site appearance or accessibility issue
2-
description: How can we improve the CSS or page design of dart.dev?
3-
labels: [design]
1+
name: Site design or user experience issue
2+
description: How can we improve the page design, style, or structure of dart.dev?
3+
labels: [infra.design, from.user]
44
body:
55
- type: textarea
66
id: problem
77
attributes:
88
label: Describe the problem
9-
placeholder: A clear and concise description of the issue, preferably with a screenshot.
9+
placeholder: Provide a clear and concise description of the issue. What did you expect to happen? Screenshots are recommended.
1010
validations:
1111
required: true
1212
- type: textarea
1313
id: fix
1414
attributes:
1515
label: Expected fix
16-
placeholder: A clear and concise description of how you think we should fix the problem.
16+
placeholder: Provide a clear and concise description of how you think this problem should be fixed.
1717
validations:
1818
required: false
19+
- type: dropdown
20+
id: platform
21+
attributes:
22+
label: On which browser(s) did you experience this issue?
23+
multiple: true
24+
options:
25+
- Firefox
26+
- Chrome
27+
- Safari
28+
- Microsoft Edge
29+
- Other
1930
- type: textarea
2031
id: additional-info
2132
attributes:
2233
label: Additional context
23-
placeholder: Helpful examples, screenshots, or descriptions go here. If you're interested in helping us fix the issue, let us know!
34+
placeholder: Provide examples, screenshots, configurations, or descriptions that could help.
2435
validations:
2536
required: false
37+
- type: checkboxes
38+
id: volunteer
39+
attributes:
40+
label: I would like to fix this problem.
41+
description: Let us know if you want to try fixing this yourself.
42+
options:
43+
- label: I will try and fix this problem on dart.dev.
44+
required: false

.github/ISSUE_TEMPLATE/4_infrastructure.yml

+14-4
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,32 @@
11
name: Site infrastructure issue
22
description: |
3-
Report a problem with the build, repo, or something else that's a problem for people who work on dart.dev
4-
labels: [infrastructure]
3+
Report a problem with the build, repo, or tooling for dart.dev
4+
labels: [infra.structure, from.user]
55
body:
66
- type: textarea
77
id: problem
88
attributes:
99
label: Describe the problem
10-
placeholder: A clear and concise description of the issue.
10+
placeholder: Provide a clear and concise description of the issue. What did you expect to happen? Screenshots are recommended.
1111
validations:
1212
required: true
1313
- type: textarea
1414
id: fix
1515
attributes:
1616
label: Expected fix
17-
placeholder: A clear and concise description of how you think we should fix the problem.
17+
placeholder: Provide a clear and concise description of how you think this problem should be fixed.
1818
validations:
1919
required: false
20+
- type: dropdown
21+
id: platform
22+
attributes:
23+
label: On which platform(s) did you experience this issue?
24+
multiple: true
25+
options:
26+
- macOS
27+
- Windows
28+
- Linux
29+
- ChromeOS
2030
- type: textarea
2131
id: additional-info
2232
attributes:

0 commit comments

Comments
 (0)