From 324cbecb7465b99cfb57166d9e8a9065d7b75aa0 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Mon, 23 Jun 2025 20:33:19 -0300 Subject: [PATCH] agent: Improve MCP with no config editor empty state (#33282) Removed an additional label from the modal empty state as I figured we don't need it, given we already have a version of the description in place for when the extension itself doesn't return any. So, ultimately, having both the label and the description was redundant. Release Notes: - N/A --- .../agent_configuration/configure_context_server_modal.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/agent/src/agent_configuration/configure_context_server_modal.rs b/crates/agent/src/agent_configuration/configure_context_server_modal.rs index 541d5c0a57..6a0bd765c7 100644 --- a/crates/agent/src/agent_configuration/configure_context_server_modal.rs +++ b/crates/agent/src/agent_configuration/configure_context_server_modal.rs @@ -503,10 +503,7 @@ impl ConfigureContextServerModal { ConfigurationSource::Existing { editor } => editor, ConfigurationSource::Extension { editor, .. } => { let Some(editor) = editor else { - return Label::new( - "No configuration options available for this context server. Visit the Repository for any further instructions.", - ) - .color(Color::Muted).into_any_element(); + return div().into_any_element(); }; editor }