Skip to content

Commit b44f804

Browse files
committed
Updated tutorial walkthrough steps
1 parent 7ec8475 commit b44f804

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

src/app/components/BarGraphComparison.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ const BarGraphComparison = props => {
241241
>
242242
Clear All Series
243243
</button>
244-
<h4 style={{ padding: '0 1rem' }}>Compare Series: </h4>
244+
<h4 className="compare-series-box"style={{ padding: '0 1rem' }}>Compare Series: </h4>
245245
<FormControl id="selectSeries" variant="outlined" className={classes.formControl}>
246246
<Select
247247
style={{ color: 'white' }}

src/app/components/Tutorial.tsx

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Tutorial extends Component {
2121
const { currentTabInApp, dispatch } = this.props;
2222

2323
// This updates the steps so that they can target dynamically rendered elements
24-
const onChangeHandler = (currentStepIndex) => {
24+
const onChangeHandler = currentStepIndex => {
2525
if (currentTabInApp === 'performance' && currentStepIndex === 1) {
2626
dispatch(tutorialSaveSeriesToggle('inputBoxOpen'));
2727
this.steps.updateStepElement(currentStepIndex);
@@ -69,6 +69,12 @@ class Tutorial extends Component {
6969
intro: "<ul><li>Reactime records a snapshot whenever a target application's state is changed</li></ul>",
7070
position: 'right',
7171
},
72+
{
73+
title: 'Toggle Record Button',
74+
element: '#recordBtn',
75+
intro: '<ul><li>Toggle record button to pause state changes on target application</li></ul>',
76+
position: 'right',
77+
},
7278
{
7379
element: '.individual-action',
7480
title: 'Snapshot',
@@ -143,7 +149,7 @@ class Tutorial extends Component {
143149
break;
144150
case 'performance':
145151
steps = [{
146-
title: 'This is the performance tab!',
152+
title: 'Performance Tab',
147153
element: '.bargraph-position',
148154
intro: '<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>',
149155
position: 'top',
@@ -156,7 +162,7 @@ class Tutorial extends Component {
156162
},
157163
{
158164
title: 'Saving Series & Actions',
159-
element: '.seriesNameInput',
165+
element: '#seriesname',
160166
intro: '<ul><li>We can now give our series a name or leave it at the default</li></ul>',
161167
position: 'top',
162168
},
@@ -173,7 +179,7 @@ class Tutorial extends Component {
173179
position: 'top',
174180
},
175181
{
176-
title: 'Comparing Saved Series & Actions',
182+
title: 'Comparison Tab',
177183
element: '#router-link-performance-comparison',
178184
intro: '<ul><li>Now let\'s head over to the comparison tab</li></ul>',
179185
position: 'top',
@@ -189,7 +195,7 @@ class Tutorial extends Component {
189195
title: 'No Tutorial For This Tab',
190196
intro: '<ul><li>A tutorial for this tab has not yet been created</li><li>Please visit our official Github Repo for more information </li><br> <li><a href="https://github.com/open-source-labs/reactime" target="_blank">Reactime Github</a></li></ul>',
191197
position: 'top',
192-
}]
198+
}];
193199
break;
194200
}
195201

@@ -214,7 +220,7 @@ class Tutorial extends Component {
214220
keyboardNavigation: true,
215221
overlayOpacity: 0.65,
216222
}}
217-
onBeforeChange={(currentStepIndex) => onChangeHandler(currentStepIndex)}
223+
onBeforeChange={currentStepIndex => onChangeHandler(currentStepIndex)}
218224
ref={steps => (this.steps = steps)}
219225
/>
220226
<button
@@ -231,4 +237,4 @@ class Tutorial extends Component {
231237
}
232238
}
233239

234-
export default Tutorial;
240+
export default Tutorial;

src/extension/build/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Reactime",
3-
"version": "12.0.0",
3+
"version": "13.0.0",
44
"devtools_page": "devtools.html",
55
"description": "A Chrome extension that helps debug React applications by memorizing the state of components with every render.",
66
"manifest_version": 2,

0 commit comments

Comments
 (0)