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 <bennetbo@gmx.de>
This commit is contained in:
Ben Brandt
2025-10-13 12:35:03 +00:00
committed by GitHub
co-authored by Bennet Bo Fenner
parent ff50f48980
commit fdf801d90f
+6
View File
@@ -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!(