feat: add competition series result history

This commit is contained in:
dahyeon committed 2026-07-13 09:39:26 +00:00
1 parent aa675199af
commit 3c60081ece
5 files changed
+503 -44

No files matched your search

+23 -22
View File
@@ -27,13 +27,13 @@ and preserve all current Competition/API contracts.
**Acceptance criteria:**
- [ ] Tests cover Series aggregation, ordinal Game order, KST date boundaries,
- [x] Tests cover Series aggregation, ordinal Game order, KST date boundaries,
chronological order, outcome variants, and deterministic fallbacks.
- [ ] The focused test fails because the model module does not yet exist.
- [x] The focused test fails because the model module does not yet exist.
**Verification:**
- [ ] Run the focused Node test and record the expected RED failure.
- [x] Run the focused Node test and record the expected RED failure.
**Files likely touched:**
@@ -43,14 +43,14 @@ and preserve all current Competition/API contracts.
**Acceptance criteria:**
- [ ] Only recorded in-progress and completed Series are returned.
- [ ] Date grouping and format helpers are explicitly KST-aware.
- [ ] Decision outcomes and missing legacy durations remain distinguishable.
- [x] Only recorded in-progress and completed Series are returned.
- [x] Date grouping and format helpers are explicitly KST-aware.
- [x] Decision outcomes and missing legacy durations remain distinguishable.
**Verification:**
- [ ] Focused history tests pass.
- [ ] Existing web tests still pass.
- [x] Focused history tests pass.
- [x] Existing web tests still pass.
**Files likely touched:**
@@ -59,7 +59,7 @@ and preserve all current Competition/API contracts.
### Checkpoint: Model
- [ ] Pure tests pass without a React or browser dependency.
- [x] Pure tests pass without a React or browser dependency.
### Phase 2: Responsive Result UI
@@ -67,16 +67,16 @@ and preserve all current Competition/API contracts.
**Acceptance criteria:**
- [ ] Desktop uses a flat schedule-like row; mobile stacks metadata and matchup
- [x] Desktop uses a flat schedule-like row; mobile stacks metadata and matchup
without horizontal scrolling.
- [ ] Status and official winner are communicated with visible text and typography,
- [x] Status and official winner are communicated with visible text and typography,
not color alone.
- [ ] Game-less decisions do not show fake start times or `0 : 0`.
- [x] Game-less decisions do not show fake start times or `0 : 0`.
**Verification:**
- [ ] Changed component files pass ESLint.
- [ ] Web build succeeds.
- [x] Changed component files pass ESLint.
- [x] Web build succeeds.
**Files likely touched:**
@@ -86,15 +86,16 @@ and preserve all current Competition/API contracts.
**Acceptance criteria:**
- [ ] Each Series with Games exposes a native keyboard-operable disclosure.
- [ ] Games use Series-local ordinal, team-ID winner lookup, and omit unknown
- [x] Each Series with Games exposes a native keyboard-operable disclosure.
- [x] Games use Series-local ordinal, team-ID winner lookup, and omit unknown
zero-duration values.
- [ ] The old completed-Game mini-card block is removed.
- [x] The old completed-Game mini-card block is removed.
**Verification:**
- [ ] Full web tests, lint, and build pass.
- [ ] Source review checks heading order, disclosure semantics, and 320px layout.
- [x] Full web tests, changed-file lint, and build pass. Repository-wide lint remains
blocked by pre-existing errors outside this change.
- [x] Source review checks heading order, disclosure semantics, and 320px layout.
**Files likely touched:**
@@ -103,9 +104,9 @@ and preserve all current Competition/API contracts.
### Checkpoint: Complete
- [ ] All specification success criteria are met.
- [ ] Git diff contains only the feature spec, plan, tests, model, and UI integration.
- [ ] Unrelated working-tree files are unchanged.
- [x] All specification success criteria are met.
- [x] Git diff contains only the feature spec, plan, tests, model, and UI integration.
- [x] Unrelated working-tree files are unchanged.
## Risks and Mitigations