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.

Differentiate between file and selection diff events (#35014)

Joseph T. Lyons5c9363b1c474
diff --git a/crates/git_ui/src/text_diff_view.rs b/crates/git_ui/src/text_diff_view.rs
index be1866a3544..005c1e18b40 100644
--- a/crates/git_ui/src/text_diff_view.rs
+++ b/crates/git_ui/src/text_diff_view.rs
@@ -316,7 +316,7 @@ impl Item for TextDiffView {
}
fn telemetry_event_text(&self) -> Option<&'static str> {
- Some("Diff View Opened")
+ Some("Selection Diff View Opened")
}
fn deactivated(&mut self, window: &mut Window, cx: &mut Context<Self>) {