Skip to content

Commit

Permalink
assistant2: Add temporary icon for the status bar item (#22156)
Browse files Browse the repository at this point in the history
This is temporary and should be removed whenever we fully transition to
Assistant 2.

<img width="800" alt="Screenshot 2024-12-17 at 16 50 48"
src="https://github.com/user-attachments/assets/61137993-ec2c-4754-9f9a-7559d1b21d89"
/>

Release Notes:

- N/A
  • Loading branch information
danilo-leal authored Dec 17, 2024
1 parent 63d8a43 commit ce97e4d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions assets/icons/zed_assistant_2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion crates/assistant2/src/assistant_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ impl Panel for AssistantPanel {
}

fn icon(&self, _cx: &WindowContext) -> Option<IconName> {
Some(IconName::ZedAssistant)
Some(IconName::ZedAssistant2)
}

fn icon_tooltip(&self, _cx: &WindowContext) -> Option<&'static str> {
Expand Down
1 change: 1 addition & 0 deletions crates/ui/src/components/icon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ pub enum IconName {
X,
XCircle,
ZedAssistant,
ZedAssistant2,
ZedAssistantFilled,
ZedPredict,
ZedXCopilot,
Expand Down

0 comments on commit ce97e4d

Please sign in to comment.