Fix telemetry event type names (cherry-pick #34974) (#34975)

Cherry-picked Fix telemetry event type names (#34974)

Release Notes:

- N/A

Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>
This commit is contained in:
gcp-cherry-pick-bot[bot] 2025-07-23 17:09:42 -04:00 committed by GitHub
parent d61db1fae7
commit 4727ae35d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -237,7 +237,7 @@ impl ZedAiOnboarding {
.icon_color(Color::Muted)
.icon_size(IconSize::XSmall)
.on_click(move |_, _window, cx| {
telemetry::event!("Review Terms of Service Click");
telemetry::event!("Review Terms of Service Clicked");
cx.open_url(&zed_urls::terms_of_service(cx))
}),
)
@ -248,7 +248,7 @@ impl ZedAiOnboarding {
.on_click({
let callback = self.accept_terms_of_service.clone();
move |_, window, cx| {
telemetry::event!("Accepted Terms of Service");
telemetry::event!("Terms of Service Accepted");
(callback)(window, cx)}
}),
)