Control Room menu: Earners Corner (the network forum, signs in with InstantAdPay) before Help; external menu links open in a new tab; cr-shell ?v=20261110forum. QA member 57/57.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-10 08:45:18 -06:00
parent 81f1a96df1
commit 3436df38e5
14 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -75,7 +75,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261110forum"></script>
<script src="/assets/ads-screen.js?v=20261104lf"></script>
<script src="/assets/fuel.js?v=20261025ff"></script>
<script src="/assets/engine-room.js?v=20261101t"></script>
+3 -2
View File
@@ -24,12 +24,13 @@ window.CR = (function () {
['training', 'Training', '/tools#training', '<rect x="3" y="5" width="18" height="13" rx="2"/><path d="M10 9l5 2.5-5 2.5z"/>', 1],
['pipeline', 'Pipeline', '/tools#pipeline', '<rect x="3" y="5" width="5" height="14" rx="1"/><rect x="9.5" y="5" width="5" height="10" rx="1"/><rect x="16" y="5" width="5" height="7" rx="1"/>', 1],
['profile', 'Profile', '/tools#profile', '<circle cx="12" cy="8" r="3.5"/><path d="M5 20c0-4 3-6 7-6s7 2 7 6"/>', 1],
['forum', 'Earners Corner', 'https://earnerscorner.com/session/sso', '<path d="M4 5.5h16v10H9l-5 4z"/><path d="M8 9.5h8M8 13h5"/>'], // the network forum (2026-11-10), signs in with InstantAdPay
['help', 'Help', '/help', '<circle cx="12" cy="12" r="8.5"/><path d="M9.6 9.4a2.5 2.5 0 0 1 4.8.9c0 1.7-2.4 2.2-2.4 3.7"/><path d="M12 17h.01"/>'],
['tools', 'More', '/tools', '<circle cx="5" cy="12" r="1.6"/><circle cx="12" cy="12" r="1.6"/><circle cx="19" cy="12" r="1.6"/>'],
];
// screens not built yet fall back to the classic dashboard pane so nothing is a dead end
const FALLBACK = {}; // the classic /my dashboard is retired (2026-10-08); its leftover panes live at /tools
const BUILT = new Set(['links', 'sources', 'pages', 'zones', 'ads', 'credits', 'refuel', 'reports', 'conversions', 'team', 'wallet', 'tools', 'promo', 'training', 'pipeline', 'profile', 'help']); // Training, Pipeline and Profile on the rail, not behind More (Marty 2026-10-11); Help = support tickets (2026-10-16)
const BUILT = new Set(['forum', 'links', 'sources', 'pages', 'zones', 'ads', 'credits', 'refuel', 'reports', 'conversions', 'team', 'wallet', 'tools', 'promo', 'training', 'pipeline', 'profile', 'help']); // Training, Pipeline and Profile on the rail, not behind More (Marty 2026-10-11); Help = support tickets (2026-10-16)
let ME = null, toastT;
// Deep links (2026-10-25): /credits#refuel, /credits#buy and /ads#engine scroll to their panel once it has loaded (and any
// sign-in or sponsor pop-up is closed) and flash it, so a button that says "Refuel" lands ON the Refuel panel.
@@ -107,7 +108,7 @@ window.CR = (function () {
const act = railActive(o);
const app = document.createElement('div'); app.className = 'app'; let railWide = true; try { railWide = localStorage.getItem('cr.rail') !== 'narrow'; } catch (e) {} if (railWide) app.classList.add('wide'); // expanded by default (Marty 2026-10-08), the choice remembered per browser
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 === act ? ' 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('')
+ NAV.map(([k, label, href, svg, sec]) => '<a ' + (k === 'help' ? 'id="crHelp" ' : '') + (/^https?:/.test(href) ? 'target="_blank" rel="noopener" ' : '') + 'href="' + (BUILT.has(k) ? href : FALLBACK[k]) + '"' + (k === act ? ' 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>' + themeSeg('crTheme') + '<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; date-driven since 2026-11-02 so it drops off by itself at midnight Central on launch day
+1 -1
View File
@@ -70,7 +70,7 @@
<div id="goalReports"></div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261110forum"></script>
<script src="/assets/conversions.js?v=20261026a"></script>
</body>
</html>
+1 -1
View File
@@ -83,7 +83,7 @@
</div>
<script src="/assets/common.js?v=20261107tg"></script>
<script src="/assets/wallet.js?v=20261021a"></script>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261110forum"></script>
<script src="/assets/credits-screen.js?v=20261107tg"></script>
<script src="/assets/fuel.js?v=20261025ff"></script>
</body>
+1 -1
View File
@@ -30,7 +30,7 @@
<div id="page">
<div class="body" id="helpBody"><div class="panel"><span class="muted">loading</span></div></div>
</div>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261110forum"></script>
<script src="/assets/help-screen.js?v=20261016a"></script>
</body>
</html>
+1 -1
View File
@@ -270,7 +270,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261110forum"></script>
<script src="/assets/links.js?v=20261021t"></script>
<script src="/assets/banner-spin.js?v=20261105sz"></script>
</body>
+1 -1
View File
@@ -1016,7 +1016,7 @@
</div>
</div>
<script src="/assets/common.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261110forum"></script>
<script src="/assets/tools.js?v=20261011a"></script>
<script src="/assets/wallet.js?v=20261021a"></script>
<script src="/assets/promo.js?v=20261020bs3"></script>
+1 -1
View File
@@ -73,7 +73,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261110forum"></script>
<script src="/assets/pages-screen.js?v=20261021t"></script>
</body>
</html>
+1 -1
View File
@@ -90,7 +90,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261110forum"></script>
<script src="/assets/reports.js?v=20261107nc"></script>
</body>
</html>
+1 -1
View File
@@ -128,7 +128,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261110forum"></script>
<script src="/assets/traffic-guide-data.js?v=20261028a"></script>
<script src="/assets/sources-screen.js?v=20261028a"></script>
</body>
+1 -1
View File
@@ -38,7 +38,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261110forum"></script>
<script src="/assets/team.js?v=20261105fd"></script>
</body>
</html>
+1 -1
View File
@@ -64,7 +64,7 @@
<div class="rules" id="rules"></div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261110forum"></script>
<script src="/assets/traffic-guide-data.js?v=20261028a"></script>
<script src="/assets/traffic-guide.js?v=20261029b"></script>
</body>
+1 -1
View File
@@ -36,7 +36,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261110forum"></script>
<script src="/assets/wallet-screen.js?v=20261023ov"></script>
</body>
</html>
+1 -1
View File
@@ -42,7 +42,7 @@
</div>
</div>
</div>
<script src="/assets/cr-shell.js?v=20261107tg"></script>
<script src="/assets/cr-shell.js?v=20261110forum"></script>
<script src="/assets/zones-screen.js?v=20261010a"></script>
</body>
</html>