From 15d3f7c3da00e82475eaf2a66d0c19bc04c5c6dd Mon Sep 17 00:00:00 2001 From: "gcp-cherry-pick-bot[bot]" <98988430+gcp-cherry-pick-bot[bot]@users.noreply.github.com> Date: Tue, 18 Mar 2025 11:31:35 -0400 Subject: [PATCH] Add missing commit event reporting (cherry-pick #26990) (#26993) Cherry-picked Add missing commit event reporting (#26990) cc @morgankrey Release Notes: - N/A Co-authored-by: Cole Miller --- 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) }) }),