Pre-launch open: notice on every Control Room screen (testing until November 15, live but subject to change); chatbot knows it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-10-17 17:06:50 -05:00
parent 3a7934df00
commit 4743c7f8a9
14 changed files with 29 additions and 24 deletions
+4 -1
View File
@@ -54,7 +54,10 @@ window.CR = (function () {
app.innerHTML = '<nav class="rail" aria-label="LinkSpin"><a class="mark" href="/" aria-label="LinkSpin home" title="LinkSpin"></a>'
+ NAV.map(([k, label, href, svg, sec]) => '<a ' + (k === 'help' ? 'id="crHelp" ' : '') + 'href="' + (BUILT.has(k) ? href : FALLBACK[k]) + '"' + (k === o.active ? ' class="on' + (sec ? ' rsec' : '') + '" aria-current="page"' : (sec ? ' class="rsec"' : '')) + ' title="' + label + '" aria-label="' + label + '"><svg viewBox="0 0 24 24">' + svg + '</svg><span class="lbl">' + label + '</span></a>').join('')
+ '<span class="sp"></span><button class="railtog" type="button" id="crRailTog" title="Collapse or expand the menu" aria-label="Collapse or expand the menu"><svg viewBox="0 0 24 24"><path d="M15 6l-6 6 6 6"/></svg><span class="lbl">Collapse</span></button></nav>'
+ '<div class="main"><div class="topbar"><div><div class="crumb">' + esc(o.crumb || 'Control room') + '</div><h1>' + esc(o.title || '') + '</h1></div><span class="readout" id="crSub">' + esc(o.sub || '') + '</span><span class="grow"></span><span id="crActions">' + (o.actions || '') + '</span><button class="who" type="button" id="crUserBtn" title="Account"><i id="crAv"></i><span id="crWho">Sign in</span></button></div><div id="crBody"></div>'
+ '<div class="main"><div class="topbar"><div><div class="crumb">' + esc(o.crumb || 'Control room') + '</div><h1>' + esc(o.title || '') + '</h1></div><span class="readout" id="crSub">' + esc(o.sub || '') + '</span><span class="grow"></span><span id="crActions">' + (o.actions || '') + '</span><button class="who" type="button" id="crUserBtn" title="Account"><i id="crAv"></i><span id="crWho">Sign in</span></button></div>'
// pre-launch notice (Marty, 2026-10-17): open to everyone from today, official launch November 15
+ '<div class="prelaunch" role="note"><b>Pre-launch testing until November 15.</b> Everything is live and working, but features and screens may change while we test. Questions? Use <a href="/help">Help</a>.</div>'
+ '<div id="crBody"></div>'
+ '<div class="strip" id="crStrip"><span><span class="dot off" id="stDot"></span>rotator <b id="stHealth">checking</b></span><span>served today <b id="stServed">·</b></span><span>zones live <b id="stZones">·</b></span><span>network <b id="stNet">·</b></span><span class="grow"></span><span id="stClock"></span></div></div>';
page.parentNode.insertBefore(app, page); app.querySelector('#crBody').appendChild(page);
$('crRailTog').addEventListener('click', () => { const wide = !app.classList.contains('wide'); app.classList.toggle('wide', wide); try { localStorage.setItem('cr.rail', wide ? 'wide' : 'narrow'); } catch (e) {} });
+1
View File
@@ -64,6 +64,7 @@ button,input,select,textarea{font:inherit;color:inherit}
.topbar .who i{width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--accent-dim));display:grid;place-items:center;font:700 9px var(--mono);color:#fff;font-style:normal}
.topbar .who:hover{border-color:var(--chrome-sub)}
.topbar .btn{color:var(--ink)}
.prelaunch{padding:9px 22px;background:#fff4d6;color:#4a3500;border-bottom:1px solid #f0d58a;font-size:13.5px;line-height:1.4}.prelaunch b{color:#2e2100}.prelaunch a{color:#7a4f00;font-weight:600}
.strip{display:flex;gap:22px;align-items:center;padding:8px 22px;margin-top:auto;background:var(--chrome);color:var(--chrome-sub);font-family:var(--mono);font-size:11px;letter-spacing:.03em;border-top:1px solid var(--chrome-line)}
.strip b{color:var(--chrome-ink);font-weight:700}
.strip .dot{width:7px;height:7px;border-radius:50%;background:var(--ok);display:inline-block;margin-right:7px;box-shadow:0 0 0 3px rgba(14,138,92,.22);animation:crpulse 2.4s ease-in-out infinite}