orbit/js/ui
Brian Fertig 831670c8ca Add faction territory floor and ring all stars by ownership
Branch sizes are inherently skewed; previously only the cap (median quota)
applied, so a small faction could start with a one-system sliver.

- FLOOR (balance.minTerritory, data/factions.json): a faction below the
  floor absorbs the nearest unowned eligible overflow first, then the
  richest faction's least-core systems — territory stays contiguous; a
  tiny galaxy with too few eligible systems is best-effort.
- Territory is now tracked per faction: g.factions.factionTerritories is
  the truth, the branch view is derived; capitals are placed inside the
  faction's post-floor territory, so a faction built entirely from
  borrowed space still gets its seat in its own territory.
- The galaxy plate rings EVERY star: faction color for territory, neutral
  silver for wild space (home included) — the ring color is the
  ownership read at a glance.
- dev/factions.test.mjs now checks the floor, cap, disjointness, and
  branch-view invariants; new throwaway diagnostics
  dev/faction-balance.diag.mjs / dev/faction-sweep.diag.mjs sweep seeds
  for the invariants + determinism.
2026-09-11 13:34:35 -06:00
..
ActionBar.js
…
BuildWindow.js
…
CommsBox.js
…
CommsPanel.js
…
ConfirmOverlay.js Fix save panel layout, text overflow, and animation timing bugs 2026-09-09 14:43:28 -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 Add Galaxy tab legend key and faction tooltips 2026-09-11 10:10:04 -06:00
MenuButton.js
…
MenuSubBar.js
…
MineralHud.js
…
MiningPopup.js
…
QuestTrackerHud.js Add "Leaving the Nest" quest chain and READY tracker state 2026-09-10 20:29:47 -06:00
QuestWindow.js
…
ResearchWindow.js
…
SavePanel.js Fix save panel layout, text overflow, and animation timing bugs 2026-09-09 14:43:28 -06:00
SignalCompass.js
…
SlotCard.js Fix save panel layout, text overflow, and animation timing bugs 2026-09-09 14:43:28 -06:00
Toast.js Fix save panel layout, text overflow, and animation timing bugs 2026-09-09 14:43:28 -06:00