Skip to content

Commit 7d12cc3

Browse files
authored
Apply suggestions from code review
1 parent e08293a commit 7d12cc3

File tree

1 file changed

+6
-6
lines changed
  • packages/app/src/app/overmind/namespaces/git

1 file changed

+6
-6
lines changed

packages/app/src/app/overmind/namespaces/git/actions.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const createRepoClicked: AsyncAction = async ({
111111
effects,
112112
actions,
113113
}) => {
114-
effects.analytics.track('Create repo');
114+
effects.analytics.track('GitHub - Create Repo');
115115
const { repoTitle } = state.git;
116116
const modulesNotSaved = !state.editor.isAllModulesSynced;
117117

@@ -166,7 +166,7 @@ export const createRepoClicked: AsyncAction = async ({
166166
};
167167

168168
export const openSourceSandbox: Action = ({ state, effects }) => {
169-
effects.analytics.track('Open source sandbox');
169+
effects.analytics.track('GitHub - Open Source Sandbox');
170170
const git = state.editor.currentSandbox!.baseGit
171171
? state.editor.currentSandbox!.baseGit
172172
: state.editor.currentSandbox!.originalGit;
@@ -179,7 +179,7 @@ export const createCommitClicked: AsyncAction = async ({
179179
effects,
180180
actions,
181181
}) => {
182-
effects.analytics.track('Create commit');
182+
effects.analytics.track('GitHub - Create Commit');
183183
const sandbox = state.editor.currentSandbox!;
184184
const git = state.git;
185185

@@ -252,7 +252,7 @@ export const createPrClicked: AsyncAction = async ({
252252
effects,
253253
actions,
254254
}) => {
255-
effects.analytics.track('Open PR');
255+
effects.analytics.track('GitHub - Open PR');
256256
const git = state.git;
257257
git.isCreatingPr = true;
258258
git.pr = null;
@@ -344,7 +344,7 @@ export const resolveConflicts: AsyncAction<Module> = async (
344344
{ state, actions, effects },
345345
module
346346
) => {
347-
effects.analytics.track('Resolve conflicts');
347+
effects.analytics.track('GitHub - Resolve Conflicts');
348348
const conflict = state.git.conflicts.find(
349349
conflictItem => module.path === '/' + conflictItem.filename
350350
);
@@ -428,7 +428,7 @@ export const resolveOutOfSync: AsyncAction = async ({
428428
actions,
429429
effects,
430430
}) => {
431-
effects.analytics.track('Resolve out of sync');
431+
effects.analytics.track('GitHub - Resolve out of sync');
432432
const git = state.git;
433433
const { added, deleted, modified } = git.outOfSyncUpdates;
434434
git.isResolving = true;

0 commit comments

Comments
 (0)