orbit/js/ui
Brian Fertig 77d649276c Rework shop UI to cyberpunk sub-bar + entry state, fix panel geometry
- Shop now opens on the tab sub-bar only (shop video plays); clicking Buy/Sell reveals the trade panel — showcases the clip before the UI takes over.
- Tab bar and Confirm/Clear are now MenuButtons in a console-blue sub-bar that rests above the command deck, anchored to the deck's Shop button (MenuSubBar recipe), replacing the old top-of-screen custom buttons.
- Fix trade panel vertical placement: a Container's (x,y) is a pure translation of local space (verified via dev/cbox-test.html), so the grid position IS the panel top-left; setting it to topY + h/2 treated it as a centered origin and clipped bottom rows. Panel now anchors just under the HUD planet text via SurfaceScene.shopTopY().
- Parent TradeGrid plate/title to the grid container so they render above the shop video (scene-level depth-0 objects drew behind it in this build).
- Add dev probes (dev/cbox-test.html, dev/shop-shot.{html,mjs}) and update phaser-stub/test stubs for setSize/setBlendMode/rectangle; document entry state + sub-bar in docs/ECONOMY.md.
2026-09-11 21:19:32 -06:00
..
shop Rework shop UI to cyberpunk sub-bar + entry state, fix panel geometry 2026-09-11 21:19:32 -06:00
ActionBar.js
…
BuildWindow.js Add shop buy/sell UI, cargo hold, and cargo bay upgrades 2026-09-11 20:11:34 -06:00
CommsBox.js
…
CommsPanel.js
…
ConfirmOverlay.js
…
CreditsHud.js Add trade economy engine, credits currency, and goods catalog 2026-09-11 18:36:30 -06:00
CyberShape.js
…
DiscoveryCompass.js
…
GalaxyView.js Add faction territory floor and ring all stars by ownership 2026-09-11 13:34:35 -06:00
GlitchText.js
…
MapWindow.js
…
MenuButton.js
…
MenuSubBar.js
…
MineralHud.js Add trade economy engine, credits currency, and goods catalog 2026-09-11 18:36:30 -06:00
MiningPopup.js
…
QuestTrackerHud.js
…
QuestWindow.js
…
ResearchWindow.js
…
SavePanel.js
…
SignalCompass.js
…
SlotCard.js
…
Toast.js
…