Skip to content

Commit 13ba2d9

Browse files
authored
Update to new issue templates (#778)
* Create config.yml * Update and rename .github/ISSUE_TEMPLATE.md to .github/ISSUE_TEMPLATE/bug_report.md * Rename bug_report.md to bug_report.yaml * Update bug_report.yaml * Create feature_request.yaml
1 parent a131b35 commit 13ba2d9

File tree

4 files changed

+108
-49
lines changed

4 files changed

+108
-49
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 49 deletions
This file was deleted.
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: Bug report 🐛
2+
description: Report errors or unexpected behavior 🤔
3+
labels: Needs-Triage
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: >
8+
For Windows PowerShell 5.1 issues, suggestions, or feature requests please use the
9+
[Feedback Hub app](https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332)
10+
11+
This repository is **ONLY** for PowerShell 7+ docker image issues.
12+
- type: checkboxes
13+
attributes:
14+
label: Prerequisites
15+
options:
16+
- label: Write a descriptive title.
17+
required: true
18+
- label: Make sure you are able to repro it on the latest image.
19+
required: true
20+
- label: Search the existing issues.
21+
required: true
22+
- label: Verified that this is not a [Known Issue](https://github.com/PowerShell/PowerShell-Docker/wiki/Known-Issues)
23+
required: true
24+
- label: Verified this is not an issues in the underlying windows container that should be reported to [Windows Feedback Hub](https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332)
25+
required: true
26+
- type: textarea
27+
attributes:
28+
label: Steps to reproduce
29+
description: >
30+
List of steps, sample code, failing test or link to a project that reproduces the behavior.
31+
Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues.
32+
Please include any docker commands you used to run the image.
33+
placeholder: >
34+
I am experiencing a problem with X.
35+
I think Y should be happening but Z is actually happening.
36+
validations:
37+
required: true
38+
- type: textarea
39+
attributes:
40+
label: Expected behavior
41+
render: console
42+
placeholder: |
43+
PS> 2 + 2
44+
4
45+
validations:
46+
required: true
47+
- type: textarea
48+
attributes:
49+
label: Actual behavior
50+
render: console
51+
placeholder: |
52+
PS> 2 + 2
53+
5
54+
validations:
55+
required: true
56+
- type: textarea
57+
attributes:
58+
label: Error details
59+
description: Paste verbatim output of any error
60+
render: console
61+
placeholder: PS> Get-Error
62+
- type: textarea
63+
attributes:
64+
label: Environment data
65+
description: Paste verbatim output from `docker manifest inspect <image reference>` below.
66+
render: powershell
67+
placeholder: docker manifest inspect mcr.microsoft.com/powershell
68+
validations:
69+
required: true
70+
- type: textarea
71+
attributes:
72+
label: Visuals
73+
description: >
74+
Please upload images or animations that can be used to reproduce issues in the area below.
75+
Try the [Steps Recorder](https://support.microsoft.com/en-us/windows/record-steps-to-reproduce-a-problem-46582a9b-620f-2e36-00c9-04e25d784e47)
76+
on Windows or [Screenshot](https://support.apple.com/en-us/HT208721) on macOS.
77+

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Windows PowerShell
4+
url: https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332
5+
about: Windows PowerShell issues or suggestions.
6+
- name: Support
7+
url: https://github.com/PowerShell/PowerShell/blob/master/.github/SUPPORT.md
8+
about: PowerShell Support Questions/Help
9+
- name: Documentation Issue
10+
url: https://github.com/MicrosoftDocs/PowerShell-Docs/issues/new/choose
11+
about: Please open issues on documentation for PowerShell here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Feature Request / Idea 🚀
2+
description: Suggest a new feature or improvement (this does not mean you have to implement it)
3+
labels: [Issue-Enhancement, Needs-Triage]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Summary of the new feature / enhancement
8+
description: >
9+
A clear and concise description of what the problem is that the
10+
new feature would solve. Try formulating it in user story style
11+
(if applicable).
12+
placeholder: "'As a user I want X so that Y...' with X being the being the action and Y being the value of the action."
13+
validations:
14+
required: true
15+
- type: textarea
16+
attributes:
17+
label: Proposed technical implementation details (optional)
18+
placeholder: >
19+
A clear and concise description of what you want to happen.
20+
Consider providing an example PowerShell experience with expected result.

0 commit comments

Comments
 (0)