Give the wizard an ending: big checkmark plus a way out, and refresh it when the onboard lands

With nothing blocking but optional keys unfilled the banner rendered an empty string, so a finished onboard showed a blank panel beside a Join button still greyed at Running.
This commit is contained in:
Gmer4Lfe
2026-08-17 11:47:01 -04:00
parent ead5d38d7c
commit cd21fca749
2 changed files with 73 additions and 12 deletions
+7 -1
View File
@@ -277,8 +277,14 @@ function vvPtWatchJob(id, mountEl) {
: (s.status === 'never_run' ? 'did not start ⚠' : `${s.status} (exit ${s.exit ?? '?'})`);
mountEl.innerHTML = `<span style="color:${col};">${lbl}</span>`
+ ` <a href="?tab=scheduler" class="localURL" style="color:#556;margin-left:6px;">log</a>`;
// Only the Partnership tab defines a reload; the wizard has nothing to refresh.
if (typeof _vvPtReload === 'function') _vvPtReload();
// The wizard does have something to refresh, and saying it did not is why the mirror's
// Join button stayed greyed at "Running" after the run finished. Worse, the mirror's own
// job takes about three seconds — it only notifies the owner — while the Phase 2 it
// triggers runs for minutes on the far side. So "this job is done" is not "the
// partnership is done", and a single reload here would still show an unfinished wizard.
// vvOnJobDone polls until the checklist actually turns.
if (typeof vvOnJobDone === 'function') vvOnJobDone(id, s);
})
.catch(() => {});
};