Repository navigation
[Stashing] Metrics - #7257
[Stashing] Metrics#7257
Conversation
shiftkey
left a comment
There was a problem hiding this comment.
I didn't get a chance to test this out due to time constraints, but the only real bits of feedback I have at this point are non-blocking feedback. Everything else seems to be tracking fine.
Co-Authored-By: Brendan Forster <[email protected]>
@tierninho @iAmWillShepherd this is something we need to investigate/address. i think its because
@tierninho that is ok and expected for this PR. that metric is implemented in #7438, not here. |
This reverts commit 4743c6a.
This reverts commit 607afbd.
| const { isShowingStashEntry, dispatcher, repository } = this.props | ||
|
|
||
| if (isShowingStashEntry) { | ||
| dispatcher.selectWorkingDirectoryFiles(repository) |
There was a problem hiding this comment.
👍 let's follow up after the beta ship today and see if we can settle on something we're happier with
shiftkey
left a comment
There was a problem hiding this comment.
Just one typo to see, everything else is good.
I'd also like a second ✅ from @desktop/engineering before this goes out to beta.
Co-Authored-By: Brendan Forster <[email protected]>

Fixes #7246
Adds telemetry to answer the questions:
stashCreatedOnCurrentBranchCountchangesTakenToNewBranchCountstashRestoreCountstashDiscardCountnoActionTakenOnStashCountstashViewedAfterCheckoutCountstashNotViewedAfterCheckoutCountsuggestedStepViewStashstashViewCountstashEntriesCreatedOutsideDesktop- Implemented in Reimplement baseline stashing metrics on top of last prod release #7470Testing
To see metrics, go to Application -> IndexedDB -> StatsDatabase -> dailyMeasures in chrome devtools.
stashCreatedOnCurrentBranchCountstashCreatedOnCurrentBranchCountstashCreatedOnCurrentBranchCounthas been incremented by 1changesTakenToNewBranchCountchangesTakenToNewBranchCountchangesTakenToNewBranchCounthas been incremented by 1stashRestoreCount(performed on branch with existing stash)stashRestoreCountstashRestoreCounthas been incremented by 1note, metric will increment even if restore fails since it's measuring user intent, not restore success
stashDiscardCount(performed on branch with existing stash)stashDiscardCountstashDiscardCounthas been incremented by 1note, metric will increment even if restore fails since it's measuring user intent, not discard success
noActionTakenOnStashCount(performed on branch with existing stash)noActionTakenOnStashCountnoActionTakenOnStashCounthas been incremented by 1stashViewedAfterCheckoutCountnoActionTakenOnStashCountstashViewedAfterCheckoutCounthas been incremented by 1stashViewedAfterCheckoutCounthas not changedstashNotViewedAfterCheckoutCountstashNotViewedAfterCheckoutCountstashNotViewedAfterCheckoutCounthas been incremented by 1suggestedStepViewStash(performed on branch with existing stash)suggestedStepViewStashsuggestedStepViewStashhas been incremented by 1stashViewCount(performed on branch with existing stash)stashViewCountstashViewCounthas been incremented by 1stashViewCounthas remained unchangedstashViewCounthas been incremented by 1stashEntriesCreatedOutsideDesktop(start in a repo other than the testing repo)stashEntriesCreatedOutsideDesktopstashEntriesCreatedOutsideDesktophas been incremented by 1note, since this metric is incremented on a schedule, once verifying the metric, a new repo will have to be created to get around the 24 hour check.