orbit/data
Brian Fertig a2d211a981 Rework the BUY side: a scrollable list of wide rows (icon + name +
description + price + stepper) instead of the 4×4 icon grid

Each stock good is now ONE WIDE ROW — the good's icon, its name + a
one-line description (the good's flavor), and the price + a −/qty/+
stepper on the right — the way the user wanted the shop list to read.
The stock (12–16 goods) outgrows the panel, so the list SCROLLS:
drag on the row area or the mouse wheel; rows outside the window are
clipped (row-based alpha clipping — this Phaser build has no
ScrollContainer/camera clip), and hidden rows' steppers are
non-interactive. The selection is data (goodId→qty), so stepping a
good works whether its row is on screen or not.

  js/ui/shop/BuyList.js   new — the scrollable BUY list (rows, drag +
                          wheel scroll, per-row steppers, flavor text)
  js/ui/shop/TradeGrid.js SELL-only now — the BUY mode (steppers, stock
                          rendering, buy-selection data) is stripped;
                          one grid, one purpose
  js/ui/shop/ShopView.js  composes TradeGrid (SELL) + BuyList (BUY);
                          the BUY panel sizes itself to the SELL grid's
                          height (top- AND bottom-aligned)
  data/shopui.json        buyList row/typography knobs (name, desc,
                          price, row bg/border, selection accent)
  dev/shop-ui.test.mjs    BUY assertions rewritten for the list + a new
                          SCROLL section (scroll clamps, row clipping,
                          stepping off-screen rows)
  dev/shop-shot.mjs       BUY probe → the row's inline text (no tooltip)
  docs/ECONOMY.md §12     the BUY bullet + mockup now describe the list

The BUY side's name + price used to live in a hover tooltip because a
grid cell is too small for text; a wide row carries them inline, so the
tooltip stays on the SELL side only. All headless suites green
(shop-ui, economy, cargo, builds, ship-behavior).
2026-09-11 23:23:15 -06:00
..
research
…
actionbar.json
…
asteroids.json
…
builds.json Add shop buy/sell UI, cargo hold, and cargo bay upgrades 2026-09-11 20:11:34 -06:00
comms.json
…
creditshud.json Add trade economy engine, credits currency, and goods catalog 2026-09-11 18:36:30 -06:00
economy.json Add shop buy/sell UI, cargo hold, and cargo bay upgrades 2026-09-11 20:11:34 -06:00
factions.json
…
galaxy.json
…
game.json
…
gates.json
…
goods.json Add trade economy engine, credits currency, and goods catalog 2026-09-11 18:36:30 -06:00
landing.json Rework shop UI to cyberpunk sub-bar + entry state, fix panel geometry 2026-09-11 21:19:32 -06:00
manifest.json Add shop buy/sell UI, cargo hold, and cargo bay upgrades 2026-09-11 20:11:34 -06:00
map.json
…
menu.json
…
mineralhud.json
…
music.json
…
naming.json
…
planets.json
…
quests.json Add trade economy engine, credits currency, and goods catalog 2026-09-11 18:36:30 -06:00
reputation.json
…
research.json
…
save.json
…
scan.json
…
settlements.json
…
sfx.json
…
ship.json Add shop buy/sell UI, cargo hold, and cargo bay upgrades 2026-09-11 20:11:34 -06:00
shopui.json Rework the BUY side: a scrollable list of wide rows (icon + name + 2026-09-11 23:23:15 -06:00
signalCompass.json
…
stations.json
…
systems.json
…
tether.json
…
theme.json
…