From 1e017d04b936da9e5d73ea70be34beff11a9d8f2 Mon Sep 17 00:00:00 2001 From: Finn Evers Date: Sat, 13 Jun 2026 15:00:44 +0200 Subject: [PATCH] agent_ui: Remove dead link in agent menu (#59232) The link 404s for me on all channels, thus removing it and the context menu entry here. Release Notes: - Removed a dead link in the agent menu. --- crates/agent_ui/src/agent_panel.rs | 6 +----- crates/client/src/zed_urls.rs | 4 ---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/crates/agent_ui/src/agent_panel.rs b/crates/agent_ui/src/agent_panel.rs index 444cb8cff7..40ffc42b0a 100644 --- a/crates/agent_ui/src/agent_panel.rs +++ b/crates/agent_ui/src/agent_panel.rs @@ -65,7 +65,7 @@ use anyhow::{Context as _, Result, anyhow}; #[cfg(feature = "audio")] use audio::{Audio, Sound}; use chrono::{DateTime, Utc}; -use client::{UserStore, zed_urls}; +use client::UserStore; use cloud_api_types::Plan; use collections::HashMap; use editor::{Editor, MultiBuffer}; @@ -5690,10 +5690,6 @@ impl AgentPanel { ); } - menu = menu.entry("Rules Library", None, |_window, cx| { - cx.open_url(&zed_urls::rules_docs(cx)); - }); - menu = menu.separator(); } diff --git a/crates/client/src/zed_urls.rs b/crates/client/src/zed_urls.rs index 8cd284da03..70ff9537d7 100644 --- a/crates/client/src/zed_urls.rs +++ b/crates/client/src/zed_urls.rs @@ -56,10 +56,6 @@ pub fn skills_docs(cx: &App) -> String { format!("{server_url}/docs/ai/skills", server_url = server_url(cx)) } -pub fn rules_docs(cx: &App) -> String { - format!("{server_url}/docs/ai/rules", server_url = server_url(cx)) -} - /// Returns the URL to Zed's ACP registry blog post. pub fn acp_registry_blog(cx: &App) -> String { format!(