Reorganize the Guild section of Sokko TCG's administration

The Guild settings stacked three levels of navigation (admin menu, quest
tabs wrapping on two lines, Expedition tabs), hid whether each quest was
open until its tab was opened, gave every quest a different layout, wrote
the day's figures as sentences and laid out settings loosely.

- The Guild opens on one card per quest, built like the player's Guild
  board: the quest illustration, its state badge, the day's figures as
  small one-line rectangles and a "Régler" button.
- Inside the Guild, the admin menu lists the five quests; the collapsed
  half-screen menu reads "Guilde › <quête>".
- Each quest starts with a breadcrumb and the header of a collection page:
  illustration, state badge, "Ouvert aux joueurs" switch (confirmed before
  applying), summary and the day's figures, then what follows the day
  (Current Race circuit, today's hard mirror, running expeditions).
- The broken mirror sets its three mirrors in the drop-rate table (picture,
  games today, base gain, per remaining move, move margin).
- Expedition destinations are aligned list rows with a switch.
- Settings groups keep the NDS panels used by the Shop. The Guild layout
  moves to its own sheet, _nebula-admin-guild.scss.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-30 16:53:28 +01:00
parent 52df57f781
commit c43702b864
18 changed files with 497 additions and 292 deletions

View file

@ -115,7 +115,8 @@ test("large sass files stay split by stable responsibility", async () => {
"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-bag.scss"
"website/src/styles/_nebula-expedition-bag.scss",
"website/src/styles/_nebula-admin-guild.scss"
];
for (const path of orchestrators) {
@ -137,7 +138,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"]);
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.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);