Commit graph

47 commits

Author SHA1 Message Date
5403d54479 Release Container viewer 2.1.4 bank interaction polish 2026-11-19 09:15:29 +00:00
13bbb63b65 Animate bank settlement into holdings and release viewer 2.1.3 2026-11-19 08:46:42 +00:00
0d5ad24c22 Release Container viewer 2.1.2 tutorial and bank usability improvements 2026-11-19 08:32:16 +00:00
e224cf7c78 Fix cross-origin locale imports and release viewer 2.1.1 2026-11-19 00:54:53 +00:00
0a111ad296 Release Offshore Island engine 2.2.0 and viewer 2.1.0 2026-11-19 00:48:16 +00:00
b042edaaa5 Integrate Offshore bank into SVG board and migrate viewer to Vite 2026-11-18 21:57:16 +00:00
a7064f9c53 Add optional Offshore Island expansion, bank UI, bots and achievements 2026-11-18 21:16:06 +00:00
24031837d9 Add Container final-state per-game achievements 2026-11-14 00:43:53 +00:00
66632f1697 Order revealed sealed bids by seat and release viewer 2.0.16 2026-11-12 22:06:10 +00:00
f806bdef1f Offer "Undo my move" in games against bots
BGS lets the only human of a game against bots take back their last saved
move (protocol 0.10.0). The board toolbar's undo slot shows an "Undo my
move" control while BGS reports it available and the current turn has no
unsaved moves (those keep the in-turn undo); it stays hidden for spectators,
in analysis, during replays and in lessons. Clicking it asks BGS to undo,
which then sends the earlier state: going back in history discards the
local selection, bid drafts and confirmations.

