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.

Add missing commit event reporting (#26990)

Cole Millere38ae423f1f6
diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rs
index cea1d9b4631..b52bd344196 100644
--- a/crates/git_ui/src/git_panel.rs
+++ b/crates/git_ui/src/git_panel.rs
@@ -2944,6 +2944,10 @@ impl GitPanel {
.disabled(!can_commit || self.modal_open)
.on_click({
cx.listener(move |this, _: &ClickEvent, window, cx| {
+ telemetry::event!(
+ "Git Committed",
+ source = "Git Panel"
+ );
this.commit_changes(window, cx)
})
}),