need another metric

This one will be used to identify "people who have committed to a repo with at least one protected branch"
This commit is contained in:
Brendan Forster 2019-05-21 11:53:09 -03:00
parent 27f67c5e9b
commit 9b20094c5b
3 changed files with 5 additions and 0 deletions

View file

@ -140,6 +140,9 @@ export interface IDailyMeasures {
/** The number of times the user made a commit to a protected GitHub or GitHub Enterprise repository */
readonly commitsToProtectedBranch: number
/** A flag indicating the user made a commit to a repository with branch protections enabled */
readonly commitWithBranchProtectionsEnabled: boolean
/** The number of times the user dismissed the merge conflicts dialog */
readonly mergeConflictsDialogDismissalCount: number

View file

@ -101,6 +101,7 @@ const DefaultDailyMeasures: IDailyMeasures = {
suggestedStepPublishBranch: 0,
suggestedStepCreatePullRequest: 0,
commitsToProtectedBranch: 0,
commitWithBranchProtectionsEnabled: false,
}
interface IOnboardingStats {

View file

@ -35,6 +35,7 @@ These are general metrics about feature usage and specific feature behaviors. Th
| `coAuthoredCommits` | The number of commits created with one or more co-authors. | To understand usage patterns of commits made in Desktop. |
| `commits` | The number of commits made. | To understand usage patterns of commits made in Desktop. |
| `commitsToProtectedBranch` | Flag indicating the user committed to a repository with protected branches set. | To understand whether the app could guide users depending on the repository configuration. |
| `commitWithBranchProtectionsEnabled` | The number of commits made to a protected branch. | To understand whether the app could guide users depending on the repository configuration. |
| `createPullRequestCount` | The number of times the user is taken to the create pull request page on GitHub.com. | To understand how people are creating pull requests via Desktop. |
| `defaultBranchComparisons` | The number of times a branch is compared to the default branch. | To understand usage patterns around the compare branches feature. |
| `divergingBranchBannerDismissal` | The number of times the user dismisses the diverged branch notification. | To understand usage patterns around the notification of diverging from the default branch feature. |