Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add optional Zed log field to all bug report templates (#42221)

Joseph T. Lyonsbcc3307a7eb5
diff --git a/.github/ISSUE_TEMPLATE/01_bug_ai.yml b/.github/ISSUE_TEMPLATE/01_bug_ai.yml
index 16bdef6c7ef..36e9036b784 100644
--- a/.github/ISSUE_TEMPLATE/01_bug_ai.yml
+++ b/.github/ISSUE_TEMPLATE/01_bug_ai.yml
@@ -39,3 +39,21 @@ body:
Output of "zed: copy system specs into clipboard"
validations:
required: true
+
+ - type: textarea
+ attributes:
+ label: If applicable, attach your `Zed.log` file to this issue.
+ description: |
+ From the command palette, run `zed: open log` to see the last 1000 lines.
+ Or run `zed: reveal log in file manager` to reveal the log file itself.
+ value: |
+ <details><summary>Zed.log</summary>
+
+ <!-- Paste your log inside the code block. -->
+ ```log
+
+ ```
+
+ </details>
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/04_bug_debugger.yml b/.github/ISSUE_TEMPLATE/04_bug_debugger.yml
index 2682295a431..8361de5c22f 100644
--- a/.github/ISSUE_TEMPLATE/04_bug_debugger.yml
+++ b/.github/ISSUE_TEMPLATE/04_bug_debugger.yml
@@ -33,3 +33,21 @@ body:
Output of "zed: copy system specs into clipboard"
validations:
required: true
+
+ - type: textarea
+ attributes:
+ label: If applicable, attach your `Zed.log` file to this issue.
+ description: |
+ From the command palette, run `zed: open log` to see the last 1000 lines.
+ Or run `zed: reveal log in file manager` to reveal the log file itself.
+ value: |
+ <details><summary>Zed.log</summary>
+
+ <!-- Paste your log inside the code block. -->
+ ```log
+
+ ```
+
+ </details>
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/06_bug_git.yml b/.github/ISSUE_TEMPLATE/06_bug_git.yml
index 7a01a728cd4..ec6276df3a2 100644
--- a/.github/ISSUE_TEMPLATE/06_bug_git.yml
+++ b/.github/ISSUE_TEMPLATE/06_bug_git.yml
@@ -33,3 +33,21 @@ body:
Output of "zed: copy system specs into clipboard"
validations:
required: true
+
+ - type: textarea
+ attributes:
+ label: If applicable, attach your `Zed.log` file to this issue.
+ description: |
+ From the command palette, run `zed: open log` to see the last 1000 lines.
+ Or run `zed: reveal log in file manager` to reveal the log file itself.
+ value: |
+ <details><summary>Zed.log</summary>
+
+ <!-- Paste your log inside the code block. -->
+ ```log
+
+ ```
+
+ </details>
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/07_bug_windows.yml b/.github/ISSUE_TEMPLATE/07_bug_windows.yml
index 4e90c15dbde..b4bda930dc8 100644
--- a/.github/ISSUE_TEMPLATE/07_bug_windows.yml
+++ b/.github/ISSUE_TEMPLATE/07_bug_windows.yml
@@ -33,3 +33,21 @@ body:
Output of "zed: copy system specs into clipboard"
validations:
required: true
+
+ - type: textarea
+ attributes:
+ label: If applicable, attach your `Zed.log` file to this issue.
+ description: |
+ From the command palette, run `zed: open log` to see the last 1000 lines.
+ Or run `zed: reveal log in file manager` to reveal the log file itself.
+ value: |
+ <details><summary>Zed.log</summary>
+
+ <!-- Paste your log inside the code block. -->
+ ```log
+
+ ```
+
+ </details>
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/10_bug_report.yml b/.github/ISSUE_TEMPLATE/10_bug_report.yml
index 1bf6c80e407..9f069a7a355 100644
--- a/.github/ISSUE_TEMPLATE/10_bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/10_bug_report.yml
@@ -56,3 +56,20 @@ body:
Output of "zed: copy system specs into clipboard"
validations:
required: true
+ - type: textarea
+ attributes:
+ label: If applicable, attach your `Zed.log` file to this issue.
+ description: |
+ From the command palette, run `zed: open log` to see the last 1000 lines.
+ Or run `zed: reveal log in file manager` to reveal the log file itself.
+ value: |
+ <details><summary>Zed.log</summary>
+
+ <!-- Paste your log inside the code block. -->
+ ```log
+
+ ```
+
+ </details>
+ validations:
+ required: false