diff --git a/apps/remix-ide/src/app.js b/apps/remix-ide/src/app.js index 1e92f1af3c..572043cd4f 100644 --- a/apps/remix-ide/src/app.js +++ b/apps/remix-ide/src/app.js @@ -47,7 +47,7 @@ import {FileDecorator} from './app/plugins/file-decorator' import {CodeFormat} from './app/plugins/code-format' import {SolidityUmlGen} from './app/plugins/solidity-umlgen' import { CompilationDetailsPlugin } from './app/plugins/compile-details' -import { VyperCompilationDetailsPlugin } from './app/plugins/vyper-compile-details' +import { VyperCompilationDetailsPlugin } from './app/plugins/vyper-compilation-details' import {ContractFlattener} from './app/plugins/contractFlattener' import {OpenAIGpt} from './app/plugins/openaigpt' @@ -131,12 +131,10 @@ class AppComponent { 'remix.ethereum.org': 23, '6fd22d6fe5549ad4c4d8fd3ca0b7816b.mod': 35 // remix desktop } - - this.matomoConfAlreadySet = Registry.getInstance().get('config').api.exists('settings/matomo-analytics') - this.matomoCurrentSetting = Registry.getInstance().get('config').api.get('settings/matomo-analytics') - this.showMatamo = matomoDomains[window.location.hostname] && !this.matomoConfAlreadySet - - this.walkthroughService = new WalkthroughService(appManager) + this.showMatamo = matomoDomains[window.location.hostname] && !Registry.getInstance().get('config').api.exists('settings/matomo-analytics') + this.showEnter = matomoDomains[window.location.hostname] && !localStorage.getItem('hadUsageTypeAsked') + + this.walkthroughService = new WalkthroughService(appManager, !this.showMatamo || !this.showEnter) const hosts = ['127.0.0.1:8080', '192.168.0.101:8080', 'localhost:8080'] // workaround for Electron support diff --git a/apps/remix-ide/src/app/plugins/vyper-comile-details.tsx b/apps/remix-ide/src/app/plugins/vyper-compilation-details.tsx similarity index 99% rename from apps/remix-ide/src/app/plugins/vyper-comile-details.tsx rename to apps/remix-ide/src/app/plugins/vyper-compilation-details.tsx index 8c9c63b7f2..52d5931834 100644 --- a/apps/remix-ide/src/app/plugins/vyper-comile-details.tsx +++ b/apps/remix-ide/src/app/plugins/vyper-compilation-details.tsx @@ -3,7 +3,7 @@ import { ViewPlugin } from '@remixproject/engine-web' import {PluginViewWrapper} from '@remix-ui/helper' import { RemixAppManager } from '../../remixAppManager' import { RemixUiVyperCompileDetails } from '@remix-ui/vyper-compile-details' - +//@ts-ignore const _paq = (window._paq = window._paq || []) const profile = { diff --git a/tsconfig.paths.json b/tsconfig.paths.json index 54fa2e8876..73a9d0ff7e 100644 --- a/tsconfig.paths.json +++ b/tsconfig.paths.json @@ -100,6 +100,9 @@ "@remix-ui/solidity-compile-details": [ "libs/remix-ui/solidity-compile-details/src/index.ts" ], + "@remix-ui/vyper-compile-details": [ + "libs/remix-ui/vyper-compile-details/src/index.ts" + ], "@remix-ui/solidity-compiler": [ "libs/remix-ui/solidity-compiler/src/index.ts" ], @@ -156,9 +159,6 @@ ], "@remixproject/walletconnect-plugin": [ "apps/walletconnect/src/index.ts" - ], - "@remixproject/vyper-compile-details": [ - "apps/vyper-compile-details/src/index.ts" ] } }