diff --git a/apps/remix-ide/src/app.js b/apps/remix-ide/src/app.js index d88b3272cf..f965ee3071 100644 --- a/apps/remix-ide/src/app.js +++ b/apps/remix-ide/src/app.js @@ -20,6 +20,7 @@ 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') @@ -499,4 +500,10 @@ Please make a backup of your contracts and start using http://remix.ethereum.org framingService.start(params) if (params.embed) framingService.embed() + //if (!params) { + if (!localStorage.getItem('hadTour_initial')) { + introJs().start() + localStorage.setItem('hadTour_initial', true) + } + //} } diff --git a/apps/remix-ide/src/app/components/vertical-icons.js b/apps/remix-ide/src/app/components/vertical-icons.js index 7a31682ed1..04ea78e5f6 100644 --- a/apps/remix-ide/src/app/components/vertical-icons.js +++ b/apps/remix-ide/src/app/components/vertical-icons.js @@ -270,16 +270,18 @@ export class VerticalIcons extends Plugin { this.iconKind.settings = yo`
` this.view = yo` -