From 5e331531e21450ebaf06cdaf0297dae5f2cabc63 Mon Sep 17 00:00:00 2001 From: Andy Jordan Date: Fri, 10 Mar 2023 11:13:54 -0800 Subject: [PATCH] Add IDs to forms' text areas So we can fill them in via URL query parameters in a future PR. --- .github/ISSUE_TEMPLATE/bug-report.yml | 7 +++++++ .github/ISSUE_TEMPLATE/feature-request.yml | 2 ++ package.json | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index b2487e042a..486edec066 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -16,6 +16,7 @@ body: - type: textarea attributes: label: Summary + id: summary description: Explain the problem briefly below. placeholder: I am experiencing a problem with X. I think Y should be happening but Z is actually happening. validations: @@ -23,6 +24,7 @@ body: - type: textarea attributes: label: PowerShell Version + id: powershell-version description: Paste verbatim output from `$PSVersionTable` below. Please double-check that this is the PowerShell version that VS Code is set to use. render: console placeholder: | @@ -44,6 +46,7 @@ body: - type: textarea attributes: label: Visual Studio Code Version + id: vscode-version description: Paste verbatim output from `code --version` below. render: console placeholder: | @@ -57,6 +60,7 @@ body: - type: textarea attributes: label: Extension Version + id: extension-version description: Paste verbatim output from `code --list-extensions --show-versions | Select-String powershell` below. render: console placeholder: | @@ -68,14 +72,17 @@ body: - type: textarea attributes: label: Steps to Reproduce + id: steps-to-reproduce description: List of steps, sample code, failing test or link to a project that reproduces the behavior. Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues. validations: required: true - type: textarea attributes: label: Visuals + id: visuals description: Please upload images or animations that can be used to reproduce issues in the area below. Try the [Steps Recorder](https://support.microsoft.com/en-us/windows/record-steps-to-reproduce-a-problem-46582a9b-620f-2e36-00c9-04e25d784e47) on Windows or [Screenshot](https://support.apple.com/en-us/HT208721) on macOS. - type: textarea attributes: label: Logs + id: logs description: Please upload logs collected by following these [instructions](https://github.com/PowerShell/vscode-powershell/blob/main/docs/troubleshooting.md#logs) in the area below. Be careful to scrub sensitive information! diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 81ce4a4f75..acdf3ab4ae 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -13,6 +13,7 @@ body: - type: textarea attributes: label: Summary + id: summary description: Explain the feature request below. placeholder: I would like to do X because it would be useful for Y and I cannot currently do it with Z. validations: @@ -20,5 +21,6 @@ body: - type: textarea attributes: label: Proposed Design + id: proposed-design description: Optionally explain any technical design below. placeholder: We could accomplish this by extending X to take Y and yield Z. diff --git a/package.json b/package.json index 885a311968..f92b98189f 100644 --- a/package.json +++ b/package.json @@ -239,7 +239,7 @@ }, { "command": "PowerShell.GenerateBugReport", - "title": "Upload Bug Report to Github", + "title": "Upload Bug Report to GitHub", "category": "PowerShell" }, {