Skip to content

Commit f9d3e64

Browse files
committed
Updates streamline collaboration usage triggers
1 parent 7fc39ac commit f9d3e64

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/constants.commands.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ export const enum Commands {
171171
ShowCommitsView = 'gitlens.showCommitsView',
172172
ShowContributorsView = 'gitlens.showContributorsView',
173173
ShowDraftsView = 'gitlens.showDraftsView',
174+
FocusDraftsView = 'gitlens.views.drafts.focus',
174175
ShowFileHistoryView = 'gitlens.showFileHistoryView',
175176
ShowGraph = 'gitlens.showGraph',
176177
ShowGraphPage = 'gitlens.showGraphPage',

src/telemetry/walkthroughStateProvider.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,16 @@ const walkthroughRequiredMapping: Readonly<Map<WalkthroughContextKeys, Walkthrou
8787
{
8888
subscriptionStates: triedProStates,
8989
subscriptionCommands: tryProCommands,
90-
usage: [`command:${Commands.CreateCloudPatch}:executed`, `command:${Commands.CreatePatch}:executed`],
90+
usage: [
91+
`patchDetailsView:shown`,
92+
`patchDetailsWebview:shown`,
93+
`draftsView:shown`,
94+
`command:${Commands.ShowDraftsView}:executed`,
95+
`command:${Commands.ShowPatchDetailsPage}:executed`,
96+
`command:${Commands.CreateCloudPatch}:executed`,
97+
`command:${Commands.CreatePatch}:executed`,
98+
`command:${Commands.FocusDraftsView}:executed`,
99+
],
91100
},
92101
],
93102
[

0 commit comments

Comments
 (0)