One faint Skip in the corner; the completion card owns the real exits
The wizard had a Skip beside Create API Key and a second link that renamed itself Go to Scheduler/Partnership, so leaving early and finishing looked like the same action.
This commit is contained in:
@@ -303,7 +303,6 @@ hr.vv-hr { border: none; border-top: 1px solid #1e1e1e; margin: 22px 0; }
|
|||||||
<button id="vv-key-btn" onclick="vvCreateKey(this)" class="vv-btn" style="flex:1;background:#1a3a1a;border-color:#2e6b2e;color:#6fcf97;">
|
<button id="vv-key-btn" onclick="vvCreateKey(this)" class="vv-btn" style="flex:1;background:#1a3a1a;border-color:#2e6b2e;color:#6fcf97;">
|
||||||
Create API Key
|
Create API Key
|
||||||
</button>
|
</button>
|
||||||
<a href="#" onclick="vvGoNext(event)" style="font-size:11px;color:#444;text-decoration:none;white-space:nowrap;">Skip →</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="vv-key-status" style="font-size:12px;min-height:14px;margin-bottom:18px;"></div>
|
<div id="vv-key-status" style="font-size:12px;min-height:14px;margin-bottom:18px;"></div>
|
||||||
|
|
||||||
@@ -315,7 +314,8 @@ hr.vv-hr { border: none; border-top: 1px solid #1e1e1e; margin: 22px 0; }
|
|||||||
<div id="vv-done-banner"></div>
|
<div id="vv-done-banner"></div>
|
||||||
|
|
||||||
<div style="margin-top:18px;text-align:right;">
|
<div style="margin-top:18px;text-align:right;">
|
||||||
<a href="#" id="vv-exit-link" onclick="vvGoNext(event)" style="font-size:12px;color:#444;text-decoration:none;">Continue →</a>
|
<a href="#" id="vv-exit-link" onclick="vvGoNext(event)"
|
||||||
|
style="font-size:11px;color:#3a3a3a;text-decoration:none;">Skip →</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -433,14 +433,10 @@ function vvGoNext(e) {
|
|||||||
window.location.href = _vvRedirect || '?tab=scheduler';
|
window.location.href = _vvRedirect || '?tab=scheduler';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Label the exit after the place it actually leads, so the link is not a surprise. Derived from
|
// The exit link is a plain faint "Skip →" and stays that way. It used to relabel itself "Go to
|
||||||
// the redirect the save returned, not from the role guessed again on this side.
|
// Scheduler/Partnership", which read as the intended way out — but the wizard now ends in the
|
||||||
function vvLabelExit() {
|
// completion card, and that card carries the real destinations. Two competing exits, one of them
|
||||||
const el = document.getElementById('vv-exit-link');
|
// renaming itself, made leaving early and finishing look like the same action.
|
||||||
if (!el) return;
|
|
||||||
const target = /tab=partnership/.test(_vvRedirect || '') ? 'Partnership' : 'Scheduler';
|
|
||||||
el.textContent = `Go to ${target} →`;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ── Step 2 ────────────────────────────────────────────────────────────────────
|
// ── Step 2 ────────────────────────────────────────────────────────────────────
|
||||||
function vvShowStep2(redirect, apiKey) {
|
function vvShowStep2(redirect, apiKey) {
|
||||||
@@ -686,7 +682,6 @@ function vvLoadChecklist() {
|
|||||||
const el = document.getElementById('vv-checklist');
|
const el = document.getElementById('vv-checklist');
|
||||||
_vvLastChecklist = d;
|
_vvLastChecklist = d;
|
||||||
if (!d.ok || !d.items) { el.innerHTML = '<span style="color:#555">Unable to load checklist</span>'; return; }
|
if (!d.ok || !d.items) { el.innerHTML = '<span style="color:#555">Unable to load checklist</span>'; return; }
|
||||||
vvLabelExit();
|
|
||||||
vvRenderOnboardPanel(d);
|
vvRenderOnboardPanel(d);
|
||||||
vvRenderDone(d);
|
vvRenderDone(d);
|
||||||
el.innerHTML = d.items.map(item => {
|
el.innerHTML = d.items.map(item => {
|
||||||
|
|||||||
Reference in New Issue
Block a user