diff --git a/apps/remix-ide/src/app.js b/apps/remix-ide/src/app.js
index f965ee3071..04a52ff91a 100644
--- a/apps/remix-ide/src/app.js
+++ b/apps/remix-ide/src/app.js
@@ -7,6 +7,7 @@ import PanelsResize from './lib/panels-resize'
import { RemixEngine } from './remixEngine'
import { RemixAppManager } from './remixAppManager'
import { FramingService } from './framingService'
+import { WalkthroughService } from './walkthroughService'
import { MainView } from './app/panels/main-view'
import { ThemeModule } from './app/tabs/theme-module'
import { NetworkModule } from './app/tabs/network-module'
@@ -20,7 +21,6 @@ import { MainPanel } from './app/components/main-panel'
import { OffsetToLineColumnConverter, CompilerMetadata, CompilerArtefacts, FetchAndCompile, CompilerImports } from '@remix-project/core-plugin'
import migrateFileSystem from './migrateFileSystem'
-const introJs = require('intro.js')
const isElectron = require('is-electron')
const csjs = require('csjs-inject')
@@ -113,7 +113,11 @@ const css = csjs`
fill: var(--secondary);
}
.centered svg polygon {
- fill: var(--secondary);
+ fill : var(--secondary);
+ }
+ .onboarding {
+ color : var(--text-info);
+ background-color : var(--info)
}
.matomoBtn {
width : 100px;
@@ -127,11 +131,11 @@ class App {
self._components = {}
self._view = {}
self._view.splashScreen = yo`
-
- ${basicLogo()}
-
- REMIX IDE
-
+
+ ${basicLogo()}
+
+ REMIX IDE
+
`
document.body.appendChild(self._view.splashScreen)
@@ -497,13 +501,12 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
// Load and start the service who manager layout and frame
const framingService = new FramingService(sidePanel, menuicons, mainview, this._components.resizeFeature)
- framingService.start(params)
if (params.embed) framingService.embed()
- //if (!params) {
- if (!localStorage.getItem('hadTour_initial')) {
- introJs().start()
- localStorage.setItem('hadTour_initial', true)
- }
- //}
+ framingService.start(params)
+
+ const walkthroughService = new WalkthroughService(localStorage)
+ if (!params.code) {
+ walkthroughService.start()
+ }
}
diff --git a/apps/remix-ide/src/app/components/vertical-icons.js b/apps/remix-ide/src/app/components/vertical-icons.js
index 04ea78e5f6..54b77f9720 100644
--- a/apps/remix-ide/src/app/components/vertical-icons.js
+++ b/apps/remix-ide/src/app/components/vertical-icons.js
@@ -69,12 +69,14 @@ export class VerticalIcons extends Plugin {
title = title.replace(/^\w/, c => c.toUpperCase())
this.icons[name] = yo`
+ data-id="verticalIconsKind${name}"
+ id="verticalIconsKind${name}"
+ >
`
this.iconKind[kind || 'none'].appendChild(this.icons[name])
@@ -249,13 +251,14 @@ export class VerticalIcons extends Plugin {
render () {
const home = yo`
${basicLogo()}
@@ -270,8 +273,8 @@ export class VerticalIcons extends Plugin {
this.iconKind.settings = yo`
`
this.view = yo`
-
-
+
+
${home}
${this.iconKind.fileexplorer}
${this.iconKind.compiler}
@@ -294,7 +297,6 @@ const css = csjs`
width: 42px;
height: 42px;
margin-bottom: 20px;
- margin-left: -5px;
cursor: pointer;
}
.homeIcon svg path {
@@ -304,8 +306,6 @@ const css = csjs`
fill: var(--primary);
}
.icons {
- margin-left: 10px;
- margin-top: 15px;
}
.icon {
cursor: pointer;
diff --git a/apps/remix-ide/src/index.html b/apps/remix-ide/src/index.html
index dd238f72b8..7322cb46a5 100644
--- a/apps/remix-ide/src/index.html
+++ b/apps/remix-ide/src/index.html
@@ -30,6 +30,7 @@
Remix - Ethereum IDE
+
@@ -117,6 +118,6 @@
-
+