lab-ui
Source: lab-ui.js:21
Presentation controller for the redesigned lab. It does NOT do detection, matching, or saving — the engine (main.js, engine*.js, auto-find-loop.js, ghostyles-manager.js, plugins3d-loader.js) still owns all of that. This module only supplies the new information architecture on top of the engine's existing DOM ids and event bus:
View bar -> toggles which overlay canvas is visible Readout <- engine matchStateChanged events Action rail -> proxies the two pinned Ghostyles to the engine's buttons Dock -> routes to Screens (reusing #settingsDrawer / #historyDrawer) Plugin bar -> swaps in for the Dock when a command Ghostyle is active Badges <- faces via #dbCountBadge (engine), uploads via recordings
Everything that reaches into the engine is guarded and marked INTEGRATION: where the assumption must be confirmed against live engine behaviour. This file has NOT been run against a camera + models; treat it as a first pass.