File tree Expand file tree Collapse file tree 5 files changed +13
-1
lines changed Expand file tree Collapse file tree 5 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,9 @@ export default class Performance extends DashboardView {
102
102
}
103
103
104
104
componentWillMount ( ) {
105
+ // Send track event
106
+ back4AppNavigation && back4AppNavigation . atAnalyticsPerformanceEvent ( )
107
+
105
108
this . handleRunQuery ( this . context . currentApp ) ;
106
109
}
107
110
@@ -156,7 +159,7 @@ export default class Performance extends DashboardView {
156
159
renderContent ( ) {
157
160
let toolbar = (
158
161
< Toolbar
159
- section = 'Analytics'
162
+ section = 'Analytics'
160
163
subsection = 'Performance' />
161
164
) ;
162
165
Original file line number Diff line number Diff line change @@ -228,6 +228,8 @@ export default class Browser extends DashboardView {
228
228
this . state . counts [ className ] = 0 ;
229
229
history . push ( this . context . generatePath ( 'browser/' + className ) ) ;
230
230
} ) . then ( ( ) => {
231
+ // Send track event
232
+ back4AppNavigation && back4AppNavigation . createClassClickEvent ( )
231
233
this . setState ( { showCreateClassDialog : false } ) ;
232
234
} ) . catch ( error => {
233
235
let errorDeletingNote = 'Internal server error'
Original file line number Diff line number Diff line change @@ -178,6 +178,8 @@ class Config extends TableView {
178
178
ActionTypes . SET ,
179
179
{ param : name , value : value }
180
180
) . then ( ( ) => {
181
+ // Send track event
182
+ back4AppNavigation && back4AppNavigation . createConfigParameterEvent ( )
181
183
this . setState ( { modalOpen : false } ) ;
182
184
} , ( ) => {
183
185
// Catch the error
Original file line number Diff line number Diff line change @@ -76,6 +76,9 @@ export default class Logs extends DashboardView {
76
76
}
77
77
78
78
renderContent ( ) {
79
+ // Send track event
80
+ back4AppNavigation && back4AppNavigation . atParseLogsEvent ( )
81
+
79
82
let toolbar = null ;
80
83
if ( subsections [ this . props . params . type ] ) {
81
84
toolbar = (
Original file line number Diff line number Diff line change @@ -159,6 +159,8 @@ export default class Webhooks extends TableView {
159
159
iconSize = { 30 }
160
160
open = { this . state . showNewWebhookModal }
161
161
onSubmit = { ( ) => {
162
+ // Send track event
163
+ back4AppNavigation && back4AppNavigation . createWebhookEvent ( )
162
164
return this . props . webhooks . dispatch ( WebhookActionTypes . CREATE , hookRequestData ( this . state ) ) ;
163
165
} }
164
166
onClose = { ( ) => {
You can’t perform that action at this time.
0 commit comments