zed/crates/zed2
Joseph T. Lyons f33c0e80a6
Add app events (#3372)
Adds app events (`first open` and `open`). For the time being, I'm
abandonding trying to add `close`, after running into many issues
trying. The code is in place for me to continue on that work, but at the
moment, we require having the telemetry settings in hand when calling
any of the methods that log an event, so we can honor the user's
preference for sending telemetry or not, but when running the
`on_app_close` method, to send off an app `close` event, the settings
are no longer available (probably the order of teardown?), which causes
some tests to end up failing. I'm not sure how to solve this. Maybe we
keep the settings on the telemetry struct and update it each time any
event is logged, then, on app shutdown, when logging the app `close`
event, we can use the stored version (idk).

Release Notes:

- N/A
2023-11-22 23:16:28 -05:00
..
contents Fix bundle script 2023-11-17 17:44:41 -08:00
resources WIP 2023-10-21 17:52:47 +02:00
src Add app events (#3372) 2023-11-22 23:16:28 -05:00
build.rs Make the commit sha availabe in the app, via a global 2023-11-17 14:52:43 -08:00
Cargo.toml Merge remote-tracking branch 'origin/callback-handles' into search2 2023-11-21 00:40:20 +01:00