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:
Mike Griese 2021-07-20 11:19:48 -05:00 committed by GitHub
parent 6e70c4ae07
commit 5f2ac4e3e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));
}
}