diff --git a/package.json b/package.json index a82e294f05..2a91edf0e4 100644 --- a/package.json +++ b/package.json @@ -175,6 +175,7 @@ "nightwatch_local_terminal": "nightwatch ./test-browser/tests/terminal.js --config nightwatch.js --env chrome ", "nightwatch_local_gist": "nightwatch ./test-browser/tests/gist.js --config nightwatch.js --env chrome ", "nightwatch_local_workspace": "nightwatch ./test-browser/tests/workspace.js --config nightwatch.js --env chrome ", + "nightwatch_local_defaultLayout": "nightwatch ./test-browser/tests/defaultLayout.js --config nightwatch.js --env chrome ", "onchange": "onchange build/app.js -- npm-run-all lint", "prepublish": "mkdirp build; npm-run-all -ls downloadsolc_root build", "remixd": "remixd -s ./contracts --remix-ide http://127.0.0.1:8080", diff --git a/src/app.js b/src/app.js index 4c3fcbff44..dc61a21b26 100644 --- a/src/app.js +++ b/src/app.js @@ -141,21 +141,21 @@ class App { if (self._view.el) return self._view.el // not resizable self._view.iconpanel = yo` -
+
${''}
` // center panel, resizable self._view.sidepanel = yo` -
+
${''}
` // handle the editor + terminal self._view.mainpanel = yo` -
+
${''}
` diff --git a/src/app/components/main-panel.js b/src/app/components/main-panel.js index fc63087a76..def2acc62e 100644 --- a/src/app/components/main-panel.js +++ b/src/app/components/main-panel.js @@ -26,7 +26,7 @@ export class MainPanel extends AbstractPanel { render () { return yo` -
+
${this.view}
` } diff --git a/src/app/components/side-panel.js b/src/app/components/side-panel.js index 24142cfafe..ac110c3a82 100644 --- a/src/app/components/side-panel.js +++ b/src/app/components/side-panel.js @@ -132,7 +132,7 @@ export class SidePanel extends AbstractPanel { return yo`
-
${name}
+
${name}
${docLink} ${versionWarning}
diff --git a/src/app/components/vertical-icons.js b/src/app/components/vertical-icons.js index cef410640d..4084948dfb 100644 --- a/src/app/components/vertical-icons.js +++ b/src/app/components/vertical-icons.js @@ -227,6 +227,7 @@ export class VerticalIcons extends Plugin { this.appManager.ensureActivated('home') }}" plugin="home" title="Home" + data-id="verticalIconsHomeIcon" > remix_logo1 @@ -238,7 +239,7 @@ export class VerticalIcons extends Plugin {
` this.iconKind['fileexplorer'] = yo` -
+
` @@ -273,7 +274,7 @@ export class VerticalIcons extends Plugin { ` this.iconKind['settings'] = yo` -
+
` diff --git a/src/app/panels/file-panel.js b/src/app/panels/file-panel.js index 5aacc97a87..6ebf715fdd 100644 --- a/src/app/panels/file-panel.js +++ b/src/app/panels/file-panel.js @@ -64,7 +64,7 @@ module.exports = class Filepanel extends ViewPlugin { const explorers = yo`
-
${fileExplorer.init()}
+
${fileExplorer.init()}
${fileSystemExplorer.init()}
` diff --git a/src/app/panels/terminal.js b/src/app/panels/terminal.js index eabdbee0bd..40f3635359 100644 --- a/src/app/panels/terminal.js +++ b/src/app/panels/terminal.js @@ -123,14 +123,14 @@ class Terminal extends Plugin { self._view.input.innerText = '\n' self._view.cli = yo` -
+
${'>'} ${self._view.input}
` self._view.icon = yo` ` + class="btn btn-secondary btn-sm align-items-center ${css.toggleTerminal} fas fa-angle-double-down" data-id="terminalToggleIcon">` self._view.dragbar = yo`
` @@ -146,7 +146,7 @@ class Terminal extends Plugin { self._view.bar = yo`
${self._view.dragbar} -
+
${self._view.icon}