1
0
Fork 0
polaris-task-force/src/app/api
Z8MB1E 316797d27d feat(minigames): add period leaderboards, all-time view and achievements
Phase 5 of the minigame periods feature:

- Read model (lib/minigames/periods/standings.ts) that shapes period boards
  from the ledger (rank, placement points, names) and All-Time boards from the
  untouched profile aggregates into one row type.
- GET /api/minigames/leaderboards: ?period=current|<id>|all-time, returning
  the period, the period list, the boards and the achievements honor roll.
- New /minigames/leaderboards page: period selector (current, every past
  period, All-Time), per-game tabs, and the achievements honor roll. Core-only
  in period mode; every registered game in All-Time.
- Shared client pieces: useLeaderboards hook, StandingsTable,
  PeriodStandingsCard (period by default, All-Time toggle) and
  AchievementsHonorRoll.
- Each Core game page gains an "Anchored period standings" card so the period
  board is visible on the game itself; its existing all-time board and
  mode/difficulty selectors are untouched, and it links to the full page.
  (Plan said replace the inline board; keeping it preserves the per-mode
  selectors, so the period board is added instead. Easy to swap if you prefer.)
- Ledger fetch helper extracted to lib/minigames/periods/ledger.ts.
- Integration test for the period boards, the All-Time path and the honor roll.
2026-10-11 17:06:52 -04:00
..
arma/v1 feat(reinforcement-pools): store per-pool balances and sync to the game bridge 2026-10-07 00:28:42 -04:00
game-structures/set-labor-headcount feat(game-structures): add Labor Crew admin panel for staffing writes 2026-10-07 23:28:35 -04:00
game-tick/notify feat(realtime): add game-tick SSE notification pipeline 2026-08-02 02:03:56 -04:00
health feat(version): expose build metadata 2026-08-27 18:36:11 -04:00
impersonation feat(impersonation): implement user impersonation functionality and UI 2026-08-21 01:41:14 -04:00
map-features feat(map): add Arma-style coordinate grid config, overlay and mission-map wiring 2026-10-05 03:17:52 -04:00
map-import feat(map): gate feature authoring and structure placement behind dedicated permissions 2026-09-30 14:50:14 -04:00
minigame-periods/close feat(minigames): close anchored periods and grant period awards 2026-10-11 17:06:52 -04:00
minigames/leaderboards feat(minigames): add period leaderboards, all-time view and achievements 2026-10-11 17:06:52 -04:00
mission-reminder feat(intelligence): add mission feedback reminders 2026-08-28 00:20:41 -04:00
notifications/inbox feat(notifications): add staff toggle to show only your own notifications 2026-10-09 14:43:12 -04:00
realtime feat(presence): add presence channel handling in real-time updates 2026-08-28 22:08:37 -04:00
surveys/pending feat(surveys): periodic reminder toasts for pending surveys 2026-09-23 21:07:13 -04:00
tech-tree/positions fix(tech-tree): save canvas positions in one request so auto-arrange cannot overload the server 2026-10-03 04:08:29 -04:00
version feat(version): expose build metadata 2026-08-27 18:36:11 -04:00