Uncomment valid events & Updated upload icon tooltip

pull/5370/head
ioedeveloper 4 years ago
parent 96aee93748
commit e73b2a7910
  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.gitHandle = new GitHandle()
this.event = new EventManager() this.event = new EventManager()
// fileExplorer.ensureRoot()
this._deps.fileProviders.localhost.event.register('connecting', (event) => { this._deps.fileProviders.localhost.event.register('connecting', (event) => {
}) })
// this._deps.fileProviders.localhost.event.register('connected', (event) => { this._deps.fileProviders.localhost.event.register('connected', (event) => {
// fileSystemExplorer.show() this.remixdExplorer.show()
// }) })
// this._deps.fileProviders.localhost.event.register('errored', (event) => { this._deps.fileProviders.localhost.event.register('errored', (event) => {
// fileSystemExplorer.hide() this.remixdExplorer.hide()
// }) })
// this._deps.fileProviders.localhost.event.register('closed', (event) => { this._deps.fileProviders.localhost.event.register('closed', (event) => {
// fileSystemExplorer.hide() this.remixdExplorer.hide()
// }) })
this.renderComponent() this.renderComponent()
} }

@ -21,7 +21,7 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => {
}, },
{ {
action: 'uploadFile', 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' icon: 'fa fa-upload'
}, },
{ {

Loading…
Cancel
Save