seriesoftubes/tests
Frederic Jung 0057e74472
Ship short ids instead of labels; checker, tests and docs for labels
The build swaps every label for a short id in the shipped page, the inlined
English and the translation files (scripts/lib/compile-labels.js). Labels
passed to N_() stay whole because saves keep them. Against 1.33: page +4%
gzipped (321 -> 335 KB), translations -40% (it.js 143 -> 85 KB); routing,
day, panels, dashboard, map and boot time unchanged.

- i18n-check rejects labels the build cannot see (outside tr/trn/N_)
- tests/pages.test.js plays the shipped page in English, Italian and French
- docs/adr/0003, add-strings skill, ARCHITECTURE, README, CONTRIBUTING,
  CLAUDE.md describe labels
2026-10-27 11:27:11 +01:00
..
fixtures Performance benchmark on a big network, posted on every PR 2026-10-26 06:39:23 +01:00
helpers Routing reference test runs on today's routing loop; perf bench reads exported saves 2026-10-26 08:40:20 +01:00
build.test.js Translations keyed by labels instead of English text 2026-10-27 11:05:09 +01:00
game.test.js The broadband panel shows each city's real price per gigabit and real revenue, not the base rate 2026-10-27 11:56:55 +10:00
harness.js Ship short ids instead of labels; checker, tests and docs for labels 2026-10-27 11:27:11 +01:00
i18n.test.js Ship short ids instead of labels; checker, tests and docs for labels 2026-10-27 11:27:11 +01:00
inbox.test.js Translations keyed by labels instead of English text 2026-10-27 11:05:09 +01:00
issues.test.js City density rule: retire 15 crowded Brazilian cities from new games 2026-10-27 10:09:12 +01:00
latency.test.js Far-away transit backhaul is slow, and slow is bad service 2026-10-26 23:29:49 +01:00
levels.test.js Router trade-ins, one swap a day, and speed-based requirements (#82) 2026-10-25 21:49:51 +01:00
modes.test.js RouteScript: AI button, help page and ready-made scripts 2026-10-26 21:44:59 +01:00
pages.test.js Ship short ids instead of labels; checker, tests and docs for labels 2026-10-27 11:27:11 +01:00
peering.test.js Add Crowdflare Rackstar embedded caches 2026-10-26 20:33:20 -05:00
perf.test.js Split the game page into partials under src/, assembled into one index.html at build 2026-10-27 10:05:56 +01:00
persist.test.js Split the game page into partials under src/, assembled into one index.html at build 2026-10-27 10:05:56 +01:00
regions.test.js City density rule: retire 15 crowded Brazilian cities from new games 2026-10-27 10:09:12 +01:00
routing-reference.test.js Routing reference test runs on today's routing loop; perf bench reads exported saves 2026-10-26 08:40:20 +01:00
sea-routing.test.js Sea routing: Suez and Panama crossings, great circles, fastest design back on par 2026-10-26 22:13:16 +01:00
services.test.js Stack a carrier's alien waves on one fiber into one contract 2026-10-26 23:48:34 +01:00
speed.test.js Routing makes far less garbage: no temporary arrays or closures in its hot loop 2026-10-26 13:41:13 +01:00
subsea-upgrade-timing.test.js Fix subsea upgrade scheduling and add one-click construction rush 2026-10-26 22:47:13 +00:00
supply.test.js Supply chain: hardware prices drift up, shortages come and go, spares and price locks 2026-10-27 09:25:47 +01:00