orbit/data
Brian Fertig 36ef43119d Show shop cell name + price in a hover tooltip instead of over the icon
- TradeGrid cells now render only the good's icon; hovering a usable cell reveals a shared per-grid tooltip with the name and "sell/buy for N cr" price line, anchored above (or below on the top row) and clamped to the panel.
- Per-cell name/price text objects are removed; a single `label` remains only for locked/empty state ("locked", "—").
- data/shopui.json: add `tooltip` section (bg, border, pad, gap, font sizes) and bump `iconScale` to 0.62 so icons fill the now-cleaner cell.
- Apply theme fonts throughout the shop UI — Ethnocentric for section titles, Centauri for body text, tooltip, stepper, and buttons via `fontStack()`.
- dev/shop-shot.mjs: replace old layout probe with a hover-tooltip probe (structure check, programmatic + real mousemove hovers on sell/buy cells, pointerout hide) and await web fonts before boot so screenshots use the real typefaces.
- dev/shop-ui.test.mjs: new HOVER TOOLTIP suite asserting tooltip visibility, text content, locked/empty suppression, unhover, buy-side pricing, and theme font application.
2026-09-11 21:39:51 -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 Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
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 Add faction territory floor and ring all stars by ownership 2026-09-11 13:34:35 -06:00
galaxy.json
…
game.json Add front nebula layer with derived accent tint for two-tone gas 2026-09-10 22:48:40 -06:00
gates.json Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
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 Add faction territory floor and ring all stars by ownership 2026-09-11 13:34:35 -06:00
menu.json
…
mineralhud.json
…
music.json
…
naming.json
…
planets.json Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
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 Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
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 Show shop cell name + price in a hover tooltip instead of over the icon 2026-09-11 21:39:51 -06:00
signalCompass.json
…
stations.json
…
systems.json Add far-sky lightning bolts to nebula systems 2026-09-10 23:11:21 -06:00
tether.json
…
theme.json
…