ai onboarding: Add telemetry event capturing (#34960)

Release Notes:

- N/A

Co-authored-by: Katie Geer <katie@zed.dev>
Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>
This commit is contained in:
Danilo Leal
2025-07-23 17:33:53 +00:00
committed by GitHub
co-authored by Katie Geer Joseph T. Lyons
parent 3b428e2ecc
commit fdcd86617a
4 changed files with 37 additions and 6 deletions
+4
View File
@@ -910,6 +910,10 @@ impl MessageEditor {
.on_click({
let focus_handle = focus_handle.clone();
move |_event, window, cx| {
telemetry::event!(
"Agent Message Sent",
agent = "zed",
);
focus_handle.dispatch_action(
&Chat, window, cx,
);