-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Beginner onboarding #1320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Beginner onboarding #1320
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
b94b47e
testing intro.js
LianaHus 96367d4
example
LianaHus 8500806
put js and css files to assets locally
LianaHus 129c5ce
style of header
LianaHus c5b2387
typo
LianaHus f765951
test
LianaHus 14be170
Merge branch 'fixexports' of https://github.com/ethereum/remix-projec…
b05c85f
Delete soljson_.js
LianaHus 025788d
generateTestFile duplicates file
f4d11e5
Merge branch 'master' into closeTabs
bunsenstraat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| const introJs = require('intro.js') | ||
|
|
||
| export class WalkthroughService { | ||
| constructor (params) { | ||
| this.params = params | ||
| } | ||
|
|
||
| start (params) { | ||
| if (!localStorage.getItem('hadTour_initial')) { | ||
| introJs().setOptions({ | ||
| steps: [{ | ||
| title: 'Welcome to Remix IDE', | ||
| intro: 'Click to launch the Home tab that contains links, tips, and shortcuts..', | ||
| element: document.querySelector('#verticalIconsHomeIcon'), | ||
| tooltipClass: 'bg-light text-dark', | ||
| position: 'right' | ||
| }, | ||
| { | ||
| element: document.querySelector('#compileIcons'), | ||
| title: 'Solidity Compiler', | ||
| intro: 'Having selected a .sol file in the File Explorers (the icon above), compile it with the Solidity Compiler.', | ||
| tooltipClass: 'bg-light text-dark', | ||
| position: 'right' | ||
| }, | ||
| { | ||
| title: 'Deploy your contract', | ||
| element: document.querySelector('#runIcons'), | ||
| intro: 'Choose a chain, deploy a contract and play with your functions.', | ||
| tooltipClass: 'bg-light text-dark', | ||
| position: 'right' | ||
| } | ||
| ] | ||
| }).onafterchange((targetElement) => { | ||
| const header = document.getElementsByClassName('introjs-tooltip-header')[0] | ||
| if (header) { | ||
| header.classList.add('d-flex') | ||
| header.classList.add('justify-content-between') | ||
| header.classList.add('text-nowrap') | ||
| header.classList.add('pr-0') | ||
| } | ||
| const skipbutton = document.getElementsByClassName('introjs-skipbutton')[0] | ||
| if (skipbutton) { | ||
| skipbutton.classList.add('ml-3') | ||
| skipbutton.classList.add('text-decoration-none') | ||
| skipbutton.id = 'remixTourSkipbtn' | ||
| } | ||
| }).start() | ||
| localStorage.setItem('hadTour_initial', true) | ||
| } | ||
| } | ||
|
|
||
| startFeatureTour () { | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.