Spaces:
Running
chore(sync): mirror front-door files to Space (hf-sync)
Browse filesAutomated front-door sync from szl-holdings/a11oy main via hf-sync.
Added/updated: console/docs.html, console/index.html, console/pricing.html, console/throne-room.html, console/throne-room.js, pages/api-keys.html, pages/audit.html, pages/ayni.html, pages/brain-dual.html, pages/brain-jack.html, pages/brain.html, pages/chaski.html, pages/codex-kernel.html, pages/company.html, pages/compliance.html, pages/console.html, pages/counter-uas.html, pages/cued-engagement.html, pages/docs.html, pages/evidence.html, pages/gap-report.html, pages/hatun-mcp.html, pages/hub.html, pages/landing.html, pages/mesh.html, pages/observability.html, pages/operator_organ.html, pages/pricing.html, pages/run-all.html, pages/sdk.html, pages/security.html, pages/status.html, pages/substrate.html, pages/superpowers.html, pages/throne-room.html, pages/throne-room.js, pages/uds.html, pages/upgrades.html, pages/wallpa.html, pages/warhacker.html, pages/wasi-rikuq.html, pages/wires.html
Deleted (gone from GitHub main): (none)
Keeps the served front-door (pages/*.html, console/*.html) identical
to GitHub main so an HF factory rebuild never drops a GitHub edit or
keeps serving a page that was deleted on GitHub.
- pages/console.html +5 -0
|
@@ -1635,6 +1635,11 @@ async function policies_load(){
|
|
| 1635 |
}catch(e){const h=el('pv-list');if(h)h.innerHTML='<div class="row mono dim">policy bundle unavailable: '+esc(e.message)+'</div>';setTxt('pv-n','\u2014');}}
|
| 1636 |
|
| 1637 |
function go(view){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1638 |
// tear down ALL live visuals (Chart.js, ECharts, 3d-force-graph, globe.gl, cytoscape) before switching
|
| 1639 |
tearDownAll();
|
| 1640 |
document.querySelectorAll('.nav-item').forEach(n=>n.classList.toggle('active',n.dataset.view===view));
|
|
|
|
| 1635 |
}catch(e){const h=el('pv-list');if(h)h.innerHTML='<div class="row mono dim">policy bundle unavailable: '+esc(e.message)+'</div>';setTxt('pv-n','\u2014');}}
|
| 1636 |
|
| 1637 |
function go(view){
|
| 1638 |
+
// Defensive null-guard: an unknown/empty tab key must be a graceful no-op (keep the
|
| 1639 |
+
// current view) — never a thrown TypeError reading .title on a missing VIEWS entry,
|
| 1640 |
+
// which could wedge navigation. Guard BEFORE any teardown/DOM mutation so the current
|
| 1641 |
+
// view is fully preserved.
|
| 1642 |
+
if(!VIEWS[view]){ console.warn('unknown tab: '+view); return; }
|
| 1643 |
// tear down ALL live visuals (Chart.js, ECharts, 3d-force-graph, globe.gl, cytoscape) before switching
|
| 1644 |
tearDownAll();
|
| 1645 |
document.querySelectorAll('.nav-item').forEach(n=>n.classList.toggle('active',n.dataset.view===view));
|