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.

Remove duplicate message bubble icon (#27699)

Danilo Leald63658cee2f9
diff --git a/assets/icons/message_circle.svg b/assets/icons/message_circle.svg
deleted file mode 100644
index e44c8607ea4..00000000000
--- a/assets/icons/message_circle.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-circle-more"><path d="M7.9 20A9 9 0 1 0 4 16.1L2 22Z"/><path d="M8 12h.01"/><path d="M12 12h.01"/><path d="M16 12h.01"/></svg>
diff --git a/crates/assistant2/src/context.rs b/crates/assistant2/src/context.rs
index bea281f260f..0f9fc6a3f6d 100644
--- a/crates/assistant2/src/context.rs
+++ b/crates/assistant2/src/context.rs
@@ -50,7 +50,7 @@ impl ContextKind {
ContextKind::Directory => IconName::Folder,
ContextKind::Symbol => IconName::Code,
ContextKind::FetchedUrl => IconName::Globe,
- ContextKind::Thread => IconName::MessageCircle,
+ ContextKind::Thread => IconName::MessageBubbles,
}
}
}
diff --git a/crates/assistant2/src/context_picker.rs b/crates/assistant2/src/context_picker.rs
index 7db267edaa3..7e5537145a2 100644
--- a/crates/assistant2/src/context_picker.rs
+++ b/crates/assistant2/src/context_picker.rs
@@ -84,7 +84,7 @@ impl ContextPickerMode {
Self::File => IconName::File,
Self::Symbol => IconName::Code,
Self::Fetch => IconName::Globe,
- Self::Thread => IconName::MessageCircle,
+ Self::Thread => IconName::MessageBubbles,
}
}
}
diff --git a/crates/assistant2/src/context_picker/completion_provider.rs b/crates/assistant2/src/context_picker/completion_provider.rs
index 30f0f0074e3..6105f294e50 100644
--- a/crates/assistant2/src/context_picker/completion_provider.rs
+++ b/crates/assistant2/src/context_picker/completion_provider.rs
@@ -152,7 +152,7 @@ impl ContextPickerCompletionProvider {
let icon_for_completion = if recent {
IconName::HistoryRerun
} else {
- IconName::MessageCircle
+ IconName::MessageBubbles
};
let new_text = format!("@thread {}", thread_entry.summary);
let new_text_len = new_text.len();
@@ -164,7 +164,7 @@ impl ContextPickerCompletionProvider {
source: project::CompletionSource::Custom,
icon_path: Some(icon_for_completion.path().into()),
confirm: Some(confirm_completion_callback(
- IconName::MessageCircle.path().into(),
+ IconName::MessageBubbles.path().into(),
thread_entry.summary.clone(),
excerpt_id,
source_range.start,
diff --git a/crates/assistant2/src/context_picker/thread_context_picker.rs b/crates/assistant2/src/context_picker/thread_context_picker.rs
index 6099029fd69..4c51edae097 100644
--- a/crates/assistant2/src/context_picker/thread_context_picker.rs
+++ b/crates/assistant2/src/context_picker/thread_context_picker.rs
@@ -197,7 +197,7 @@ pub fn render_thread_context_entry(
.gap_1p5()
.max_w_72()
.child(
- Icon::new(IconName::MessageCircle)
+ Icon::new(IconName::MessageBubbles)
.size(IconSize::XSmall)
.color(Color::Muted),
)
diff --git a/crates/icons/src/icons.rs b/crates/icons/src/icons.rs
index ab0068f6757..3f91caae68f 100644
--- a/crates/icons/src/icons.rs
+++ b/crates/icons/src/icons.rs
@@ -146,7 +146,6 @@ pub enum IconName {
Maximize,
Menu,
MessageBubbles,
- MessageCircle,
Cloud,
Mic,
MicMute,