Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit bc9ccc4

Browse files
committed
clear help docs counters
1 parent 008173a commit bc9ccc4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/GitHub.App/ViewModels/PullRequestDetailViewModel.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,9 +481,6 @@ IObservable<Unit> DoCheckout(object unused)
481481
return Observable.Defer(async () =>
482482
{
483483
var localBranches = await pullRequestsService.GetLocalBranches(repository, Model).ToList();
484-
485-
usageTracker.IncrementPullRequestCheckOutCount(IsFromFork).Forget();
486-
487484
if (localBranches.Count > 0)
488485
{
489486
return pullRequestsService.SwitchToBranch(repository, Model);

src/GitHub.VisualStudio/Services/UsageTracker.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,9 @@ static void ClearCounters(UsageModel usage, bool weekly, bool monthly)
353353
usage.NumberOfForkPullRequestsCheckedOut = 0;
354354
usage.NumberOfForkPullRequestPulls = 0;
355355
usage.NumberOfForkPullRequestPushes = 0;
356+
usage.NumberOfGitHubPaneHelpClicks = 0;
357+
usage.NumberOfWelcomeTrainingClicks = 0;
358+
usage.NumberOfWelcomeDocsClicks = 0;
356359

357360
if (weekly)
358361
usage.NumberOfStartupsWeek = 0;

0 commit comments

Comments
 (0)