ZIm/crates/gpui2
Joseph T. Lyons 010d43b17f 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-23 09:04:44 -05:00
..
docs Document contexts 2023-11-14 19:52:51 -07:00
src Add app events (#3372) 2023-11-23 09:04:44 -05:00
tests Re-implement actions as derive macros instead of blanket impls 2023-11-16 17:32:02 -08:00
build.rs Tooltips in mouse event handler & fix executor timer 2023-11-03 18:02:58 -04:00
Cargo.toml Update Taffy to latest main 2023-11-18 21:30:33 -07:00