Add missing commit event reporting (#26990)

cc @morgankrey 

Release Notes:

- N/A
This commit is contained in:
Cole Miller
2025-03-18 14:52:32 +00:00
committed by GitHub
parent 68bb3bd5eb
commit e38ae423f1
+4
View File
@@ -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)
})
}),