Skip to content

[Frontend] — AddMatchForm: bonus/double-points multiplier + MatchList badge #946

@Olowodarey

Description

@Olowodarey

Background

src/component/creator-events/AddMatchForm.tsx (173 lines) collects only
teamA, teamB, matchTime:

src/component/creator-events/MatchList.tsx (107 lines) renders each
match's outcome badge but has no concept of a bonus multiplier:

[id]/matches/page.tsx's handleAddMatch (lines 122-142) and Match
interface (lines 22-30) also have no multiplier field.

Goal

Let creators mark a match as a "bonus" (2x or 3x points) match in
AddMatchForm, persist it through addMatch(...) (Issue 1's new
signature), and display a multiplier badge in MatchList.

Acceptance Criteria

  • AddMatchForm has a 3-way multiplier selector defaulting to 1x,
  • A newly added match with multiplier 2 or 3 shows a "⚡ Nx Points"
  • Matches with multiplier 1 show no extra badge (no visual noise for

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions