waygraph 0.12.29 → 0.12.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +15 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1271,6 +1271,21 @@ async function setDemoBannerTitle(page, title) {
|
|
|
1271
1271
|
.catch(() => {});
|
|
1272
1272
|
}
|
|
1273
1273
|
|
|
1274
|
+
/** Collapsed chrome title: Ep N / i / n / block / pace. */
|
|
1275
|
+
function miniStepLabel(info) {
|
|
1276
|
+
const ep =
|
|
1277
|
+
info.episodeNumber !== undefined && info.episodeNumber !== null
|
|
1278
|
+
? "Ep " + info.episodeNumber + " \\u00b7 "
|
|
1279
|
+
: "";
|
|
1280
|
+
return (
|
|
1281
|
+
ep +
|
|
1282
|
+
(info.index + 1) +
|
|
1283
|
+
" / " +
|
|
1284
|
+
info.total +
|
|
1285
|
+
(info.blockName ? " \\u00b7 " + info.blockName : "") +
|
|
1286
|
+
(info.paceBadge ? " \\u00b7 " + info.paceBadge : "")
|
|
1287
|
+
);
|
|
1288
|
+
}
|
|
1274
1289
|
|
|
1275
1290
|
async function cycleHighlightRings(page, highlights, gatesFast, opts) {
|
|
1276
1291
|
const list = highlights || [];
|