Add copilot icons

This commit is contained in:
Nate Butler 2023-11-24 09:22:31 -05:00
parent 31565a810d
commit 6a3925c3e1
2 changed files with 7 additions and 1 deletions

View file

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

View file

@ -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