|
|
|
@ -59,27 +59,27 @@ function HomeTabFeaturedPlugins ({plugin}: HomeTabFeaturedPluginsProps) { |
|
|
|
|
const startSolidity = async () => { |
|
|
|
|
await plugin.appManager.activatePlugin(['solidity', 'udapp', 'solidityStaticAnalysis', 'solidityUnitTesting']) |
|
|
|
|
plugin.verticalIcons.select('solidity') |
|
|
|
|
_paq.push(['trackEvent', 'pluginManager', 'userActivate', 'solidity']) |
|
|
|
|
_paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'solidity']) |
|
|
|
|
} |
|
|
|
|
const startStarkNet = async () => { |
|
|
|
|
await plugin.appManager.activatePlugin('starkNet_compiler') |
|
|
|
|
plugin.verticalIcons.select('starkNet_compiler') |
|
|
|
|
_paq.push(['trackEvent', 'pluginManager', 'userActivate', 'starkNet_compiler']) |
|
|
|
|
_paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'starkNet_compiler']) |
|
|
|
|
} |
|
|
|
|
const startSolhint = async () => { |
|
|
|
|
await plugin.appManager.activatePlugin(['solidity', 'solhint']) |
|
|
|
|
plugin.verticalIcons.select('solhint') |
|
|
|
|
_paq.push(['trackEvent', 'pluginManager', 'userActivate', 'solhint']) |
|
|
|
|
_paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'solhint']) |
|
|
|
|
} |
|
|
|
|
const startSourceVerify = async () => { |
|
|
|
|
await plugin.appManager.activatePlugin(['solidity', 'sourcify']) |
|
|
|
|
plugin.verticalIcons.select('sourcify') |
|
|
|
|
_paq.push(['trackEvent', 'pluginManager', 'userActivate', 'sourcify']) |
|
|
|
|
_paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'sourcify']) |
|
|
|
|
}
|
|
|
|
|
const startSolidityUnitTesting = async () => { |
|
|
|
|
await plugin.appManager.activatePlugin(['solidity', 'solidityUnitTesting']) |
|
|
|
|
plugin.verticalIcons.select('solidityUnitTesting') |
|
|
|
|
_paq.push(['trackEvent', 'pluginManager', 'userActivate', 'solidityUnitTesting']) |
|
|
|
|
_paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'solidityUnitTesting']) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|