@@ -111,6 +111,7 @@ export const createRepoClicked: AsyncAction = async ({
111111 effects,
112112 actions,
113113} ) => {
114+ effects . analytics . track ( 'GitHub - Create Repo' ) ;
114115 const { repoTitle } = state . git ;
115116 const modulesNotSaved = ! state . editor . isAllModulesSynced ;
116117
@@ -165,6 +166,7 @@ export const createRepoClicked: AsyncAction = async ({
165166} ;
166167
167168export const openSourceSandbox : Action = ( { state, effects } ) => {
169+ effects . analytics . track ( 'GitHub - Open Source Sandbox' ) ;
168170 const git = state . editor . currentSandbox ! . baseGit
169171 ? state . editor . currentSandbox ! . baseGit
170172 : state . editor . currentSandbox ! . originalGit ;
@@ -177,6 +179,7 @@ export const createCommitClicked: AsyncAction = async ({
177179 effects,
178180 actions,
179181} ) => {
182+ effects . analytics . track ( 'GitHub - Create Commit' ) ;
180183 const sandbox = state . editor . currentSandbox ! ;
181184 const git = state . git ;
182185
@@ -249,6 +252,7 @@ export const createPrClicked: AsyncAction = async ({
249252 effects,
250253 actions,
251254} ) => {
255+ effects . analytics . track ( 'GitHub - Open PR' ) ;
252256 const git = state . git ;
253257 git . isCreatingPr = true ;
254258 git . pr = null ;
@@ -337,9 +341,10 @@ export const updateGitChanges: Operator = pipe(
337341) ;
338342
339343export const resolveConflicts : AsyncAction < Module > = async (
340- { state, actions } ,
344+ { state, actions, effects } ,
341345 module
342346) => {
347+ effects . analytics . track ( 'GitHub - Resolve Conflicts' ) ;
343348 const conflict = state . git . conflicts . find (
344349 conflictItem => module . path === '/' + conflictItem . filename
345350 ) ;
@@ -423,6 +428,7 @@ export const resolveOutOfSync: AsyncAction = async ({
423428 actions,
424429 effects,
425430} ) => {
431+ effects . analytics . track ( 'GitHub - Resolve out of sync' ) ;
426432 const git = state . git ;
427433 const { added, deleted, modified } = git . outOfSyncUpdates ;
428434 git . isResolving = true ;
0 commit comments