From af6da2d64137cd0d7a28aa194041ce3d9d487118 Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Tue, 18 Mar 2025 10:52:32 -0400 Subject: [PATCH] Add missing commit event reporting (#26990) cc @morgankrey Release Notes: - N/A --- crates/git_ui/src/git_panel.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rs index 07c1fc23c8a2a9f32abac5d39cb85fda79327035..afc8667c60fd8dd7fcf461e0279ba1df4c7aaef1 100644 --- a/crates/git_ui/src/git_panel.rs +++ b/crates/git_ui/src/git_panel.rs @@ -2925,6 +2925,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) }) }),