Rework the daily card page around what the player knows and hints opened in any order
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6993080d81
commit
880f007cce
24 changed files with 812 additions and 415 deletions
|
|
@ -110,6 +110,7 @@ test("large sass files stay split by stable responsibility", async () => {
|
|||
"website/src/styles/toolboxes/calendar/_date-picker.scss",
|
||||
"website/src/styles/toolboxes/calendar/_event-controls.scss",
|
||||
"website/src/styles/toolboxes/calendar/_form-actions.scss",
|
||||
"website/src/styles/_nebula-daily.scss",
|
||||
"website/src/styles/_nebula-expeditions.scss",
|
||||
"website/src/styles/_nebula-expedition-destinations.scss",
|
||||
"website/src/styles/_nebula-expedition-loadout.scss",
|
||||
|
|
@ -135,7 +136,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-expeditions", "nebula-expedition-destinations", "nebula-expedition-loadout", "nebula-expedition-journey"]);
|
||||
assert.deepEqual(cardSheets, ["nebula-cards", "nebula-daily", "nebula-expeditions", "nebula-expedition-destinations", "nebula-expedition-loadout", "nebula-expedition-journey"]);
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue