Skip to content

[Frontend] — ENHANCEMENT: Add Creator Event Detail Page at /creator-events/[id] #880

@Olowodarey

Description

@Olowodarey

Detailed view of a specific creator event showing all matches, participants, and allowing users to join and make predictions.

Required Features

  1. Event Header:

    • Event title and description
    • Creator address with copy button
    • Event status badge
    • Participant count (X / Max)
    • Created date
    • Invite code display (if user is creator)
  2. Tabs:

    • Matches — list all matches with:
      • Team A vs Team B
      • Match time
      • Result status (Pending, Completed)
      • Winning team (if resolved)
      • "Predict" button (if user joined and match not started)
    • Participants — list all joined users with:
      • Wallet address
      • Join date
      • Current score (correct predictions / total matches)
    • Leaderboard — show winners (users with perfect predictions):
      • Rank
      • User address
      • Score
      • Completion time
  3. Action Buttons (conditional):

    • Not Joined: "Join Event" button (requires invite code input if not in URL)
    • Joined: "Make Predictions" button
    • Creator Only: "Add Match", "Cancel Event" buttons
    • All Matches Resolved: "Verify Winners" button (anyone can call)
  4. Event Stats Card:

    • Total matches
    • Matches resolved
    • Total predictions submitted
    • Winners verified (yes/no)

Files to create:

  • frontend/src/app/(authenticated)/creator-events/[id]/page.tsx
  • frontend/src/component/creator-events/EventHeader.tsx
  • frontend/src/component/creator-events/MatchList.tsx
  • frontend/src/component/creator-events/ParticipantList.tsx
  • frontend/src/component/creator-events/EventLeaderboard.tsx

Metadata

Metadata

Assignees

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