Add telemetry for new tab menu traffic #19142
Open
+116
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of the Pull Request
Adds new telemetry events to track traffic through the new tab menu. Specifically, the following events are added:
NewTabMenuDefaultButtonClicked
: Event emitted when the default button from the new tab split button is invokedNewTabMenuOpened
: Event emitted when the new tab menu is openedNewTabMenuClosed
: Event emitted when the new tab menu is closedNewTabMenuItemClicked
: Event emitted when an item from the new tab menu is invokedItemType
parameter that can be set toSettings
,CommandPalette
,About,
Profile,
Action`TabCount
parameter that keeps tracked of the number of tabs in the window before changing the stateNewTabMenuCreatedNewTerminalSession
: Event emitted when a new terminal was created via the new tab menuSessionType
parameter that can be set toElevatedWindow
,Window
,Pane
,Tab
TabCount
, has aNewTabCount
that keeps track of the new number of tabs after the session has been createdNewTabMenuItemElevateSubmenuItemClicked
: Event emitted when the elevate submenu item from the new tab menu is invokedValidation Steps Performed
Used TVPP to see events generated from interacting with the new tab menu.