From ce97e4ddc1d804942d1fa02b3aeed7faf924064f Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Tue, 17 Dec 2024 18:57:47 -0300 Subject: [PATCH] assistant2: Add temporary icon for the status bar item (#22156) This is temporary and should be removed whenever we fully transition to Assistant 2. Screenshot 2024-12-17 at 16 50 48 Release Notes: - N/A --- assets/icons/zed_assistant_2.svg | 5 +++++ crates/assistant2/src/assistant_panel.rs | 2 +- crates/ui/src/components/icon.rs | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 assets/icons/zed_assistant_2.svg diff --git a/assets/icons/zed_assistant_2.svg b/assets/icons/zed_assistant_2.svg new file mode 100644 index 0000000000..fa0b962d07 --- /dev/null +++ b/assets/icons/zed_assistant_2.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crates/assistant2/src/assistant_panel.rs b/crates/assistant2/src/assistant_panel.rs index 3a756d9d04..0d01ee5629 100644 --- a/crates/assistant2/src/assistant_panel.rs +++ b/crates/assistant2/src/assistant_panel.rs @@ -257,7 +257,7 @@ impl Panel for AssistantPanel { } fn icon(&self, _cx: &WindowContext) -> Option { - Some(IconName::ZedAssistant) + Some(IconName::ZedAssistant2) } fn icon_tooltip(&self, _cx: &WindowContext) -> Option<&'static str> { diff --git a/crates/ui/src/components/icon.rs b/crates/ui/src/components/icon.rs index 6a01ca0b73..b27edf4d82 100644 --- a/crates/ui/src/components/icon.rs +++ b/crates/ui/src/components/icon.rs @@ -303,6 +303,7 @@ pub enum IconName { X, XCircle, ZedAssistant, + ZedAssistant2, ZedAssistantFilled, ZedPredict, ZedXCopilot,