diff options
Diffstat (limited to 'src/features/workspaces/components/WorkspaceDrawer.js')
-rw-r--r-- | src/features/workspaces/components/WorkspaceDrawer.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/features/workspaces/components/WorkspaceDrawer.js b/src/features/workspaces/components/WorkspaceDrawer.js index 684e50dd0..7a36285c2 100644 --- a/src/features/workspaces/components/WorkspaceDrawer.js +++ b/src/features/workspaces/components/WorkspaceDrawer.js | |||
@@ -10,7 +10,6 @@ import ReactTooltip from 'react-tooltip'; | |||
10 | import WorkspaceDrawerItem from './WorkspaceDrawerItem'; | 10 | import WorkspaceDrawerItem from './WorkspaceDrawerItem'; |
11 | import { workspaceActions } from '../actions'; | 11 | import { workspaceActions } from '../actions'; |
12 | import { GA_CATEGORY_WORKSPACES, workspaceStore } from '../index'; | 12 | import { GA_CATEGORY_WORKSPACES, workspaceStore } from '../index'; |
13 | import { gaEvent } from '../../../lib/analytics'; | ||
14 | 13 | ||
15 | const messages = defineMessages({ | 14 | const messages = defineMessages({ |
16 | headline: { | 15 | headline: { |
@@ -154,7 +153,6 @@ class WorkspaceDrawer extends Component { | |||
154 | className={classes.workspacesSettingsButton} | 153 | className={classes.workspacesSettingsButton} |
155 | onClick={() => { | 154 | onClick={() => { |
156 | workspaceActions.openWorkspaceSettings(); | 155 | workspaceActions.openWorkspaceSettings(); |
157 | gaEvent(GA_CATEGORY_WORKSPACES, 'settings', 'drawerHeadline'); | ||
158 | }} | 156 | }} |
159 | data-tip={`${intl.formatMessage(messages.workspacesSettingsTooltip)}`} | 157 | data-tip={`${intl.formatMessage(messages.workspacesSettingsTooltip)}`} |
160 | > | 158 | > |
@@ -176,7 +174,6 @@ class WorkspaceDrawer extends Component { | |||
176 | icon="mdiStar" | 174 | icon="mdiStar" |
177 | onClick={() => { | 175 | onClick={() => { |
178 | onUpgradeAccountClick(); | 176 | onUpgradeAccountClick(); |
179 | gaEvent('User', 'upgrade', 'workspaceDrawer'); | ||
180 | }} | 177 | }} |
181 | /> | 178 | /> |
182 | ) : ( | 179 | ) : ( |
@@ -187,7 +184,6 @@ class WorkspaceDrawer extends Component { | |||
187 | icon="mdiPlusBox" | 184 | icon="mdiPlusBox" |
188 | onClick={() => { | 185 | onClick={() => { |
189 | workspaceActions.openWorkspaceSettings(); | 186 | workspaceActions.openWorkspaceSettings(); |
190 | gaEvent(GA_CATEGORY_WORKSPACES, 'add', 'drawerPremiumCta'); | ||
191 | }} | 187 | }} |
192 | /> | 188 | /> |
193 | )} | 189 | )} |
@@ -199,7 +195,6 @@ class WorkspaceDrawer extends Component { | |||
199 | onClick={() => { | 195 | onClick={() => { |
200 | workspaceActions.deactivate(); | 196 | workspaceActions.deactivate(); |
201 | workspaceActions.toggleWorkspaceDrawer(); | 197 | workspaceActions.toggleWorkspaceDrawer(); |
202 | gaEvent(GA_CATEGORY_WORKSPACES, 'switch', 'drawer'); | ||
203 | }} | 198 | }} |
204 | services={getServicesForWorkspace(null)} | 199 | services={getServicesForWorkspace(null)} |
205 | isActive={actualWorkspace == null} | 200 | isActive={actualWorkspace == null} |
@@ -213,7 +208,6 @@ class WorkspaceDrawer extends Component { | |||
213 | if (actualWorkspace === workspace) return; | 208 | if (actualWorkspace === workspace) return; |
214 | workspaceActions.activate({ workspace }); | 209 | workspaceActions.activate({ workspace }); |
215 | workspaceActions.toggleWorkspaceDrawer(); | 210 | workspaceActions.toggleWorkspaceDrawer(); |
216 | gaEvent(GA_CATEGORY_WORKSPACES, 'switch', 'drawer'); | ||
217 | }} | 211 | }} |
218 | onContextMenuEditClick={() => workspaceActions.edit({ workspace })} | 212 | onContextMenuEditClick={() => workspaceActions.edit({ workspace })} |
219 | services={getServicesForWorkspace(workspace)} | 213 | services={getServicesForWorkspace(workspace)} |
@@ -223,7 +217,6 @@ class WorkspaceDrawer extends Component { | |||
223 | className={classes.addNewWorkspaceLabel} | 217 | className={classes.addNewWorkspaceLabel} |
224 | onClick={() => { | 218 | onClick={() => { |
225 | workspaceActions.openWorkspaceSettings(); | 219 | workspaceActions.openWorkspaceSettings(); |
226 | gaEvent(GA_CATEGORY_WORKSPACES, 'add', 'drawerAddLabel'); | ||
227 | }} | 220 | }} |
228 | > | 221 | > |
229 | <Icon | 222 | <Icon |