feat(web): align team match names with bracket

This commit is contained in:
dahyeon committed 2026-07-13 22:41:16 -07:00
1 parent bb32c26694
commit dc77b37494
5 files changed
+54 -60

No files matched your search

+10 -6
View File
@@ -18,8 +18,10 @@ accessible and explicit.
- Group tournament codes under their matching active Series using `seriesId`.
- Label a Series-local game as `1세트`, `2세트`, and so on; retain global
`Game 19`-style numbers only as secondary metadata.
- Derive Korean round labels from Competition round metadata and retain raw Series
codes such as `WB_FINAL` as secondary diagnostic text.
- Use the bracket's canonical visible round names from Competition round metadata:
upper round 1 is `브래킷 1R`, later upper rounds are `브래킷 상위 nR`, and
lower rounds are `브래킷 하위 nR`. Retain raw Series codes such as `WB_FINAL`
as secondary diagnostic text.
- Show pre-start and adjudicated Series without misleading `0–0` scores.
- Distinguish `부전승`, `기권승`, `판정승`, and `무승부` using the existing
outcome discriminator. Do not invent a free-form reason that is not public data.
@@ -51,6 +53,8 @@ accessible and explicit.
page ordering, and top-level team navigation.
- `apps/web/src/pages/match-team-progress-view.ts` owns pure grouping, ordering,
labels, code state, and copy-result behavior.
- `apps/web/src/components/competition/double-elimination-bracket-layout.ts`
remains the canonical source for visible bracket round names.
- `apps/web/src/components/competition/TeamTournamentCodes.tsx` owns code rows and
clipboard feedback.
- `apps/web/src/components/competition/TeamSeriesCard.tsx` owns the page-specific
@@ -80,8 +84,8 @@ high-contrast base-content color.
- Test code-to-Series association by exact `seriesId` and deterministic ordinal
ordering before adding the UI.
- Test Korean round labels, code availability/expiry state, unique copy labels,
and explicit clipboard success/failure results as pure functions.
- Test bracket-aligned round labels, code availability/expiry state, unique copy
labels, and explicit clipboard success/failure results as pure functions.
- Test every page-specific Series lifecycle/outcome branch, including played and
administrative draws, so the local summary cannot drift silently.
- Run the complete web suite, lint, and build after the focused tests pass.
@@ -117,7 +121,7 @@ high-contrast base-content color.
- Each active Series appears as a full-width next-match panel containing only its
own ordered code rows.
- Human Korean labels lead raw Series codes, and Series-local set numbers lead
- Bracket-aligned labels lead raw Series codes, and Series-local set numbers lead
global game numbers.
- Ready Series show a pending score, while adjudicated results show their result
category instead of a numeric score.
@@ -133,7 +137,7 @@ high-contrast base-content color.
## Verification Record
- Focused view-model tests: 9 passed.
- Full web suite: 87 passed without skips.
- Full web suite: 88 passed without skips.
- Scoped ESLint for all team-progress files: passed.
- Production TypeScript/Vite build: passed; only the existing large-chunk warning
remains.