ci: Update issue templates. Rename defect to bug and improve log formatting (#20246)
This commit is contained in:
parent
d0ca49f0e1
commit
db11a3b554
7 changed files with 25 additions and 12 deletions
7
.github/ISSUE_TEMPLATE/0_feature_request.yml
vendored
7
.github/ISSUE_TEMPLATE/0_feature_request.yml
vendored
|
@ -15,6 +15,13 @@ body:
|
||||||
description: A clear and concise description of what you want to happen.
|
description: A clear and concise description of what you want to happen.
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: environment
|
||||||
|
attributes:
|
||||||
|
label: Environment
|
||||||
|
description: Run the `copy system specs into clipboard` command palette action and paste the output in the field below.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: |
|
label: |
|
||||||
|
|
11
.github/ISSUE_TEMPLATE/1_bug_report.yml
vendored
11
.github/ISSUE_TEMPLATE/1_bug_report.yml
vendored
|
@ -2,7 +2,7 @@ name: Bug Report
|
||||||
description: |
|
description: |
|
||||||
Use this template for **non-crash-related** bug reports.
|
Use this template for **non-crash-related** bug reports.
|
||||||
Tip: open this issue template from within Zed with the `file bug report` command palette action.
|
Tip: open this issue template from within Zed with the `file bug report` command palette action.
|
||||||
labels: ["admin read", "triage", "defect"]
|
labels: ["admin read", "triage", "bug"]
|
||||||
body:
|
body:
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
attributes:
|
attributes:
|
||||||
|
@ -38,9 +38,12 @@ body:
|
||||||
Linux: `~/.local/share/zed/logs/Zed.log` or $XDG_DATA_HOME
|
Linux: `~/.local/share/zed/logs/Zed.log` or $XDG_DATA_HOME
|
||||||
If you only need the most recent lines, you can run the `zed: open log` command palette action to see the last 1000.
|
If you only need the most recent lines, you can run the `zed: open log` command palette action to see the last 1000.
|
||||||
value: |
|
value: |
|
||||||
<details><summary>Zed.log</summary><pre>
|
<details><summary>Zed.log</summary>
|
||||||
<!-- Click below this line and paste or drag-and-drop your log-->
|
|
||||||
|
|
||||||
<!-- Click above this line and paste or drag-and-drop your log--></pre></details>
|
<!-- Click below this line and paste or drag-and-drop your log-->
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
<!-- Click above this line and paste or drag-and-drop your log--></details>
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
|
|
11
.github/ISSUE_TEMPLATE/2_crash_report.yml
vendored
11
.github/ISSUE_TEMPLATE/2_crash_report.yml
vendored
|
@ -1,7 +1,7 @@
|
||||||
name: Crash Report
|
name: Crash Report
|
||||||
description: |
|
description: |
|
||||||
Use this template for crash reports.
|
Use this template for crash reports.
|
||||||
labels: ["admin read", "triage", "defect", "panic / crash"]
|
labels: ["admin read", "triage", "bug", "panic / crash"]
|
||||||
body:
|
body:
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
attributes:
|
attributes:
|
||||||
|
@ -31,9 +31,12 @@ body:
|
||||||
Linux: `~/.local/share/zed/logs/Zed.log` or $XDG_DATA_HOME
|
Linux: `~/.local/share/zed/logs/Zed.log` or $XDG_DATA_HOME
|
||||||
If you only need the most recent lines, you can run the `zed: open log` command palette action to see the last 1000.
|
If you only need the most recent lines, you can run the `zed: open log` command palette action to see the last 1000.
|
||||||
value: |
|
value: |
|
||||||
<details><summary>Zed.log</summary><pre>
|
<details><summary>Zed.log</summary>
|
||||||
<!-- Click below this line and paste or drag-and-drop your log-->
|
|
||||||
|
|
||||||
<!-- Click above this line and paste or drag-and-drop your log--></pre></details>
|
<!-- Click below this line and paste or drag-and-drop your log-->
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
<!-- Click above this line and paste or drag-and-drop your log--></details>
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
|
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
# issues, preventing 365 days from working until then.
|
# issues, preventing 365 days from working until then.
|
||||||
days-before-stale: 180
|
days-before-stale: 180
|
||||||
days-before-close: 7
|
days-before-close: 7
|
||||||
any-of-issue-labels: "defect,panic / crash"
|
any-of-issue-labels: "bug,panic / crash"
|
||||||
operations-per-run: 1000
|
operations-per-run: 1000
|
||||||
ascending: true
|
ascending: true
|
||||||
enable-statistics: true
|
enable-statistics: true
|
||||||
|
|
|
@ -29,7 +29,7 @@ const fn request_feature_url() -> &'static str {
|
||||||
|
|
||||||
fn file_bug_report_url(specs: &SystemSpecs) -> String {
|
fn file_bug_report_url(specs: &SystemSpecs) -> String {
|
||||||
format!(
|
format!(
|
||||||
"https://github.com/zed-industries/zed/issues/new?assignees=&labels=admin+read%2Ctriage%2Cdefect&projects=&template=1_bug_report.yml&environment={}",
|
"https://github.com/zed-industries/zed/issues/new?assignees=&labels=admin+read%2Ctriage%2Cbug&projects=&template=1_bug_report.yml&environment={}",
|
||||||
urlencoding::encode(&specs.to_string())
|
urlencoding::encode(&specs.to_string())
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -4666,7 +4666,7 @@ enum ActivateInDirectionTarget {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn notify_if_database_failed(workspace: WindowHandle<Workspace>, cx: &mut AsyncAppContext) {
|
fn notify_if_database_failed(workspace: WindowHandle<Workspace>, cx: &mut AsyncAppContext) {
|
||||||
const REPORT_ISSUE_URL: &str = "https://github.com/zed-industries/zed/issues/new?assignees=&labels=defect%2Ctriage&template=2_bug_report.yml";
|
const REPORT_ISSUE_URL: &str = "https://github.com/zed-industries/zed/issues/new?assignees=&labels=admin+read%2Ctriage%2Cbug&projects=&template=1_bug_report.yml";
|
||||||
|
|
||||||
workspace
|
workspace
|
||||||
.update(cx, |workspace, cx| {
|
.update(cx, |workspace, cx| {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"core_labels": [
|
"core_labels": [
|
||||||
"defect",
|
"bug",
|
||||||
"design",
|
"design",
|
||||||
"documentation",
|
"documentation",
|
||||||
"duplicate",
|
"duplicate",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue