Add copilot icons

Nate Butler created

Change summary

crates/ui2/src/components/icon.rs   | 6 ++++++
crates/workspace2/src/status_bar.rs | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)

Detailed changes

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",

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