Commit graph

24 commits

Author SHA1 Message Date
622e54ea73 fix(viewer): restore all-player Over Time statistics 2026-11-15 21:57:19 +00:00
c1acabcf58 fix(viewer): outline white planets in matching type highlights 2026-11-13 11:18:30 +00:00
1b6f1f3566 test(viewer): align browser smoke with current chat controls 2026-11-02 20:04:52 +00:00
2477b9673f Test hosted localization bundles from the production origin 2026-10-20 14:36:11 +02:00
798acfa775 feat: add Simplified Chinese to both Gaia viewers 2026-10-20 14:31:14 +02:00
7062118dce feat: offer "Undo my move" against bots in both viewers
BGS lets the only human of a game against bots take back their last saved
move (protocol 0.10.0). Both viewers show an "Undo my move" control with the
turn tools (an icon in the mobile action tray's title bar) while BGS reports
it available on that player's live board: never to spectators, nor in
replays, planning, BGS analysis or tutorials, nor while a queued plan awaits
the server. It asks BGS to undo; when the earlier state arrives, selections
made on the later board are dropped with the turn being composed. Back still
steps through the turn being composed, locally.

- @boardgamers/protocol 0.8.1 -> 0.10.0 (added to minimumReleaseAgeExclude)
- "Undo my move" in all 16 locales
- unit tests, a browser smoke test of both bundles, and BGS-like undo in the
  local premove preview
- viewer 5.20.58, old-ui 1.0.21

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:35:40 +02:00
effc719a0a fix(viewer): scale statistics icon through a Safari-compatible SVG group 2026-10-06 13:21:26 +02:00
cab56d11d6 perf: split viewer languages and artwork into separate assets 2026-09-30 00:29:46 +02:00
26e73d54bd
fix(viewer): compact action controls and unify game icons (#338) 2026-09-27 09:34:44 +02:00
397c657b26
Add Persian viewer and tutorial translations (#337)
* Add Persian viewer and tutorial translations

* Handle missing shortcut markup without non-null assertions
2026-09-27 00:59:36 +02:00
42830754c7 fix(viewer): restore saved unread chat counts 2026-09-26 12:10:18 +02:00
dc97d50b11 Add optional 4-QIC tech action for two-player Lost Fleet 2026-09-24 21:42:38 +02:00
bd31210d11 Add player hover cards and board thumbnails 2026-09-24 11:44:13 +02:00
07ba1c6963 Share color-blind preference across BGS games 2026-09-23 19:45:17 +02:00
f047ffb15d Support analysis permissions and translated chat in both viewers 2026-09-21 20:32:47 +02:00
e25370dbb6
Accept any reachable asteroid in the tutorial with one QIC (#335) 2026-09-20 16:38:17 +02:00
85a516040f
Keep auto-charge and planning in Gaia’s action bar (#334)
* Improve premoves and fix random auctions and Ivits exploration

* Fix blocked legacy random-faction sealed auctions

* Allow premoves for initial building and booster choices

* Compact setup actions and show ship explorers

* Restore auto-charge controls in Gaia game UI

* Use published player-settings protocol 0.3.4

* Allow verified protocol 0.3.4 during release-age quarantine

* Keep planning and auto-charge in the action bar outside your turn

* Bump viewer to 5.20.6 for action bar release
2026-09-19 12:02:37 +02:00
cfed58ed68
Teach range boosts and passing through native tutorial controls (#333) 2026-09-17 16:49:47 +02:00
8c50089ccd
Use native game controls throughout tutorials (#332) 2026-09-17 16:14:06 +02:00
28ff1fb405 Add playable Gaia Project tutorial course 2026-09-16 19:17:53 +02:00
2fb542b2fb Hide chat shortcut until there are unread messages 2026-09-15 11:51:31 +02:00
e3a8e0a664
Use shared BGS viewer and chat protocol (#331)
* Use shared BGS viewer and chat protocol

* Use shared chat panel with faction portraits and mobile viewport

* Update shared chat visibility and show date separators

* Keep typing after completing a chat mention
2026-09-13 22:54:32 +02:00
14347432f0 feat: remove Frontiers expansion; fix import cycles + base-game scoring clip; Vite dev app (engine 4.11.0, viewer 5.15.0)
FRONTIERS REMOVAL (engine + viewer). Old BGS games pin old engine
versions so replay compatibility is unaffected; no current-version
games used Frontiers.

Engine (745 tests passing, 0 lint errors):
- deleted available/ships.ts (+spec), move/ships.ts
- enums: Frontiers bitflag, ResearchField.Diplomacy, Resource Trade*/
  ShipRange/UpgradeDiplomacy, Building ships/Colony/CustomsPost block
  (+ships()/isShip()/isAvailableShip()/Ship), Command.MoveShip,
  Phase.RoundShip, Condition.Trade, TechFrontiers1, Diplomacy tech pos
  members; Expansion.All now = LostFleet
- research-tracks: Diplomacy track, frontiersEco, ship-range rewards
  stripped from base Navigation track; all other Frontiers-only fields,
  handlers, cases and AI dimensions removed
- wrapper.ts: frontiers expansion flag

Viewer (863 tests passing, lint clean):
- deleted logic/trade-rewards.ts, logic/buttons/ships.ts,
  charts/testdata/frontiers/; zero 'frontiers' references remain

IMPORT-CYCLE + CJS FIXES surfaced by the Vite dev server (ESM strict
order), all pre-existing bugs webpack/CJS masked:
- engine/src/buildings.ts imported from ".." (package root -> compiled
  dist) - now "./enums"
- engine/index.ts re-exported ~15 type-only names as values
  (BrainstoneDest, MaxLeech, EventSource, EngineOptions, the
  Available* block, ResourceConversion, FederationInfo, GaiaHexData,
  AvailableSetupOption, PreferenceSplit*/SilentAuction* types) -
  split into 'export type' (load-bearing for rolldown too)
- viewer: Rules.vue registers FactionInfoCard async, breaking the
  Rules -> FactionInfoCard -> PlayerInfo -> Rules cycle
- viewer: buttonStringLabel moved from logic/buttons/utils.ts to
  shortcuts.ts (re-exported), breaking utils <-> shortcuts

DEV APP ON VITE (npm run serve = vite --port 8080):
- vite.config.ts mode-aware: dev = SPA (index.html + public/ +
  engine-source aliases + optimizeDeps exclusion), build = the
  published IIFE lib (unchanged single-file contract, verified)
- package.json: pruned webpack-era files/unpkg entries (.map dropped
  - no map uploads per owner decision); deleted
  scripts/fix-package-imports.ts (referenced the vite build's
  nonexistent dist/package/css)
- dev boot verified in Chromium: self-contained picker renders,
  zero page errors

BASE-GAME SCORING CLIP (follow-up on 5.14.2, which shipped without
the intended fix due to a no-op string replace): ScoringBoard's
y=-25 offset removed for real; spec pins y===null; verified in the
built bundle (first final tile fully inside the canvas top).

AGENTS.md: no sourcemap upload to BGS (owner decision); bodyparser
exemption noted as deployed.
2026-09-01 10:33:08 +00:00
coyotte508
29e100da6d 💚 (viewer) Fix generated package 2021-03-17 12:56:35 +01:00