From 9e1938fdd8cafad37483379a8cc58d8a74ecda6a Mon Sep 17 00:00:00 2001 From: filip mertens Date: Wed, 16 Mar 2022 20:06:43 +0100 Subject: [PATCH] disable --- apps/remix-ide-e2e/src/tests/search.test.ts | 2 +- apps/remix-ide/src/app.js | 7 +++---- apps/remix-ide/src/app/files/dgitProvider.js | 1 - apps/remix-ide/src/remixAppManager.js | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/search.test.ts b/apps/remix-ide-e2e/src/tests/search.test.ts index ce754fc425..f0cc787924 100644 --- a/apps/remix-ide-e2e/src/tests/search.test.ts +++ b/apps/remix-ide-e2e/src/tests/search.test.ts @@ -4,7 +4,7 @@ import { NightwatchBrowser } from 'nightwatch' import init from '../helpers/init' module.exports = { - + '@disabled': true, before: function (browser: NightwatchBrowser, done: VoidFunction) { init(browser, done, 'http://127.0.0.1:8080', true) }, diff --git a/apps/remix-ide/src/app.js b/apps/remix-ide/src/app.js index 732ef24c4a..8fef85bf67 100644 --- a/apps/remix-ide/src/app.js +++ b/apps/remix-ide/src/app.js @@ -30,7 +30,7 @@ const isElectron = require('is-electron') const remixLib = require('@remix-project/remix-lib') import { QueryParams } from '@remix-project/remix-lib' -import { SearchPlugin } from './app/tabs/search' + const Storage = remixLib.Storage const RemixDProvider = require('./app/files/remixDProvider') const Config = require('./config') @@ -149,7 +149,7 @@ class AppComponent { const storagePlugin = new StoragePlugin() //----- search - const search = new SearchPlugin() + // const search = new SearchPlugin() // ----------------- import content service ------------------------ const contentImport = new CompilerImports() @@ -226,7 +226,6 @@ class AppComponent { storagePlugin, hardhatProvider, this.walkthroughService, - search ]) // LAYOUT & SYSTEM VIEWS @@ -337,7 +336,7 @@ class AppComponent { await this.appManager.activatePlugin(['settings', 'config']) await this.appManager.activatePlugin(['hiddenPanel', 'pluginManager', 'contextualListener', 'terminal', 'blockchain', 'fetchAndCompile', 'contentImport', 'gistHandler']) await this.appManager.activatePlugin(['settings']) - await this.appManager.activatePlugin(['walkthrough','storage', 'search']) + await this.appManager.activatePlugin(['walkthrough','storage']) this.appManager.on( 'filePanel', diff --git a/apps/remix-ide/src/app/files/dgitProvider.js b/apps/remix-ide/src/app/files/dgitProvider.js index 9a2fcc8e80..7bd76908ba 100644 --- a/apps/remix-ide/src/app/files/dgitProvider.js +++ b/apps/remix-ide/src/app/files/dgitProvider.js @@ -129,7 +129,6 @@ class DGitProvider extends Plugin { try { remotes = await git.listRemotes({ ...await this.getGitConfig() }) } catch (e) { - console.log(e) } return remotes } diff --git a/apps/remix-ide/src/remixAppManager.js b/apps/remix-ide/src/remixAppManager.js index 7f8269201c..6a1790e3d0 100644 --- a/apps/remix-ide/src/remixAppManager.js +++ b/apps/remix-ide/src/remixAppManager.js @@ -7,7 +7,7 @@ const _paq = window._paq = window._paq || [] const requiredModules = [ // services + layout views + system views 'manager', 'config', 'compilerArtefacts', 'compilerMetadata', 'contextualListener', 'editor', 'offsetToLineColumnConverter', 'network', 'theme', 'fileManager', 'contentImport', 'blockchain', 'web3Provider', 'scriptRunner', 'fetchAndCompile', 'mainPanel', 'hiddenPanel', 'sidePanel', 'menuicons', - 'filePanel', 'terminal', 'settings', 'pluginManager', 'tabs', 'udapp', 'dGitProvider', 'solidity-logic', 'gistHandler', 'layout', 'notification', 'permissionhandler', 'walkthrough', 'storage', 'search'] + 'filePanel', 'terminal', 'settings', 'pluginManager', 'tabs', 'udapp', 'dGitProvider', 'solidity-logic', 'gistHandler', 'layout', 'notification', 'permissionhandler', 'walkthrough', 'storage'] const dependentModules = ['git', 'hardhat', 'slither'] // module which shouldn't be manually activated (e.g git is activated by remixd)