agent: Add design adjustments to MCP config flow (#29765)

Mostly somewhat small UI tweaks around the MCP extension config flow and
the settings section.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-05-01 19:29:59 -03:00 committed by GitHub
parent 7c23d13773
commit 8d4d3badf3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 49 additions and 23 deletions

View file

@ -198,10 +198,10 @@ impl ConfigureContextServerModal {
.update(cx, {
|workspace, cx| {
let status_toast = StatusToast::new(
format!("{} MCP configured successfully", id),
format!("{} configured successfully.", id),
cx,
|this, _cx| {
this.icon(ToastIcon::new(IconName::DatabaseZap).color(Color::Muted))
this.icon(ToastIcon::new(IconName::Hammer).color(Color::Muted))
.action("Dismiss", |_, _| {})
},
);
@ -276,7 +276,7 @@ impl Render for ConfigureContextServerModal {
.header(ModalHeader::new().headline(format!("Configure {}", configuration.id)))
.section(
Section::new()
.child(div().py_2().child(MarkdownElement::new(
.child(div().pb_2().text_sm().child(MarkdownElement::new(
configuration.installation_instructions.clone(),
default_markdown_style(window, cx),
)))