Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Change the context menu and Copilot settings icon (#14501)
Danilo Lealfdd233eea956
diff --git a/crates/inline_completion_button/src/inline_completion_button.rs b/crates/inline_completion_button/src/inline_completion_button.rsindex d500b223e30..1918481e41f 100644--- a/crates/inline_completion_button/src/inline_completion_button.rs+++ b/crates/inline_completion_button/src/inline_completion_button.rs@@ -286,7 +286,7 @@ impl InlineCompletionButton {self.build_language_settings_menu(menu, cx).separator().link(- "Copilot Settings",+ "Go to Copilot Settings",OpenBrowser {url: COPILOT_SETTINGS_URL.to_string(),}diff --git a/crates/ui/src/components/context_menu.rs b/crates/ui/src/components/context_menu.rsindex 379f5a4a58f..0c9b61f1f98 100644--- a/crates/ui/src/components/context_menu.rs+++ b/crates/ui/src/components/context_menu.rs@@ -178,7 +178,7 @@ impl ContextMenu {action: Some(action.boxed_clone()),handler: Rc::new(move |_, cx| cx.dispatch_action(action.boxed_clone())),- icon: Some(IconName::Link),+ icon: Some(IconName::ArrowUpRight),});self}@@ -360,7 +360,7 @@ impl Render for ContextMenu {h_flex().gap_1().child(Label::new(label.clone()))- .child(Icon::new(*icon))+ .child(Icon::new(*icon).size(IconSize::Small)).into_any_element()} else {Label::new(label.clone()).into_any_element()