You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
intro: 'This section will show 4 webmetrics for your page when it loads.',
232
+
position: 'top',
233
+
},
234
+
{
235
+
title: 'LCP',
236
+
element: document.querySelectorAll('.metric')[0],
237
+
intro:
238
+
'<strong>Largest Contentful Paint</strong><br/>The amount of time it takes for the largest image, video or text block within the viewport to be fully rendered and interactive.',
239
+
position: 'top',
240
+
},
241
+
242
+
{
243
+
title: 'FID',
244
+
element: document.querySelectorAll('.metric')[1],
245
+
intro:
246
+
'<strong>First Input Delay</strong><br/>A measurement of load responsiveness, the time from the first user interaction (for example, a click) to the browser responding to that interaction.',
247
+
position: 'top',
248
+
},
249
+
250
+
{
251
+
title: 'FCP',
252
+
element: document.querySelectorAll('.metric')[2],
253
+
intro:
254
+
'<strong>First Contentful Paint</strong><br/>The amount of time it takes to render the first DOM element of any variety',
255
+
position: 'top',
256
+
},
257
+
258
+
{
259
+
title: 'TTFB',
260
+
element: document.querySelectorAll('.metric')[3],
261
+
intro:
262
+
"<strong>Time To First Byte</strong><br/>The amount of time it takes for a user's browser to receive the first byte of page content from the server.",
263
+
position: 'top',
264
+
},
265
+
];
266
+
break;
267
+
case'history':
268
+
steps=[
269
+
{
270
+
title: 'History Tab',
271
+
element: '.display',
272
+
intro:
273
+
'The history tab shows all snapshots as a timeline and includes branches to represent divergent state history created from time traveling backwards and making new state changes.',
'Each node will represent a snapshot in the page. <ul><li>A single snapshot will show as a node while multiple snapshots will be represented as a timeline.</li><li>Highlighting over one will show any state changes compared to the previous snapshot. </li><li>Clicking a node will set the snapshot as the current one.</li></ul>',
281
+
position: 'top',
282
+
},
283
+
{
284
+
title: 'Navigating through Snapshots',
285
+
element: '.routedescription',
286
+
intro: 'All snapshots can also be seen and navigated here as well.',
0 commit comments