@@ -35,6 +35,7 @@ import { EnvironmentList } from './EnvironmentList'
35
35
import { MAX_LENGTH_350 } from '../../../config/constantMessaging'
36
36
import { getModuleInfo } from '../../v2/devtronStackManager/DevtronStackManager.service'
37
37
import { MODAL_STATE , OVERVIEW_TABS , TAB_SEARCH_KEY } from './constants'
38
+ import ReactGA from 'react-ga4'
38
39
const MandatoryTagWarning = importComponentFromFELibrary ( 'MandatoryTagWarning' )
39
40
const Catalog = importComponentFromFELibrary ( 'Catalog' )
40
41
const DependencyList = importComponentFromFELibrary ( 'DependencyList' )
@@ -79,6 +80,12 @@ export default function AppOverview({ appMetaInfo, getAppMetaInfoRes, filteredEn
79
80
}
80
81
81
82
const toggleUpdateDependencyModal = ( ) => {
83
+ ReactGA . event ( {
84
+ category : 'Application Dependency' ,
85
+ action : 'Edit Dependency' ,
86
+ label : 'Edit Dependency' ,
87
+ } )
88
+
82
89
if ( isUpdateDependencyModalOpen ) {
83
90
searchParams . delete ( MODAL_STATE . key )
84
91
} else {
@@ -481,6 +488,7 @@ export default function AppOverview({ appMetaInfo, getAppMetaInfoRes, filteredEn
481
488
isUpdateModalOpen = { isUpdateDependencyModalOpen }
482
489
toggleUpdateModalOpen = { toggleUpdateDependencyModal }
483
490
toggleButtonDisabledState = { setIsEditDependencyButtonDisabled }
491
+ filteredEnvIds = { filteredEnvIds }
484
492
/>
485
493
) : null ,
486
494
}
0 commit comments