Add tracelogging for drag&drop on the new tab button (#10726)
As discussed in team sync. Is this a mysterious dark pattern we didn't know about? * [x] closes #10721 * [x] I work here * [x] doesn't need tests * [x] doesn't need docs * see also #10160
This commit is contained in:
parent
6e70c4ae07
commit
5f2ac4e3e7
|
@ -264,6 +264,13 @@ namespace winrt::TerminalApp::implementation
|
|||
NewTerminalArgs args;
|
||||
args.StartingDirectory(winrt::hstring{ pathText });
|
||||
this->_OpenNewTerminal(args);
|
||||
|
||||
TraceLoggingWrite(
|
||||
g_hTerminalAppProvider,
|
||||
"NewTabByDragDrop",
|
||||
TraceLoggingDescription("Event emitted when the user drag&drops onto the new tab button"),
|
||||
TraceLoggingKeyword(MICROSOFT_KEYWORD_MEASURES),
|
||||
TelemetryPrivacyDataTag(PDT_ProductAndServicePerformance));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue