[modularization] Phase 3: Panels — Heatmap, Agent Board, Dual-Brain, LoRA, Sovereignty, Earth #412
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 3 of App.js Modularization (Refs #409)
What
Extract all HUD/panel systems into individual modules:
modules/panels/heatmap.js— Commit heatmap + zone renderingmodules/panels/agent-board.js— Agent status board (reads from state.agentStatus)modules/panels/dual-brain.js— Dual-brain panel (honest offline state)modules/panels/lora-panel.js— LoRA adapter panel (honest empty state)modules/panels/sovereignty.js— Sovereignty meter + score arcmodules/panels/earth.js— Holographic earth (activity-tethered rotation)Each Panel Module
init(scene, state, theme)andupdate(elapsed, delta)themevalues (no inline hex codes)state(no direct API calls)Acceptance Criteria
node --check app.jspassesDepends on: Phase 2 (data/)
Refs #409
PR created: http://143.198.27.163:3000/Timmy_Foundation/the-nexus/pulls/466
All 6 panel modules are now wired up:
core/theme.jsexportsNEXUSwith the fullNEXUS.theme.*property setcore/ticker.jsexportssubscribe()so panels self-register ininit()core/state.jsapp.jsimports + inits all 6 panels and callsglobalTicker.tick()in the loopnode --check app.jspasses. All panel and data modules pass syntax check.