From d676dac0dd64b35374042c18e5ef893e99c1a9ca Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Mon, 13 Oct 2025 14:35:03 +0200 Subject: [PATCH] acp: Add tooltips for auth methods with descriptions when available (#40098) Release Notes: - acp: Provide auth method descriptions in the UI when available Co-authored-by: Bennet Bo Fenner --- crates/agent_ui/src/acp/thread_view.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/agent_ui/src/acp/thread_view.rs b/crates/agent_ui/src/acp/thread_view.rs index 811a168e2d983ddbc2242a8575d9e8a69e77c189..36afa9b47391ab54db2254e1a8ee384f9aa886f3 100644 --- a/crates/agent_ui/src/acp/thread_view.rs +++ b/crates/agent_ui/src/acp/thread_view.rs @@ -3283,6 +3283,12 @@ impl AcpThreadView { this.style(ButtonStyle::Outlined) } }) + .when_some( + method.description.clone(), + |this, description| { + this.tooltip(Tooltip::text(description)) + }, + ) .on_click({ cx.listener(move |this, _, window, cx| { telemetry::event!(