mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
Fix onboarding telemetry so it fires again
This commit is contained in:
parent
f56219e503
commit
31059eefc2
1 changed files with 2 additions and 2 deletions
|
|
@ -182,7 +182,6 @@ pub fn init(cx: &mut App) {
|
|||
}
|
||||
|
||||
pub fn show_onboarding_view(app_state: Arc<AppState>, cx: &mut App) -> Task<anyhow::Result<()>> {
|
||||
telemetry::event!("Onboarding Page Opened");
|
||||
open_new(
|
||||
Default::default(),
|
||||
app_state,
|
||||
|
|
@ -247,6 +246,7 @@ impl Onboarding {
|
|||
.filter(|id| installed_agents.contains_key(**id))
|
||||
.copied()
|
||||
.collect::<Vec<_>>();
|
||||
telemetry::event!("Onboarding Page Opened");
|
||||
telemetry::event!(
|
||||
"Welcome Agent Setup Viewed",
|
||||
zed_agent = zed_agent_state,
|
||||
|
|
@ -401,7 +401,7 @@ impl Item for Onboarding {
|
|||
}
|
||||
|
||||
fn telemetry_event_text(&self) -> Option<&'static str> {
|
||||
Some("Onboarding Page Opened")
|
||||
None
|
||||
}
|
||||
|
||||
fn show_toolbar(&self) -> bool {
|
||||
|
|
|
|||
Loading…
Reference in a new issue