Add more open events

project search
diagnostics
welcome page
This commit is contained in:
Joseph T. Lyons 2024-01-15 16:26:04 -05:00
parent e2f08a6cca
commit ba9a9f4f17
13 changed files with 110 additions and 31 deletions

View file

@ -176,10 +176,13 @@ fn main() {
telemetry.start(installation_id, session_id, cx);
telemetry.report_setting_event("theme", cx.theme().name.to_string());
telemetry.report_setting_event("keymap", BaseKeymap::get_global(cx).to_string());
telemetry.report_app_event(match existing_installation_id_found {
Some(false) => "first open",
_ => "open",
});
telemetry.report_app_event(
match existing_installation_id_found {
Some(false) => "first open",
_ => "open",
}
.to_string(),
);
telemetry.flush_events();
let app_state = Arc::new(AppState {