Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
assistant2: Add icon for copy-path tool (#27421)
Danilo Leal9468b9699ea0
diff --git a/assets/icons/clipboard.svg b/assets/icons/clipboard.svgnew file mode 100644index 00000000000..5c8842f3b78--- /dev/null+++ b/assets/icons/clipboard.svg@@ -0,0 +1 @@+<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-clipboard"><rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/></svg>diff --git a/crates/assistant2/src/active_thread.rs b/crates/assistant2/src/active_thread.rsindex 8bbfb15ee26..6237478b8fc 100644--- a/crates/assistant2/src/active_thread.rs+++ b/crates/assistant2/src/active_thread.rs@@ -1253,6 +1253,7 @@ impl ActiveThread {let tool_icon = match tool_use.name.as_ref() {"bash" => IconName::Terminal,+ "copy-path" => IconName::Clipboard,"delete-path" => IconName::Trash,"diagnostics" => IconName::Warning,"edit-files" => IconName::Pencil,diff --git a/crates/ui/src/components/icon.rs b/crates/ui/src/components/icon.rsindex 4cc736e2c10..7144c372dfb 100644--- a/crates/ui/src/components/icon.rs+++ b/crates/ui/src/components/icon.rs@@ -169,6 +169,7 @@ pub enum IconName {ChevronUp,ChevronUpDown,Circle,+ Clipboard,Close,Code,Cog,