Skip to content

Commit fa05c51

Browse files
committed
feat(output): run-all-lenses lives in the Go-Deeper subnav
1 parent 27654ce commit fa05c51

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

output-tab.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2237,6 +2237,12 @@ function renderSubNav(actId) {
22372237
? ''
22382238
: tabs.map((n) => `<button class="tab-btn" data-tab="${n}">${TAB_LABELS[n]}</button>`).join('');
22392239

2240+
if (actId === 'deeper') {
2241+
sub.insertAdjacentHTML('afterbegin',
2242+
`<button class="tab-menu-run" id="run-all-lenses">▸ Run all lenses ` +
2243+
`<span id="lens-progress" style="font:500 10px/1 ui-monospace,monospace;opacity:.7;margin-left:4px"></span></button>`);
2244+
}
2245+
22402246
// Mark scan buttons that have an explainer with a subtle ⓘ (per-render, so
22412247
// freshly-rendered subnav buttons get one; the tip listeners in initScanTips
22422248
// delegate from #act-subnav and survive this re-render).

0 commit comments

Comments
 (0)