Add missing commit event reporting (#26990)
cc @morgankrey Release Notes: - N/A
This commit is contained in:
parent
68bb3bd5eb
commit
e38ae423f1
@ -2944,6 +2944,10 @@ impl GitPanel {
|
|||||||
.disabled(!can_commit || self.modal_open)
|
.disabled(!can_commit || self.modal_open)
|
||||||
.on_click({
|
.on_click({
|
||||||
cx.listener(move |this, _: &ClickEvent, window, cx| {
|
cx.listener(move |this, _: &ClickEvent, window, cx| {
|
||||||
|
telemetry::event!(
|
||||||
|
"Git Committed",
|
||||||
|
source = "Git Panel"
|
||||||
|
);
|
||||||
this.commit_changes(window, cx)
|
this.commit_changes(window, cx)
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user