Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
settings_ui: Open ACP docs from Settings UI correctly (#60881)
Kunall Banerjeec399451ca019
diff --git a/crates/settings_ui/src/pages/external_agents_page.rs b/crates/settings_ui/src/pages/external_agents_page.rsindex b4b4350619d..786e3063e4e 100644--- a/crates/settings_ui/src/pages/external_agents_page.rs+++ b/crates/settings_ui/src/pages/external_agents_page.rs@@ -18,7 +18,6 @@ use ui::{};use util::ResultExt as _;use workspace::{MultiWorkspace, Workspace, create_and_open_local_file};-use zed_actions::OpenBrowser;use crate::SettingsWindow;@@ -310,14 +309,7 @@ pub(crate) fn render_add_agent_popover(.icon(IconName::ArrowUpRight).icon_color(Color::Muted).icon_position(IconPosition::End)- .handler(move |window, cx| {- window.dispatch_action(- Box::new(OpenBrowser {- url: "https://agentclientprotocol.com/".into(),- }),- cx,- );- }),+ .handler(|_window, cx| cx.open_url("https://agentclientprotocol.com/")),)}))});