Add button

This commit is contained in:
Bennet Bo Fenner 2025-08-26 10:36:04 +02:00
parent 64b14ef848
commit 5cebdb56f6

View file

@ -1058,7 +1058,21 @@ impl AgentConfiguration {
.child( .child(
v_flex() v_flex()
.gap_0p5() .gap_0p5()
.child(Headline::new("External Agents")) .child(
h_flex()
.w_full()
.gap_2()
.justify_between()
.child(Headline::new("External Agents"))
.child(
Button::new("add-agent", "Add Agent")
.icon_position(IconPosition::Start)
.icon(IconName::Plus)
.icon_size(IconSize::Small)
.icon_color(Color::Muted)
.label_size(LabelSize::Small),
)
)
.child( .child(
Label::new( Label::new(
"Use the full power of Zed's UI with your favorite agent, connected via the Agent Client Protocol.", "Use the full power of Zed's UI with your favorite agent, connected via the Agent Client Protocol.",