feedback: Update issue template URL (#28790)
Closes #28782 The linked template path was updated in #28250. This PR also adds the change to the zed action. Since the issue template link was also referenced in workspace, I updated that occurrence to use the `FileBugReport` action instead. For that, I had to move the action to `zed_actions`. However, with this change only one link has to be updated and any database related errors will have the zed version specs attached to them automatically. Release Notes: - Fixed an issue where the `file bug report` action would redirect to an outdated URL.
This commit is contained in:
@@ -2,6 +2,7 @@ use gpui::{App, ClipboardItem, PromptLevel, actions};
|
||||
use system_specs::SystemSpecs;
|
||||
use util::ResultExt;
|
||||
use workspace::Workspace;
|
||||
use zed_actions::feedback::FileBugReport;
|
||||
|
||||
pub mod feedback_modal;
|
||||
|
||||
@@ -12,7 +13,6 @@ actions!(
|
||||
[
|
||||
CopySystemSpecsIntoClipboard,
|
||||
EmailZed,
|
||||
FileBugReport,
|
||||
OpenZedRepo,
|
||||
RequestFeature,
|
||||
]
|
||||
@@ -27,7 +27,7 @@ fn file_bug_report_url(specs: &SystemSpecs) -> String {
|
||||
concat!(
|
||||
"https://github.com/zed-industries/zed/issues/new",
|
||||
"?",
|
||||
"template=1_bug_report.yml",
|
||||
"template=10_bug_report.yml",
|
||||
"&",
|
||||
"environment={}"
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user