-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log number of interactive sessions #17682
Conversation
This comment has been minimized.
This comment has been minimized.
@@ -42,6 +42,7 @@ class WindowThread : public std::enable_shared_from_this<WindowThread> | |||
winrt::event_token _UpdateSettingsRequestedToken; | |||
|
|||
std::unique_ptr<::IslandWindow> _warmWindow{ nullptr }; | |||
static bool _loggedInteraction; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to attach statics to classes. It's just fine to have mutable statics inside functions. If they're of trivial types (bool, int, float, etc.) there's no difference. (For complex types there's a difference: Class statics get initialized like globals on startup and function statics get initialized the first time execution passes over them.)
This sends a telemetry event if a session is interacted with. Specifically, key events are essential to have an interactive session in Windows Terminal, so we're tracking sessions that have had a key down event. (cherry picked from commit ac865e6) Service-Card-Id: 93498660 Service-Version: 1.21
This sends a telemetry event if a session is interacted with. Specifically, key events are essential to have an interactive session in Windows Terminal, so we're tracking sessions that have had a key down event. (cherry picked from commit ac865e6) Service-Card-Id: 93498659 Service-Version: 1.20
Adds a description and keyword for the `SessionBecameInteractive` event Follow-up from #17682
This sends a telemetry event if a session is interacted with. Specifically, key events are essential to have an interactive session in Windows Terminal, so we're tracking sessions that have had a key down event.