Skip to content

Frontend Duels UI (Challenge Friend, Pending/Active States) #24

@yashjagtap23

Description

@yashjagtap23

Summary

  • Build the Duels frontend flow that allows users to challenge friends, track pending duels, and view active duel states. Connect to the backend once endpoints are confirmed.

Tasks

  • Create DuelsScreen.tsx and supporting components (ChallengeCard, DuelStatusCard).
  • Display friends list for selecting opponents.
  • Show sections for "Pending Duels" and "Active Duels".
  • Add placeholder buttons and modals for challenge actions.
  • Integrate mock data until backend endpoints are live.

Acceptance Criteria

  • User can view, create, and track mock duels in the UI.
  • Transitions between pending and active states displayed properly.
  • Layout matches Figma design for duels.
  • Ready to connect with backend API once implemented.

Notes

  • Use modular components to support backend integration later.

Metadata

Metadata

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions