brackt/app
Claude 04f6222759
Fix CS2 stage advancement tracking and add progressive QP assignment
Stage Advancement UI now shows the full 16-team field for each stage
(direct entries plus teams that advanced from the previous stage),
so admins can see and mark eliminations for Stage 1 advancers competing
in Stage 2/3 without confusion about where those teams went.

Key changes:
- markCs2StageEliminations now accepts an explicit stageEliminated value
  per team, fixing a bug where Stage 1 teams eliminated in Stage 2 would
  have stageEliminated set to 1 (their entry stage) instead of 2.
- New assignCs2EliminationQP writes QP to event_results progressively
  as eliminations are saved: Stage 1/2 exits get 0 QP immediately,
  Stage 3 exits get sub-ranked QP (placements 9-16 by W-L record).
- Form keys changed to elim_{stageNum}_{participantId} so the backend
  knows which stage each elimination occurred at.
- Stage completion is inferred from saved data (≥8 eliminations at
  that stage) to automatically move advancers into the next section.
- STAGE_LABELS updated to reflect the real 16-team field for stages 2/3.

https://claude.ai/code/session_013u6vbGHdppe88wQ95BLANw
2026-06-13 16:44:02 +00:00
..
components claude/great-lovelace-r3bznh (#88) 2026-06-12 22:35:35 +00:00
contexts feat: implement middleware and context provider for Express integration 2025-10-11 20:56:00 -07:00
hooks Fix three timer-pause gaps found in code review 2026-06-06 08:52:04 -07:00
lib Debug sync-and-simulate cron job: surface curl output and log auth failures 2026-06-10 16:50:30 +00:00
models Fix CS2 stage advancement tracking and add progressive QP assignment 2026-06-13 16:44:02 +00:00
routes Fix CS2 stage advancement tracking and add progressive QP assignment 2026-06-13 16:44:02 +00:00
services claude/great-lovelace-r3bznh (#88) 2026-06-12 22:35:35 +00:00
test sync racing standings (#80) 2026-06-10 04:25:48 +00:00
types Redesign standings page with sortable table, 7-day change, and chart repositioned (#205) 2026-03-22 11:05:13 -07:00
utils claude/sports-templates-conversion-ILWAM (#71) 2026-06-04 21:31:49 +00:00
welcome Redesign to dark-mode-only with navy palette and accent colors (#13) 2026-02-20 19:26:11 -08:00
app.css Add electric flash + fade animation for draft picks, fixes #381 (#407) 2026-05-10 23:17:29 -07:00
entry.client.tsx Filter unnecessary sentry css and js errors. 2026-03-15 10:24:57 -07:00
entry.server.tsx Replace console.* with structured logger, fix no-inferrable-types (closes #98) (#199) 2026-03-21 13:41:39 -07:00
root.tsx fix: resolve all 48 WCAG 2.2 AA accessibility issues (#439) 2026-05-17 20:11:38 -07:00
routes.ts claude/great-lovelace-r3bznh (#88) 2026-06-12 22:35:35 +00:00