@@ -7,7 +7,7 @@ const profile = {
7
7
displayName : 'Walkthrough' ,
8
8
description : 'Remix walkthrough for beginner' ,
9
9
version : packageJson . version ,
10
- methods : [ 'start' , ' startRecorderW']
10
+ methods : [ 'startRecorderW' ]
11
11
}
12
12
13
13
export class WalkthroughService extends Plugin {
@@ -67,51 +67,4 @@ export class WalkthroughService extends Plugin {
67
67
}
68
68
} ) . start ( )
69
69
}
70
-
71
- start ( ) {
72
- if ( ! localStorage . getItem ( 'hadTour_initial' ) ) {
73
- introJs ( ) . setOptions ( {
74
- steps : [ {
75
- title : 'Welcome to Remix IDE' ,
76
- intro : 'Click to launch the Home tab that contains links, tips, and shortcuts..' ,
77
- element : document . querySelector ( '#verticalIconsHomeIcon' ) ,
78
- tooltipClass : 'bg-light text-dark' ,
79
- position : 'right' ,
80
- highlightClass : 'bg-light border border-warning'
81
- } ,
82
- {
83
- element : document . querySelector ( '#verticalIconsKindsolidity' ) ,
84
- title : 'Solidity Compiler' ,
85
- intro : 'Having selected a .sol file in the File Explorer (the icon above), compile it with the Solidity Compiler.' ,
86
- tooltipClass : 'bg-light text-dark' ,
87
- position : 'right' ,
88
- highlightClass : 'bg-light border border-warning'
89
- } ,
90
- {
91
- title : 'Deploy your contract' ,
92
- element : document . querySelector ( '#verticalIconsKindudapp' ) ,
93
- intro : 'Choose a chain, deploy a contract and play with your functions.' ,
94
- tooltipClass : 'bg-light text-dark' ,
95
- position : 'right' ,
96
- highlightClass : 'bg-light border border-warning'
97
- }
98
- ]
99
- } ) . onafterchange ( ( targetElement ) => {
100
- const header = document . getElementsByClassName ( 'introjs-tooltip-header' ) [ 0 ]
101
- if ( header ) {
102
- header . classList . add ( 'd-flex' )
103
- header . classList . add ( 'justify-content-between' )
104
- header . classList . add ( 'text-nowrap' )
105
- header . classList . add ( 'pe-0' )
106
- }
107
- const skipbutton = document . getElementsByClassName ( 'introjs-skipbutton' ) [ 0 ]
108
- if ( skipbutton ) {
109
- skipbutton . classList . add ( 'ms-3' )
110
- skipbutton . classList . add ( 'text-decoration-none' )
111
- skipbutton . id = 'remixTourSkipbtn'
112
- }
113
- } ) . start ( )
114
- localStorage . setItem ( 'hadTour_initial' , true )
115
- }
116
- }
117
70
}
0 commit comments