Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add copilot icons

Nate Butler6a3925c3e11d
diff --git a/crates/ui2/src/components/icon.rs b/crates/ui2/src/components/icon.rs
index 1f80c3bb267..575b4fdb287 100644
--- a/crates/ui2/src/components/icon.rs
+++ b/crates/ui2/src/components/icon.rs
@@ -32,6 +32,9 @@ pub enum Icon {
Close,
Collab,
Copilot,
+ CopilotInit,
+ CopilotError,
+ CopilotDisabled,
Dash,
Envelope,
ExclamationTriangle,
@@ -93,6 +96,9 @@ impl Icon {
Icon::Close => "icons/x.svg",
Icon::Collab => "icons/user_group_16.svg",
Icon::Copilot => "icons/copilot.svg",
+ Icon::CopilotInit => "icons/copilot_init.svg",
+ Icon::CopilotError => "icons/copilot_error.svg",
+ Icon::CopilotDisabled => "icons/copilot_disabled.svg",
Icon::Dash => "icons/dash.svg",
Icon::Envelope => "icons/feedback.svg",
Icon::ExclamationTriangle => "icons/warning.svg",
diff --git a/crates/workspace2/src/status_bar.rs b/crates/workspace2/src/status_bar.rs
index c18cc883791..e5b4c1d50aa 100644
--- a/crates/workspace2/src/status_bar.rs
+++ b/crates/workspace2/src/status_bar.rs
@@ -89,7 +89,7 @@ impl Render for StatusBar {
div()
.border()
.border_color(gpui::red())
- .child(IconButton::new("status-github", Icon::Hash)),
+ .child(IconButton::new("status-copilot", Icon::Copilot)),
)
.child(
// Feedback Tool