From fdf801d90f1acecabc208edfa4cee0365a1a672f 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 8b8f127764ad36a9fb9afa029b22b2a113991d34..67486eb95aa59bb3663791ef95eff737e6914006 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!(