The dev app mimics BGS's undo against its AI players. Also fixes the import
order that failed the prettier check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 11:32:52 +02:00
76ea16358e Prefill pending bids and retain confirmation when revising auction additions 2026-10-05 16:26:09 +02:00
4578009179 feat: allow revising pending sealed auction bids 2026-10-05 01:36:02 +02:00
d21684430a Use shared BGS preferred colourblind player symbols 2026-10-02 11:20:54 +02:00
8ccc2a1396 Publish auction journal improvements and Supporter badges 2026-10-01 23:56:32 +02:00
ca275d6a37 Load languages on demand and publish complete viewer bundles 2026-09-30 00:27:37 +02:00
2f0c4a0503 fix: use protocol 0.6.2 and remove chat scroll backports 2026-09-28 19:51:14 +02:00
212b56cd3c Preserve chat and journal position while scrolling history 2026-09-27 10:05:36 +02:00
4a8dbc0feb fix: preserve mobile scrolling and cancel reversed loan moves 2026-09-27 09:20:39 +02:00
af8beebb2c fix(viewer): prevent translated button overlap and restore unread chat 2026-09-26 12:01:23 +02:00
f931ca59d6 fix(viewer): keep translated calculator controls within their keys 2026-09-25 18:28:54 +02:00
c197b42042 feat(viewer): support the shared color-blind preference 2026-09-25 17:38:35 +02:00
9436db2f7a feat(viewer): localize interface and tutorials in 15 languages 2026-09-25 16:29:21 +02:00
e57d24cdfe feat(viewer): add player hover cards and board thumbnails 2026-09-24 11:44:11 +02:00
e562533c97 feat(viewer): support editing chat messages 2026-09-21 22:40:07 +02:00
3666bb0948 fix(viewer): make chat translation controls compact 2026-09-21 21:53:03 +02:00
8664228bc8 Support translated chat and platform analysis defaults 2026-09-21 20:32:09 +02:00
c88540c103 Keep the mobile board scrollable and let chat scroll into view 2026-09-21 16:40:06 +02:00
30cdb46757 Support saved analyses of finished Container games 2026-09-21 15:30:16 +02:00
c226c43b76 Teach tutorial actions through the game board 2026-09-17 16:12:18 +02:00
aaaaca312e Use shared tutorial feedback and next-chapter controls 2026-09-16 09:30:38 +02:00
4eb331d601 Add guided Container tutorials and clearer auction controls 2026-09-15 23:02:22 +02:00
70e14de86c
Use shared BGS viewer and chat protocol (#10)
* Use shared BGS viewer and chat protocol

* Use shared chat panel with Container styling

* Update shared chat visibility and show date separators

* Keep typing after completing a chat mention
2026-09-13 22:54:10 +02:00
6dc34d919c viewer: tentative-turn buffer instead of engine Undo moves
- Game.vue keeps turnMoves (the current turn's atomic moves) alongside the
  last committed state; every action emits the FULL buffer as the move
  payload, and the local preview replays the buffer with fake engine moves
- undo pops the buffer: re-emits the shortened turn if non-empty, or just
  resets the preview to the committed state with no server call (nothing was
  ever persisted for the turn)
- the buffer is cleared whenever a committed state (newTurn !== false)
  arrives from the platform, or when a local move completes the turn
- undo button availability = non-empty buffer (the Undo engine move is gone)
- launch.ts feeds the state embedded in move responses (logSlice().state) to
  the game — that's the only channel through which tentative states arrive —
  and falls back to fetchState otherwise
- self-contained dev mode mimics the platform: replays the buffer from the
  committed state and only persists committed results
- bump to 2.0.0 (pairs with container-engine 2.x)
2026-08-16 21:03:05 +00:00
f805997466 viewer: fix pre-existing build breakage
The viewer no longer compiled (bitrot surfaced by vue 2.7 + typescript 4.9 +
pnpm 11 strict hoisting):

- delete shims-tsx.d.ts: vue 2.7 ships its own JSX typings, ours duplicated
  the IntrinsicElements index signature
- type UIData.dragged structurally (Vue & { pieceType, pieceId }) instead of
  using a .vue module import as a type, which TS 4.9 rejects
- add csstype (vue's types import it; no longer hoisted) and @types/node +
  'node' in tsconfig types (self-contained.ts uses process.env)
2026-08-16 20:58:01 +00:00
6482fd5032 🔧 Fix repository.url for npm OIDC provenance 2026-08-12 22:10:15 +02:00
github-actions
8d5195e227 Viewer v1.1.6
Some checks are pending
All / prettier (push) Waiting to run
2021-12-01 22:58:57 +00:00
github-actions
1aff080a90 Viewer v1.1.5
Some checks are pending
All / prettier (push) Waiting to run
2021-12-01 22:09:32 +00:00
github-actions
3632b8189d Viewer v1.1.4
Some checks are pending
All / prettier (push) Waiting to run
2021-10-14 20:35:37 +00:00
github-actions
28a47099fa Viewer v1.1.3
Some checks are pending
All / prettier (push) Waiting to run
2021-09-19 20:09:45 +00:00
github-actions
35836692cd Viewer v1.1.2
Some checks are pending
All / prettier (push) Waiting to run
2021-09-19 19:37:15 +00:00
github-actions
2510484d4d Viewer v1.1.1
Some checks are pending
All / prettier (push) Waiting to run
2021-08-15 11:39:49 +00:00
coyotte508
019f274bf8 🔖 (viewer) Bump version 2021-08-15 13:33:00 +02:00
github-actions
2cbd809cb3 Viewer v1.0.20
Some checks are pending
All / prettier (push) Waiting to run
2021-07-04 00:42:59 +00:00
github-actions
ba50c2e2d9 Viewer v1.0.19 2021-07-04 02:41:45 +02:00
coyotte508
d6db45d0d0 Fix publishing of viewer 2021-07-04 02:36:34 +02:00
coyotte508
7220b4aace Mono-repo configuration 2021-07-03 21:39:13 +02:00
coyotte508
c02ecd3b5c Move viewer into own folder 2021-07-03 21:27:24 +02:00
Renamed from package.json (Browse further)