Skip to content

Commit

Permalink
Allow markdown in issue template descriptions. (#24085)
Browse files Browse the repository at this point in the history
Instead of forcing preformatting on the text people type as their
reproduction steps, allow them to type markdown and nudge toward using
proper formatting and attaching logs as files via the placeholder.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Oct 18, 2023
1 parent aa918a4 commit 94d82ea
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 39 deletions.
14 changes: 8 additions & 6 deletions .github/ISSUE_TEMPLATE/1-bug-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ body:
attributes:
label: Reproduction steps
description: "How do you trigger this bug? Please walk us through it step by step."
value: |
1.
2.
3.
...
render: bash
placeholder: |
Please list reproduction steps step by step.
Place shell commands between ```.
Attach logs as files instead of pasting them in.
1.
2.
3.
...
validations:
required: true
- type: input
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/100-documentation-issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ body:
2.
3.
...
render: bash
validations:
required: true
- type: dropdown
Expand Down
14 changes: 8 additions & 6 deletions .github/ISSUE_TEMPLATE/2-1.0-issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ body:
attributes:
label: Reproduction steps
description: "How do you trigger this bug? Please walk us through it step by step."
value: |
1.
2.
3.
...
render: bash
placeholder: |
Please list reproduction steps step by step.
Place shell commands between ```.
Attach logs as files instead of pasting them in.
1.
2.
3.
...
validations:
required: true
- type: input
Expand Down
14 changes: 8 additions & 6 deletions .github/ISSUE_TEMPLATE/3-sve-1.0-issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ body:
attributes:
label: Reproduction steps
description: "How do you trigger this bug? Please walk us through it step by step."
value: |
1.
2.
3.
...
render: bash
placeholder: |
Please list reproduction steps step by step.
Place shell commands between ```.
Attach logs as files instead of pasting them in.
1.
2.
3.
...
validations:
required: true
- type: input
Expand Down
14 changes: 8 additions & 6 deletions .github/ISSUE_TEMPLATE/50-tooling-fix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ body:
attributes:
label: Reproduction steps / Feature
description: "How do you trigger this issue and/or can you please explain this new feature? Please walk us through it step by step."
value: |
1.
2.
3.
...
render: bash
placeholder: |
Please list reproduction steps step by step.
Place shell commands between ```.
Attach logs as files instead of pasting them in.
1.
2.
3.
...
validations:
required: true
- type: dropdown
Expand Down
14 changes: 8 additions & 6 deletions .github/ISSUE_TEMPLATE/60-platform-fix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ body:
attributes:
label: Reproduction steps
description: "How do you trigger this issue? Please walk us through it step by step."
value: |
1.
2.
3.
...
render: bash
placeholder: |
Please list reproduction steps step by step.
Place shell commands between ```.
Attach logs as files instead of pasting them in.
1.
2.
3.
...
validations:
required: true
- type: dropdown
Expand Down
6 changes: 0 additions & 6 deletions .github/ISSUE_TEMPLATE/70-trivial-fix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ body:
attributes:
label: Explanation
description: "(Optional) If other, why do you think this is trivial?"
value: |
1.
2.
3.
...
render: bash
validations:
required: false
- type: dropdown
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/80-feature-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ body:
description: "What feature are you looking to add? Please walk us through it!"
value: |
...
render: bash
validations:
required: true
- type: dropdown
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/99-github-workflow-issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ body:
2.
3.
...
render: bash
validations:
required: true
- type: dropdown
Expand Down

0 comments on commit 94d82ea

Please sign in to comment.