Uncomment valid events & Updated upload icon tooltip

pull/668/head
ioedeveloper 4 years ago
parent e4568dad92
commit e001bfb409
  1. 19
      apps/remix-ide/src/app/panels/file-panel.js
  2. 2
      libs/remix-ui/file-explorer/src/lib/file-explorer-menu.tsx

@ -74,21 +74,20 @@ module.exports = class Filepanel extends ViewPlugin {
this.gitHandle = new GitHandle()
this.event = new EventManager()
// fileExplorer.ensureRoot()
this._deps.fileProviders.localhost.event.register('connecting', (event) => {
})
// this._deps.fileProviders.localhost.event.register('connected', (event) => {
// fileSystemExplorer.show()
// })
this._deps.fileProviders.localhost.event.register('connected', (event) => {
this.remixdExplorer.show()
})
// this._deps.fileProviders.localhost.event.register('errored', (event) => {
// fileSystemExplorer.hide()
// })
this._deps.fileProviders.localhost.event.register('errored', (event) => {
this.remixdExplorer.hide()
})
// this._deps.fileProviders.localhost.event.register('closed', (event) => {
// fileSystemExplorer.hide()
// })
this._deps.fileProviders.localhost.event.register('closed', (event) => {
this.remixdExplorer.hide()
})
this.renderComponent()
}

@ -21,7 +21,7 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => {
},
{
action: 'uploadFile',
title: 'Upload Local files to the Browser Storage Explorer',
title: 'Load a local file into Remix\'s browser folder',
icon: 'fa fa-upload'
},
{

Loading…
Cancel
Save