Commit graph

17 commits

Author SHA1 Message Date
25834723ee feat(viewer): localize interface and tutorials in 15 languages 2026-09-25 16:30:05 +02:00
Eliott C.
f9c4d7dc05
Add current-round planning and city/powering premoves (#156)
* Add current-round planning and city/powering premoves

* Hide empty premove containers after cancellation

* Simplify premove review and cancellation and fix clean-checkout checks

* Run premove browser checks in CI and serve the preview favicon

* Validate premoves directly and reopen them through Plan

* Show saved premoves in Plan button and use board Undo

* Remove redundant preview label from planning controls

* Rename queue cancellation to Cancel premoves

* Use board Done control to skip simulated plant purchases

* Remove root docs and repository screenshots
2026-09-18 10:35:54 -07:00
Eliott C.
5f2406ebb9
Add playable Powergrid tutorials and city income reference (#155)
* Add playable Powergrid tutorials and city income reference

* Space houses that share a city count so each one stays readable

The income row shortened the city-count cells, and the house markers were
packed to fit: 6px between columns against a 12px-wide house, and 3px
between rows. Two players on the same number — the ordinary case for most
of a game — overlapped by half and read as a single smudge; five or six at
the start of a game read as one blob.

Lay them out bottom-aligned in the cell instead, growing upward from the
income strip so the number above stays legible, a house-width between
columns and a house-height between rows. Five or six sharing go three wide
rather than three tall: a third row starts at the top of the cell and hides
the number completely, which is every game's opening position.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Lift dialogs above the status bar and complete the payment table

The status bar is sticky at z-index 10 and every modal sat at z-index 1, so
the bar painted over the top of any open dialog. Modals open 10vh down and
the bar is a fixed 40px, so on a short viewport — a phone held sideways —
the bar landed across the dialog's own header and covered the close button,
leaving no way out of the dialog at all. Put the modal above it; the bar is
then dimmed behind the overlay like the rest of the page.

The payment table counted to citiesToEndGame, which stopped one column short
of the number that ends the game, and a player can finish holding more cities
than that by building in the same phase as whoever triggered the end. Render
the whole table instead, so it agrees with the city track on the board.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Co-authored-by: John Gold <goldjohn6@gmail.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 10:10:47 -07:00
Eliott C.
41829b9c5a
Use shared BGS viewer and chat protocol (#151)
* Use shared BGS viewer and chat protocol

* Use the viewer TypeScript config in every build worker

* Use shared chat panel and preserve mobile journal shortcut

* Update shared chat visibility and show date separators

* Keep typing after completing a chat mention
2026-09-13 22:54:10 +02:00
goldjohn6
4c0f2b3506
Soak test and misc fixes (#81)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 12:02:47 +02:00
f075d0aefb Enable legacy OpenSSL provider for viewer build
vue-cli-service pulls in webpack 4, which calls createHash('md4').
OpenSSL 3 (bundled with Node >= 17) removed MD4, so the build now
fails with ERR_OSSL_EVP_UNSUPPORTED on the Node 24 runner. Setting
NODE_OPTIONS=--openssl-legacy-provider re-enables the legacy provider
just for the publish step, which is the documented workaround until
the viewer is migrated off webpack 4.

Made-with: Cursor
2026-04-27 11:31:32 +02:00
c0e5a67adf Publish under unscoped names and fix repository metadata
- Stop rewriting package names to @boardgamers/* before publish: trusted
  publishing on npmjs.com is configured for the original unscoped
  powergrid-engine / powergrid-viewer packages, so the rewrite caused
  E404 because the OIDC exchange has no trust relationship for the
  scoped names.
- Update each package.json's repository, homepage and bugs fields to
  point at boardgamers/powergrid (with a directory subpath) instead of
  the now-defunct LucasAMello/powergrid-engine fork.
- Switch the publish step to pnpm@latest via npx so we get both OIDC
  trusted-publishing support (pnpm >= 10.16) and the workspace:
  protocol rewrite that npm publish does not perform, without bumping
  the repo-wide packageManager.

Made-with: Cursor
2026-04-27 11:23:14 +02:00
mmunson99
ec23d9c63f
Add Baden-Württemberg map with all 5 rule variants (#73)
Co-authored-by: coyotte508 <coyotte508@protonmail.com>
2026-04-27 11:12:22 +02:00
771b8fd071 backcompat 2025-08-09 21:27:50 +00:00
317bc7dde7 update viewer publish 2025-08-09 21:14:46 +00:00
c82c1b978f update engine-publish 2025-08-09 21:12:39 +00:00
d33f122727 also revert back to older node 2025-08-09 21:01:14 +00:00
2c4c54f569 fix CI? 2025-08-09 20:42:38 +00:00
71dd8b7a40 update publish scripts 2025-08-09 20:11:15 +00:00
Lucas Mello
544bbc825e
Update viewer-publish.yml
Fix package name
2021-10-22 19:01:55 -03:00
Lucas Mello
f6b6864bcc
Update engine-publish.yml
Fix package name
2021-10-22 19:01:25 -03:00
Lucas Mello
ed72398736 Initial 2021-10-13 00:09:21 -03:00