orbit/data
Brian Fertig ff557f87ba Fix jumpgate activation bug and add NAV chart diagnostics
- `_applyResearchEffects` now receives the node id explicitly instead of
  reading `node.id`, which is undefined (the id is the key in the tree's
  `nodes` map, not a field on the object) — this was silently skipping
  `activateGates` so researched jumpgates stayed dark
- Add `systemIdOfGatesNode()` as the pure inverse of `systemNodeId()` for
  the gates node, with round-trip tests
- Reconcile gate activation in `_onEnterSystem()`: if the gates tech is
  already unlocked, re-run `_activateSystemJumpgates` (idempotent) so a
  missed activation self-heals on the next entry/jump/reload
- Make `_activateSystemJumpgates` idempotent by tracking fresh keys and
  early-returning when everything is already online
- Add `navPoints()` and `navChart()` to SystemCategory.js as pure,
  testable cores for the jumpgate unlock condition (discovered/missing
  split over all NAV points)
- Add `js/dev/NavDiag.js` with `orbitNav()` / `orbitNavBrief()` console
  commands that print the live NAV chart and which objects are still
  undiscovered, installed by `main.js` on every page load
- Update `data/landing.json` to reference the correct gasgiant surface/shop
  videos for slot 03
- Add tests for `navPoints`, `navChart`, and `systemIdOfGatesNode`
- Document the activation wiring bug, the `orbitNav()` diagnostic, and the
  new pure functions in PROJECT_NOTES.md
2026-09-06 17:41:29 -06:00
..
research Cap tether progression at level 3 and remove tether_l4 research node 2026-09-06 15:20:31 -06:00
actionbar.json Add shop clip toggle to surface deck 2026-09-05 15:50:09 -06:00
asteroids.json
builds.json Bump tether radius growth to 2× and refresh HUD on build completion 2026-09-05 19:52:54 -06:00
galaxy.json Galaxy refactor: 200 systems, object-composition, dormant gates, frame diversity 2026-09-06 13:06:29 -06:00
game.json
gates.json Implement gate jump travel between systems 2026-09-06 16:37:48 -06:00
landing.json Fix jumpgate activation bug and add NAV chart diagnostics 2026-09-06 17:41:29 -06:00
manifest.json Add jump gate network and in-system gate placement 2026-09-06 11:56:26 -06:00
menu.json
mineralhud.json
music.json
naming.json Galaxy refactor: 200 systems, object-composition, dormant gates, frame diversity 2026-09-06 13:06:29 -06:00
planets.json Add jump gate network and in-system gate placement 2026-09-06 11:56:26 -06:00
reputation.json
research.json Add per-system research category that unlocks jump gates 2026-09-06 15:56:38 -06:00
save.json
scan.json
settlements.json Make every planet settled and simplify system planet counts to a global 2026-09-05 20:31:24 -06:00
sfx.json
ship.json
signalCompass.json
stations.json
systems.json Galaxy refactor: 200 systems, object-composition, dormant gates, frame diversity 2026-09-06 13:06:29 -06:00
tether.json Cap tether progression at level 3 and remove tether_l4 research node 2026-09-06 15:20:31 -06:00
theme.json