Let players who join a group set up their card and say when they are ready
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m30s
Validate and deploy Sokko G / deploy (push) Successful in 13s

Joining a group froze the card's stats at once and locked its
equipment, so a joining player could not equip anything. Joining now
uses the same card frame as the preparation: card, equipment and
"Améliorer la carte". Everything stays editable after joining, and the
group counts the card as it is, until the player clicks "Prêt". That
freezes the card's stats. "Modifier ma préparation" reopens it.

The creator sees each member as "Prêt" or "En préparation", with a
ready count, and can still leave at any time. A player who is not
ready leaves with their card as it is at departure. A migration marks
existing members as ready, since their stats were already frozen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-19 19:24:23 +01:00
parent dac0bdd6a7
commit c73a118ffb
16 changed files with 272 additions and 50 deletions

View file

@ -491,6 +491,17 @@ export function validateSiteContent(site) {
"cards.expeditions.lootBonus",
"cards.expeditions.join",
"cards.expeditions.joinConfirm",
"cards.expeditions.joinHelp",
"cards.expeditions.ownLoadoutTitle",
"cards.expeditions.ownLoadoutHelp",
"cards.expeditions.ready",
"cards.expeditions.readyText",
"cards.expeditions.readyNotice",
"cards.expeditions.unready",
"cards.expeditions.unreadyNotice",
"cards.expeditions.memberReady",
"cards.expeditions.memberPreparing",
"cards.expeditions.readyCount",
"cards.expeditions.cancel",
"cards.expeditions.leave",
"cards.expeditions.dissolve",