Skip to content

Commit a593a57

Browse files
Merge branch 'dev' into axMap-update
2 parents 1c276e3 + 67d00d9 commit a593a57

29 files changed

+843
-1255
lines changed

src/app/components/Buttons/Tutorial.tsx

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ import { Component } from 'react';
77
import 'intro.js/introjs.css';
88
import { TutorialProps, TutorialState, StepsObj } from '../../FrontendTypes';
99
import { Button } from '@mui/material';
10-
import HelpOutlineIcon from '@mui/icons-material/HelpOutline';
1110
const { Steps } = require('intro.js-react'); //Must be required in. This enables compatibility with TS. If imported in, throws ts error of not rendering steps as a class component correctly. The package 'intro.js-react' is small React wrapper around Intro.js. The wrapper provides support for both steps and hints. https://introjs.com/docs/
1211
import { setCurrentTabInApp, tutorialSaveSeriesToggle } from '../../slices/mainSlice';
13-
import { useDispatch, useSelector } from 'react-redux';
1412
import { HelpCircle } from 'lucide-react';
1513

1614
/*
@@ -105,7 +103,7 @@ export default class Tutorial extends Component<TutorialProps, TutorialState> {
105103
},
106104
{
107105
title: 'Toggle Record Button',
108-
element: '#recordBtn',
106+
element: '.record-button-container',
109107
intro:
110108
'<ul><li>Toggle record button to pause state changes on target application</li></ul>',
111109
position: 'right',
@@ -195,31 +193,6 @@ export default class Tutorial extends Component<TutorialProps, TutorialState> {
195193
'<ul><li>Here we can analyze the render times of our app</li> <li>This is the current series of state changes within our app</li> <li>Mouse over the bargraph elements for details on each specific component</li></ul>',
196194
position: 'top',
197195
},
198-
{
199-
title: 'Saving Series & Actions',
200-
element: '#seriesname',
201-
intro: '<ul><li>We can now give our series a name or leave it at the default</li></ul>',
202-
position: 'top',
203-
},
204-
{
205-
title: 'Saving Series & Actions',
206-
element: '.actionname',
207-
intro:
208-
'<ul><li>If we wish to save a specific action to compare later, give it a name here</li></ul>',
209-
position: 'top',
210-
},
211-
212-
{
213-
title: 'Comparison Tab',
214-
element: '#router-link-performance-comparison',
215-
intro: "<ul><li>Now let's head over to the comparison tab</li></ul>",
216-
position: 'top',
217-
},
218-
{
219-
title: 'Comparing Series',
220-
intro: '<ul><li>Here we can select a saved series or action to compare</li></ul>',
221-
position: 'top',
222-
},
223196
];
224197
break;
225198
case 'webmetrics':

0 commit comments

Comments
 (0)