1
0
Fork 0
polaris-task-force/src/collections/minigames
Z8MB1E 08f2630442 feat(minigames): add an admin close/reopen control for periods
Phase 7 of the minigame periods feature:

- New admin component `PeriodCloseControl` renders above the minigame-periods
  list: it shows the recent periods with their status and a Close now / Reopen
  button that drives POST /api/minigame-periods/close (gated on
  minigame-periods:close; a 403 is shown inline rather than swallowed).
- Registered via `admin.components.beforeListTable` and the import map
  regenerated.

Registry CRUD and the period/entry/achievement review lists already exist as
permission-gated admin collection views, so this was the only missing surface.
Verified end to end in the running admin panel: an open period closed, its
status flipped and closedAt stamped, then reopened.
2026-10-11 17:06:52 -04:00
..
Achievements.ts feat(minigames): add period leaderboards, all-time view and achievements 2026-10-11 17:06:52 -04:00
CustomMinefields.ts feat(minigames): add creator bank and exposure toggle schema with migrations 2026-09-08 15:57:01 -04:00
CustomMinefieldScores.ts feat(minigames): add custom minefield and radio test collections with permissions, events, and migration 2026-09-08 14:41:18 -04:00
CustomRadioTests.ts feat(minigames): add custom minefield and radio test collections with permissions, events, and migration 2026-09-08 14:41:18 -04:00
CustomRadioTestScores.ts feat(minigames): add custom minefield and radio test collections with permissions, events, and migration 2026-09-08 14:41:18 -04:00
MinigameEntries.ts feat(minigames): crown player of the month and year 2026-10-11 17:06:52 -04:00
MinigamePeriods.ts feat(minigames): add an admin close/reopen control for periods 2026-10-11 17:06:52 -04:00
Minigames.ts feat(minigames): add period, entry, achievement and registry schema 2026-10-11 17:06:52 -04:00