From aa60fc2f191aa82547cf24ee40a340071910cef1 Mon Sep 17 00:00:00 2001 From: slowlydev Date: Fri, 7 Jun 2024 21:12:16 +0200 Subject: [PATCH] Use the new assistant icon in the setup instructions (#12787) This is a PR with just a small visual adjustment, so instructions are up-to-date with the new icon. I did not remove the "old" ai.svg as I am not sure if its gonna be used in the future or if its has been completely replaced by the new "zed assistant" icon. Release Notes: - Fixed the wrong icon being used in the assistant setup instructions. For open ai image and anthropic image how it looked before (Zed Preview 0.139.3 0c083b7f381d8d75632c5ce5bd60810cda195ad0): image --- crates/assistant/src/completion_provider/anthropic.rs | 2 +- crates/assistant/src/completion_provider/open_ai.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/assistant/src/completion_provider/anthropic.rs b/crates/assistant/src/completion_provider/anthropic.rs index d17a601284..669e8cb808 100644 --- a/crates/assistant/src/completion_provider/anthropic.rs +++ b/crates/assistant/src/completion_provider/anthropic.rs @@ -349,7 +349,7 @@ impl Render for AuthenticationPrompt { h_flex() .gap_2() .child(Label::new("Click on").size(LabelSize::Small)) - .child(Icon::new(IconName::Ai).size(IconSize::XSmall)) + .child(Icon::new(IconName::ZedAssistant).size(IconSize::XSmall)) .child( Label::new("in the status bar to close this panel.").size(LabelSize::Small), ), diff --git a/crates/assistant/src/completion_provider/open_ai.rs b/crates/assistant/src/completion_provider/open_ai.rs index ecd127a418..57a718683f 100644 --- a/crates/assistant/src/completion_provider/open_ai.rs +++ b/crates/assistant/src/completion_provider/open_ai.rs @@ -336,7 +336,7 @@ impl Render for AuthenticationPrompt { h_flex() .gap_2() .child(Label::new("Click on").size(LabelSize::Small)) - .child(Icon::new(IconName::Ai).size(IconSize::XSmall)) + .child(Icon::new(IconName::ZedAssistant).size(IconSize::XSmall)) .child( Label::new("in the status bar to close this panel.").size(LabelSize::Small), ),