Add missing commit event reporting (#26990)

cc @morgankrey 

Release Notes:

- N/A
This commit is contained in:
Cole Miller 2025-03-18 10:52:32 -04:00 committed by GitHub
parent 68bb3bd5eb
commit e38ae423f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)
})
}),