Bundle Station Master v0.5.6, and count seats from 1 in Games in Progress

Pin moves to v0.5.6, package version to 0.5.6:0.

One packaging change of its own: Games in Progress reported "seat 0" while
the game's own screens now say "Seat 1", so an administrator and a player
would have been describing different chairs. Same +1, same reason.

Verified on phoenix.local as an update from 0.5.5:0. The served client
carries all three of the release's fixes: the lobby's seat numbers go
through seatLabel, .bs-name.bs-turn has lost the font-weight that made the
current player's name unreadable at 11px, and the west-to-east seating line
is gated to Day 1 Stage 1.
This commit is contained in:
Jesse
2026-08-21 21:01:24 -04:00
parent dbda1a7a02
commit 5bd06af932
3 changed files with 21 additions and 18 deletions
+4 -1
View File
@@ -24,7 +24,10 @@ function describe(g: GameRow): string {
g.status === 'finished'
? i18n('Finished — this game is over and waits on nobody.')
: g.waitingOn
? `${i18n('Waiting on')}: ${g.waitingOn.name} (${i18n('seat')} ${g.waitingOn.seat})`
? // +1 for the same reason the game's own screens do it: seats are zero-based internally
// and one-based to a person, and an administrator reading "seat 0" against a player
// reading "Seat 1" is two people describing different chairs.
`${i18n('Waiting on')}: ${g.waitingOn.name} (${i18n('seat')} ${g.waitingOn.seat + 1})`
: `${i18n('Waiting on')}: ${i18n('nobody — the Mainline Phase is running itself')}`
return [
`${i18n('Players')} (${g.playerCount}): ${who}`,
+16 -16
View File
@@ -4,28 +4,28 @@ export const current = VersionInfo.of({
// `<upstream>:<downstream>` — the upstream half tracks the bundled Station Master tag exactly
// (`versions.md`'s consistency checklist), so bumping the submodule pin and bumping this are one
// action. The downstream half moves only for packaging-only changes.
version: '0.5.4:0',
version: '0.5.6:0',
releaseNotes: {
en_US:
'Bundles Station Master v0.5.4. The Division map now names each district after the player who ' +
'owns it, marks whose turn it is and which one is yours, and the lobby presents the game code ' +
'as something to copy and send.',
'Bundles Station Master v0.5.6. Seats are numbered from 1 rather than 0 everywhere a person ' +
"reads them, the current player's name on the Division map is legible again, and the " +
'west-to-east seating line appears only while the game is opening.',
es_ES:
'Incluye Station Master v0.5.4. El mapa de la División nombra cada distrito según su jugador, ' +
'marca de quién es el turno y cuál es el tuyo, y la sala muestra el código de partida para ' +
'copiarlo y enviarlo.',
'Incluye Station Master v0.5.6. Los asientos se numeran desde 1 en lugar de 0 allí donde los ' +
'lee una persona, el nombre del jugador en turno vuelve a ser legible en el mapa de la ' +
'División, y la línea de asientos solo aparece al comenzar la partida.',
de_DE:
'Enthält Station Master v0.5.4. Die Divisionskarte benennt jeden Bezirk nach seinem Spieler, ' +
'markiert, wer am Zug ist und welcher Bezirk der eigene ist, und die Lobby zeigt den Spielcode ' +
'zum Kopieren und Verschicken.',
'Enthält Station Master v0.5.6. Plätze werden überall, wo ein Mensch sie liest, ab 1 statt ab 0 ' +
'gezählt, der Name des Spielers am Zug ist auf der Divisionskarte wieder lesbar, und die ' +
'Sitzreihenfolge erscheint nur noch zu Spielbeginn.',
pl_PL:
'Zawiera Station Master v0.5.4. Mapa Dywizji nazywa każdy okręg nazwiskiem jego gracza, ' +
'zaznacza czyja jest tura i który okręg jest twój, a poczekalnia pokazuje kod gry do ' +
'skopiowania i wysłania.',
'Zawiera Station Master v0.5.6. Miejsca są numerowane od 1 zamiast od 0 wszędzie tam, gdzie ' +
'czyta je człowiek, nazwa gracza wykonującego ruch jest znów czytelna na mapie Dywizji, a ' +
'linia kolejności miejsc pojawia się tylko na początku gry.',
fr_FR:
"Inclut Station Master v0.5.4. La carte de la Division nomme chaque district d'après son " +
'joueur, indique à qui est le tour et lequel est le vôtre, et le salon présente le code de ' +
'partie à copier et à envoyer.',
'Inclut Station Master v0.5.6. Les places sont numérotées à partir de 1 plutôt que de 0 ' +
'partout où une personne les lit, le nom du joueur dont c’est le tour est de nouveau lisible ' +
'sur la carte de la Division, et la ligne des places n’apparaît qu’au début de la partie.',
},
migrations: {
up: async ({ effects }) => {},