Commit graph

21 commits

Author SHA1 Message Date
d0bd5825a4 Adopt published protocol types and verify achievement release assets 2026-11-14 00:24:48 +00:00
5499837e23 feat(engine): add achievement icons and reproducible portraits 2026-11-13 23:45:30 +01: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
fa7a6a1217 feat: show BGS Supporter badges in both viewers 2026-10-01 23:59:25 +02:00
4f9f7e694c fix: use protocol 0.6.2 and remove chat scroll backports 2026-09-28 19:50:40 +02:00
c54d602d4d
Fix chat scrolling in both Gaia Project viewers (#339) 2026-09-27 10:11:57 +02:00
42830754c7 fix(viewer): restore saved unread chat counts 2026-09-26 12:10:18 +02:00
bd31210d11 Add player hover cards and board thumbnails 2026-09-24 11:44:13 +02:00
e564724728 feat(viewer): support editing chat messages 2026-09-21 22:40:08 +02:00
af9402952f fix(viewer): make chat translation controls compact 2026-09-21 21:53:09 +02:00
f047ffb15d Support analysis permissions and translated chat in both viewers 2026-09-21 20:32:47 +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
28ff1fb405 Add playable Gaia Project tutorial course 2026-09-16 19:17:53 +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
3644919458 feat(viewer): restore old UI with Lost Fleet support 2026-09-11 15:33:28 +02:00
b21245dcff Improve visual styling of planets, scoring tiles, and research board 2026-09-05 12:34:43 +00:00
662e64891a feat(viewer): migrate build to Vite 8 + rolldown, tests to vitest 4 (v5.14.0)
The vue-cli/webpack 4 toolchain was the root cause of three shipped
production crashes this week (iterator-spread __spreadArrays RangeError,
stale cache-loader emitting raw vue_1.default for the vue external, and
the TDZ circular-import). Replace it:

- vite.config.ts: lib build of src/wrapper.ts -> dist/package/
  viewer.umd.js (IIFE, esnext, minified) + viewer.css + map. vue and
  bootstrap-vue stay external (window.Vue / window.BootstrapVue) via
  plain global reads - no .default interop possible. process.env is
  baked to ({}) via define, matching vue-cli's old defaults.
- vitest.config.ts: jsdom env, single fork, chai-compatible specs run
  unchanged. 879 tests pass (was 809 - the json-driven chart/resource
  suites now register their dynamic tests properly under vitest).
- import type correctness across the codebase: rolldown rejects
  value-imports of type-only exports, so type-only imports are now
  written as import type (and mixed imports split). Also fixes
  self-contained-state.ts's reassignment of a destructured const.
- Commands.spec.ts: split a two-render test into two its - two
  @testing-library renders of Commands in one test interfere under
  vitest.
- scripts: package/build -> vite build, test -> vitest run.
- devDeps: +vite +@vitejs/plugin-vue2 +vitest +jsdom +esbuild +events
  (browser polyfill for the engine's node 'events' import).

Verified in Chromium against the built bundle: loads with CDN Vue 2 +
BootstrapVue, Rotate sectors completes with and without rotations, zero
pageerrors; the bundle contains no __spreadArrays helpers.
2026-09-01 09:00:07 +00:00
2e6e4ce4d1
perf(engine): 10x federation enumeration — fixes >10s move timeouts in prod games (#325) 2026-08-19 12:19:05 +02:00
06c934d5c8 Update pnpm config and enable transpile-only for viewer build 2026-08-07 22:21:19 +00:00
coyotte508
dbd1e840e0 🎉 (old-ui) Add old-ui to repo 2021-05-18 23:42:49 +02:00
coyotte508
5befa5440a 🏗 Use pnpm / pnpm workspace 2021-02-21 01:05:37 +01:00