Add an expedition set workshop to build sets without equipping
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 19m52s
Validate and deploy Sokko G / deploy (push) Has been skipped

- "Créer un set" opens a workshop from the explorer frame, or from the
  tab bar while preparation is hidden, even during an expedition: pick
  an explorer, draft its equipment, see the stats against its current
  gear and the tag synergies with cross-highlight, then save the set.
- The server accepts a set's equipment as a validated draft
  (SET_EQUIPMENT_INVALID for closed slots, unowned or duplicate commons).
- Tag search from the workshop opens the commons picker with that tag
  chosen; empty pickers and the empty sets window get a centered
  empty state with a clear or create action.
- Card tags read as a calm list and synergy shows inside the stats box;
  CardPicker moves to its own file.
- Tests, e2e paths and design docs cover the workshop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-12-05 15:40:19 +01:00
parent 6115a43118
commit ced3bc818d
30 changed files with 838 additions and 195 deletions

View file

@ -142,7 +142,7 @@ test("Sokko TCG styles load with their route and keep the single-sheet cascade",
const main = uses(await readFile(`${root}/main.scss`, "utf8"));
const route = uses(await readFile(`${root}/cards-route.scss`, "utf8"));
const cardSheets = route.filter((name) => name.startsWith("nebula-"));
assert.deepEqual(cardSheets, ["nebula-cards", "nebula-daily", "nebula-expeditions", "nebula-expedition-destinations", "nebula-expedition-loadout", "nebula-expedition-journey", "nebula-expedition-bag", "nebula-team", "nebula-race", "nebula-mirror", "nebula-admin-guild"]);
assert.deepEqual(cardSheets, ["nebula-cards", "nebula-daily", "nebula-expeditions", "nebula-expedition-destinations", "nebula-expedition-loadout", "nebula-expedition-sets", "nebula-expedition-journey", "nebula-expedition-bag", "nebula-team", "nebula-race", "nebula-mirror", "nebula-admin-guild"]);
assert.ok(cardSheets.every((name) => !main.includes(name)), "main.scss must not load the Sokko TCG sheets");
// La feuille de route ré-émet, dans le même ordre, toutes les feuilles qui suivaient les cartes dans main.scss.
const after = main.slice(main.indexOf("nebula-cards-nav") + 1);