From b5423a3931be43c9a7f88c1ac5af2b0d4a7d8f21 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Wed, 13 Jul 2022 19:07:50 +0530 Subject: [PATCH] add maintainedBy to show green badge --- apps/remix-ide/src/app/panels/file-panel.js | 3 ++- apps/remix-ide/src/app/tabs/analysis-tab.js | 3 ++- apps/remix-ide/src/app/tabs/compile-tab.js | 1 + apps/remix-ide/src/app/tabs/debugger-tab.js | 3 ++- apps/remix-ide/src/app/tabs/search.tsx | 3 ++- apps/remix-ide/src/app/tabs/test-tab.js | 3 ++- apps/remix-ide/src/app/udapp/run-tab.js | 1 + 7 files changed, 12 insertions(+), 5 deletions(-) diff --git a/apps/remix-ide/src/app/panels/file-panel.js b/apps/remix-ide/src/app/panels/file-panel.js index 983a54af70..ba45ff806b 100644 --- a/apps/remix-ide/src/app/panels/file-panel.js +++ b/apps/remix-ide/src/app/panels/file-panel.js @@ -37,7 +37,8 @@ const profile = { kind: 'fileexplorer', location: 'sidePanel', documentation: 'https://remix-ide.readthedocs.io/en/latest/file_explorer.html', - version: packageJson.version + version: packageJson.version, + maintainedBy: 'Remix' } module.exports = class Filepanel extends ViewPlugin { constructor (appManager) { diff --git a/apps/remix-ide/src/app/tabs/analysis-tab.js b/apps/remix-ide/src/app/tabs/analysis-tab.js index f17b0da52b..21c123c9bf 100644 --- a/apps/remix-ide/src/app/tabs/analysis-tab.js +++ b/apps/remix-ide/src/app/tabs/analysis-tab.js @@ -18,7 +18,8 @@ const profile = { kind: 'analysis', location: 'sidePanel', documentation: 'https://remix-ide.readthedocs.io/en/latest/static_analysis.html', - version: packageJson.version + version: packageJson.version, + maintainedBy: 'Remix' } class AnalysisTab extends ViewPlugin { diff --git a/apps/remix-ide/src/app/tabs/compile-tab.js b/apps/remix-ide/src/app/tabs/compile-tab.js index 23a53846f7..5ba54ed30f 100644 --- a/apps/remix-ide/src/app/tabs/compile-tab.js +++ b/apps/remix-ide/src/app/tabs/compile-tab.js @@ -19,6 +19,7 @@ const profile = { location: 'sidePanel', documentation: 'https://remix-ide.readthedocs.io/en/latest/solidity_editor.html', version: packageJson.version, + maintainedBy: 'Remix', methods: ['getCompilationResult', 'compile', 'compileWithParameters', 'setCompilerConfig', 'compileFile', 'getCompilerState'] } diff --git a/apps/remix-ide/src/app/tabs/debugger-tab.js b/apps/remix-ide/src/app/tabs/debugger-tab.js index 63debf4553..a06db0c508 100644 --- a/apps/remix-ide/src/app/tabs/debugger-tab.js +++ b/apps/remix-ide/src/app/tabs/debugger-tab.js @@ -17,7 +17,8 @@ const profile = { kind: 'debugging', location: 'sidePanel', documentation: 'https://remix-ide.readthedocs.io/en/latest/debugger.html', - version: packageJson.version + version: packageJson.version, + maintainedBy: 'Remix' } export class DebuggerTab extends DebuggerApiMixin(ViewPlugin) { diff --git a/apps/remix-ide/src/app/tabs/search.tsx b/apps/remix-ide/src/app/tabs/search.tsx index 3e0df1a893..f9a00045cc 100644 --- a/apps/remix-ide/src/app/tabs/search.tsx +++ b/apps/remix-ide/src/app/tabs/search.tsx @@ -12,7 +12,8 @@ const profile = { kind: '', location: 'sidePanel', documentation: '', - version: packageJson.version + version: packageJson.version, + maintainedBy: 'Remix' } export class SearchPlugin extends ViewPlugin { diff --git a/apps/remix-ide/src/app/tabs/test-tab.js b/apps/remix-ide/src/app/tabs/test-tab.js index 3c6e1a4b4c..b5c9518d23 100644 --- a/apps/remix-ide/src/app/tabs/test-tab.js +++ b/apps/remix-ide/src/app/tabs/test-tab.js @@ -18,7 +18,8 @@ const profile = { icon: 'assets/img/unitTesting.webp', description: 'Write and run unit tests for your contracts in Solidity', location: 'sidePanel', - documentation: 'https://remix-ide.readthedocs.io/en/latest/unittesting.html' + documentation: 'https://remix-ide.readthedocs.io/en/latest/unittesting.html', + maintainedBy: 'Remix' } module.exports = class TestTab extends ViewPlugin { diff --git a/apps/remix-ide/src/app/udapp/run-tab.js b/apps/remix-ide/src/app/udapp/run-tab.js index 02087b671f..c12e67ae87 100644 --- a/apps/remix-ide/src/app/udapp/run-tab.js +++ b/apps/remix-ide/src/app/udapp/run-tab.js @@ -17,6 +17,7 @@ const profile = { location: 'sidePanel', documentation: 'https://remix-ide.readthedocs.io/en/latest/run.html', version: packageJson.version, + maintainedBy: 'Remix', permission: true, events: ['newTransaction'], methods: ['createVMAccount', 'sendTransaction', 'getAccounts', 'pendingTransactionsCount', 'getSettings', 'setEnvironmentMode', 'clearAllInstances', 'addInstance', 'resolveContractAndAddInstance']