Make Sokko TCG's Watcher's Bag compact, with items used elsewhere shown small
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m40s
Validate and deploy Sokko G / deploy (push) Successful in 16s

- Only the engraving burin and the workshop plan (while the workshop is open) keep a card in the bag, now compact: art on the left, name, help and action on the right.
- Every other item (destination items, wind rose, anchor, balm, oblivion scroll) is shown small on the same row, with what it does and where to use it in a tooltip.
- The oblivion card picker is gone: the scroll is used from a card's sheet.
- The bag's styles move to their own sheet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-30 13:16:00 +01:00
parent 9d2c561fc6
commit e8fe27a90f
10 changed files with 76 additions and 78 deletions

View file

@ -475,8 +475,6 @@ export function validateSiteContent(site) {
"cards.expeditions.filterEmpty",
"cards.expeditions.engraveButton",
"cards.expeditions.engraveButtonLabel",
"cards.expeditions.improvePickerHelp.oblivion",
"cards.expeditions.improvePickerEmpty.oblivion",
"cards.expeditions.bonusAdded",
"cards.expeditions.bonusSlots.5",
"cards.expeditions.bonusSlots.6",
@ -548,6 +546,7 @@ export function validateSiteContent(site) {
"cards.expeditions.testPlayerAdded",
"cards.expeditions.testGroup",
"cards.expeditions.bonusOffersTitle",
"cards.expeditions.bagOthers",
"cards.expeditions.bonusOffer.guideStar.title",
"cards.expeditions.bonusOffer.guideStar.effect",
"cards.expeditions.bonusOffer.skyChart.title",

View file

@ -114,7 +114,8 @@ test("large sass files stay split by stable responsibility", async () => {
"website/src/styles/_nebula-expeditions.scss",
"website/src/styles/_nebula-expedition-destinations.scss",
"website/src/styles/_nebula-expedition-loadout.scss",
"website/src/styles/_nebula-expedition-journey.scss"
"website/src/styles/_nebula-expedition-journey.scss",
"website/src/styles/_nebula-expedition-bag.scss"
];
for (const path of orchestrators) {
@ -136,7 +137,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-team", "nebula-race", "nebula-mirror"]);
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"]);
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);