diff --git a/src/app/components/plugin-manager-component.js b/src/app/components/plugin-manager-component.js index da4e938faa..cd624dcedf 100644 --- a/src/app/components/plugin-manager-component.js +++ b/src/app/components/plugin-manager-component.js @@ -58,7 +58,7 @@ const profile = { description: 'Start/stop services, modules and plugins', kind: 'settings', location: 'sidePanel', - documentation: 'plugin_manager.html', + documentation: 'https://remix-ide.readthedocs.io/en/latest/plugin_manager.html', version: packageJson.version } diff --git a/src/app/components/side-panel.js b/src/app/components/side-panel.js index 829afce5bd..aa8327a055 100644 --- a/src/app/components/side-panel.js +++ b/src/app/components/side-panel.js @@ -74,8 +74,7 @@ export class SidePanel extends AbstractPanel { if (this.active) { const { profile } = this.store.getOne(this.active) name = profile.displayName ? profile.displayName : profile.name - const docsRoot = 'https://remix.readthedocs.io/en/latest/' - docLink = profile.documentation ? yo`` : '' + docLink = profile.documentation ? yo`` : '' if (profile.version && profile.version.match(/\b(\w*alpha\w*)\b/g)) { versionWarning = yo`alpha` } diff --git a/src/app/files/remixd-handle.js b/src/app/files/remixd-handle.js index a2c746a681..c6ff8d770c 100644 --- a/src/app/files/remixd-handle.js +++ b/src/app/files/remixd-handle.js @@ -94,9 +94,12 @@ function remixdDialog () { return yo`
Interact with your file system from Remix. Click connect and find shared folder in the Remix file explorer (under localhost). - Before you get started, check out the Remixd tutorial. + Before you get started, check out the Remixd tutorial. to find out how to run Remixd.
+
If you have looked at that tutorial and are just looking for the remixd command,
here it is: +
remixd -s absolute-path-to-the-shared-folder --remix-ide your-remix-ide-URL-instance +
Connection will start a session between ${window.location.href} and your local file system ws://127.0.0.1:65520 so please make sure your system is secured enough (port 65520 neither opened nor forwarded). will show you current connection status. diff --git a/src/app/panels/file-panel.js b/src/app/panels/file-panel.js index 8cd260c34a..2c8d844611 100644 --- a/src/app/panels/file-panel.js +++ b/src/app/panels/file-panel.js @@ -37,7 +37,7 @@ const profile = { description: ' - ', kind: 'fileexplorer', location: 'sidePanel', - documentation: 'file_explorer.html', + documentation: 'https://remix-ide.readthedocs.io/en/latest/file_explorer.html', version: packageJson.version } diff --git a/src/app/tabs/analysis-tab.js b/src/app/tabs/analysis-tab.js index 0ce3bf79fd..5f4c8fecec 100644 --- a/src/app/tabs/analysis-tab.js +++ b/src/app/tabs/analysis-tab.js @@ -16,7 +16,7 @@ const profile = { description: 'Checks the contract code for security vulnerabilities and bad practices.', kind: 'analysis', location: 'sidePanel', - documentation: 'static_analysis.html', + documentation: 'https://remix-ide.readthedocs.io/en/latest/static_analysis.html', version: packageJson.version } diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index e66e218223..85db2a50b9 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -28,7 +28,7 @@ const profile = { kind: 'compile', permission: true, location: 'sidePanel', - documentation: 'solidity_editor.html', + documentation: 'https://remix-ide.readthedocs.io/en/latest/solidity_editor.html', version: packageJson.version } diff --git a/src/app/tabs/debugger-tab.js b/src/app/tabs/debugger-tab.js index 5b46bb4c64..9aa8853190 100644 --- a/src/app/tabs/debugger-tab.js +++ b/src/app/tabs/debugger-tab.js @@ -15,7 +15,7 @@ const profile = { description: 'Debug transactions', kind: 'debugging', location: 'sidePanel', - documentation: 'debugger.html', + documentation: 'https://remix-ide.readthedocs.io/en/latest/debugger.html', version: packageJson.version } diff --git a/src/app/tabs/run-tab.js b/src/app/tabs/run-tab.js index d53a19e381..9c58bac17e 100644 --- a/src/app/tabs/run-tab.js +++ b/src/app/tabs/run-tab.js @@ -26,7 +26,7 @@ const profile = { description: 'execute and save transactions', kind: 'run', location: 'sidePanel', - documentation: 'run.html', + documentation: 'https://remix-ide.readthedocs.io/en/latest/run.html', version: packageJson.version } diff --git a/src/app/tabs/settings-tab.js b/src/app/tabs/settings-tab.js index a29698f766..575a0caece 100644 --- a/src/app/tabs/settings-tab.js +++ b/src/app/tabs/settings-tab.js @@ -16,7 +16,7 @@ const profile = { description: 'Remix-IDE settings', kind: 'settings', location: 'sidePanel', - documentation: 'settings.html', + documentation: 'https://remix-ide.readthedocs.io/en/latest/settings.html', version: packageJson.version } diff --git a/src/app/tabs/test-tab.js b/src/app/tabs/test-tab.js index 51e2c96929..10c6e85104 100644 --- a/src/app/tabs/test-tab.js +++ b/src/app/tabs/test-tab.js @@ -15,7 +15,7 @@ const profile = { icon: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4wUDEhQZ0zbrmQAAAfNJREFUWMPF17lrFVEUx/EPaIKovfAScSndjUtULFQSYhHF0r/Dwsa/RywUiTaWgvaChWsiKkSMZte4o7G5A49x7r0zLy/PA6eZOef3PXebuYfu2xCmcQ9b9NgOYw6rwR9ia6/gR7HQBi/8PjavN/w4FivghV9bT/gwlhLwHzjTVPQ8rqAvE3ciA/+O8abwy/gVBG4lijiJ5czIL64FXvhNbCzFnaoBv9AUPo7fEcEb2BDiTuNTAv4NYxX6u/EIM7GZuZoQXcX1sJk+J2K+YrRCexfetsX9xKVyUB9uZ4r4k3j3BSMR+JvIMv2zQfsxkSkiBj9XAd8ZgRf+vmop+nGnAXwlcs534HUm93FsQ9YtIjby7XiVyZ3BntSpyBWxgrMR+FQG/gF76xzNftxtMO1rgo+G5AdBqLBN4d9eCCyHD1En8Oi0j4UPSBE4hcFSERN4Fz7BZRvEZKcjHynBC5/EQI1lGqgJ3xcTmE4kvswUMRBiUvCPKTg8zQi8QKsirxXe5eD7c1N4ALMZoeelIlrhWSpnNmjXsoM1iihmYhueZGIXcKTp7/hQ6UZb5c+Cp2LmglZHVqeIlC+G2/GarNMiFnGsWzfdpkV0Fd7e5czXgC+FvmDdWq35/wVvbzbnI/DhXvV9Q6W+r6fw9hZsKnjX4H8B0Aamri7CrBsAAAAASUVORK5CYII=', description: 'Fast tool to generate unit tests for your contracts', location: 'sidePanel', - documentation: 'unittesting.html' + documentation: 'https://remix-ide.readthedocs.io/en/latest/unittesting.html' } module.exports = class TestTab extends BaseApi { diff --git a/src/remixAppManager.js b/src/remixAppManager.js index 3b48bfc86d..ee98c1ae05 100644 --- a/src/remixAppManager.js +++ b/src/remixAppManager.js @@ -110,11 +110,27 @@ export class RemixAppManager extends AppManagerApi { icon: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSIxMDI0IiB3aWR0aD0iMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNOTUwLjE1NCAxOTJINzMuODQ2QzMzLjEyNyAxOTIgMCAyMjUuMTI2OTk5OTk5OTk5OTUgMCAyNjUuODQ2djQ5Mi4zMDhDMCA3OTguODc1IDMzLjEyNyA4MzIgNzMuODQ2IDgzMmg4NzYuMzA4YzQwLjcyMSAwIDczLjg0Ni0zMy4xMjUgNzMuODQ2LTczLjg0NlYyNjUuODQ2QzEwMjQgMjI1LjEyNjk5OTk5OTk5OTk1IDk5MC44NzUgMTkyIDk1MC4xNTQgMTkyek01NzYgNzAzLjg3NUw0NDggNzA0VjUxMmwtOTYgMTIzLjA3N0wyNTYgNTEydjE5MkgxMjhWMzIwaDEyOGw5NiAxMjggOTYtMTI4IDEyOC0wLjEyNVY3MDMuODc1ek03NjcuMDkxIDczNS44NzVMNjA4IDUxMmg5NlYzMjBoMTI4djE5Mmg5Nkw3NjcuMDkxIDczNS44NzV6Ii8+PC9zdmc+', location: 'sidePanel' } + var provable = { + name: 'provable', + displayName: 'Provable - oracle service', + events: [], + methods: [], + notifications: { + 'udapp': ['newTransaction'], + 'network': ['providerChanged'] + }, + url: 'https://remix-plugin.provable.xyz', + documentation: 'https://docs.oraclize.it/#development-tools-remix-ide-provable-plugin', + description: 'request real-world data for your contracts', + icon: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNTcuNT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ii8+PGNpcmNsZSBjeD0iMzQuNzkiIGN5PSIxMTAuNSIgcj0iNy43NSIvPjwvZz48L3N2Zz4=', + location: 'sidePanel' + } return [ new Plugin(pipeline), new Plugin(vyper), new Plugin(etherscan), - new Plugin(ethdoc) + new Plugin(ethdoc), + new Plugin(provable) ] } }